2 votes
Accepted

Is there a way to sign a transaction?

This snipped shows how to sign a transaction using the JS/TS binding⁣ of the wallet.rs library. Further below the example in Rust for offline signing. /**⁣ * Sign a prepared transaction, useful for ...
Antonio Nardella's user avatar
2 votes
Accepted

How to send a single NFT with expiry unlock condition on Shimmer using wallet.rs in python?

This is the original code to send a single NFT using the send_nft() method from iota_wallet import IotaWallet # In this example we will send an nft wallet = IotaWallet('./alice-database') account = ...
Antonio Nardella's user avatar
2 votes
Accepted

How to specify a message or tag within a transaction

You can do something like: outputs = [{ "address": "rms1qqvnuxck92uwvf2hjpr0m9m0rj565efvchcy0xj9u5w8cwprqealva8g48e", "amount": "42600", }] tag = '0x'+'...
Dr.Electron's user avatar
2 votes

How to specify a message or tag within a transaction

There are several ways to do this, but please note that tag is not indexed by the core API anymore: You can write something like this: sendMicroTransaction(outputs, transactionOptions). Reference ...
Ani's user avatar
  • 261
1 vote
Accepted

iota_wallet.common.IotaWalletError while synchronizing the account

The issue is that the account.sync() is trying to get the data from all 2000 addresses. One solution in this case, since the NFTs all sit on the same address is to provide specific addresses to sync ...
Antonio Nardella's user avatar
1 vote
Accepted

Wallet.rs: ValueError: error accessing storage: IO error: lock hold by current process [...}: No locks available

In this case the code was setting up the account manger twice. wallet = IotaWallet('./alice-database', client_options, coin_type, secret_manager) It was resolved by setting up the account manager only ...
Antonio Nardella's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible