Hot answers tagged

4 votes

The generate_address() returns a unique address?

I think the generate_address() function will generate a new address everytime is called. You could also evaluate creating a unique account for each user depending on your use case.
huggre's user avatar
  • 41
3 votes

How to send non value transaction, just simple indexation payload an integer or float data to same messageid everytime using iota_client in Python?

message_id is a unique id that refers to the given message in the network. You can probably look for one of these MQTT topics to listen to instead. Maybe, messages/indexation/{index} is closest to ...
Ani's user avatar
  • 261
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

How to calculate the outputId?

An example OutputId is 0x0c78e998f5177834ecb3bae1596d5056af76e487386eecb19727465b4be86a790000: Hex-prefix TransactionId OutputIndex OutputIndex Decimal 0x ...
Thoralf's user avatar
  • 166
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

How to keep track of an NFT or a collection of NFTs on L1?

The indexer is the easiest way. Use the correct query parameters and you can search for whole collections or single nft ids /api/indexer/v1/outputs/nft/{nftId} from https://editor.swagger.io/?url=...
Antonio Nardella's user avatar
1 vote

Migrating security_level=3 addresses to Chrysalis (at given index)

I am bundling the information I have seen on Discord: Firefly only supports security level 2, so you have to send the funds to an address with security level 2 first and then do the migration with ...
Antonio Nardella's user avatar
1 vote
Accepted

How to build SigLockedDustAllowanceOutput in iota client python?

When you check the python reference instead of the specification reference (your link), you will see that message also takes dust_allowance_outputs in addition to outputs. Alternatively (this is the ...
mihi's user avatar
  • 7,309
1 vote

IOTA learning group for foundations

I like this idea and as Ani pointed out it is possible to join or even champion an X-Team. If you would like to push for this learning group, please get in touch with me.
Antonio Nardella's user avatar
1 vote

IOTA learning group for foundations

You can join one of the X-Teams. Btw, MAM is long deprecated.
Ani's user avatar
  • 261
1 vote

IOTA with Python for starters

From what I see the node was changed from a Chrysalis (production) to a Shimmer (develop) node. I added that information in parenthesis, since those are the respective branches of the iota.rs library, ...
Antonio Nardella's user avatar
1 vote
Accepted

Is it possible to use iota.rs libraries for both Shimmer and IOTA Chrysalis in the same Python app? and in a Docker container?

That is only possible by building iota.rs from source. In bindings/python/native/Cargo.toml change both names: [package] - name = "iota-client-python" + name = "iota-client-production&...
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
1 vote

iota-client library (python)

The python wheel files you are looking for are hard to perma link. Login to github.com Go here: https://github.com/iotaledger/iota.rs/actions/workflows/python_binding_publish.yml Click on the latest ...
Tsangares's user avatar
  • 808

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