Questions tagged [python]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
6 views

iota_wallet.common.IotaWalletError while synchronizing the account

In my code I am synchronizing an account with 2000 addresses to get the latest state. For this part of the code I am trying to get the amount of NFTs in the first address def get_available_nfts(): ...
Antonio Nardella's user avatar
1 vote
1 answer
17 views

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

What is the correct way to keep track of NFTs on the Shimmer base layer? Once NFT's are taken off a marketplace like Soonaverse, what the best way to track these?
Antonio Nardella's user avatar
1 vote
1 answer
14 views

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

I was trying to send a single NFT with an expiry unlock condition using the wallet.rs library for Shimmer. I have successfully created an account and funded it with the required SMR tokens and minted ...
Antonio Nardella's user avatar
1 vote
2 answers
13 views

IOTA learning group for foundations

is anybody interested in forming an online learning group for doing some basic examples in how to use IOTA with Python? I am thinking of something along the lines: post data transaction to a ...
nhenseler 's user avatar
1 vote
2 answers
24 views

IOTA with Python for starters

I am trying to run a few simple Python examples and then move to more complex stuff. As a first step I tried to connect to a Node and get info. Environment: linux, python 3.9, ota_client_python-0.2....
nhenseler 's user avatar
1 vote
1 answer
22 views

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

I am sending integer and float data to IOTA ledger at Chrysalis Devnet using iota_client Python library. Each time I send new subset of data or want to update the same data, client = iota_client....
K.Baig's user avatar
  • 41
3 votes
1 answer
52 views

OverflowError: out of range integral type conversion attempted in iota_client Python library

I am trying to send a list data to IOTA Ledger as follow client = iota_client.Client() message_temperature = client.message( index="Pasteur1_Tempdata", data=temp_list ) where my temp_list is ...
K.Baig's user avatar
  • 41
1 vote
1 answer
20 views

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

For my application there is the requirement to run iota.rs for Shimmer and IOTA Chrysalis. How is that possible? Bonus question: how can I do that in a docker container?
Antonio Nardella's user avatar
1 vote
1 answer
11 views

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

Sending native tokens SMR with Shimmer's wallet.rs in existing Python output the following error: ValueError: error accessing storage: IO error: lock hold by current process, acquire time 1675876083 ...
Antonio Nardella's user avatar
2 votes
1 answer
77 views

iota-client library (python)

I am working on iota-client library ( downloaded lib from https://pypi.org/project/iota-client/#files) on my ubuntu 20.04 laptop and all go well. However when I try to install the iota-client on ...
ajebbar's user avatar
  • 21
1 vote
0 answers
27 views

IOTA Client Library (Python), how to best wait for a message

Using the Client Library (Python), what is the best way to wait for a message (of a certain index), then execute some code based on the message received? Thanks & regards
cucub's user avatar
  • 11
1 vote
0 answers
17 views

Wallet.rs Python binding - API concurrent requests

I am having some issues while managing wallet.rs python binding with an API. Is possible to manage the wallet with concurrent requests for several users at the same time? I noticed this error when ...
Andre Garcia's user avatar
2 votes
0 answers
47 views

How to get the bundle hash or tail transaction hash by using the prepare_transfer() and send_trytes methods?

I am sending data to my hornet private tangle in Python. I wanted to do separate api calls to prepare the transaction and publish the transaction. So, I used api.prepare_transfer() and api.send_trytes(...
Pranav's user avatar
  • 25
1 vote
2 answers
64 views

The generate_address() returns a unique address?

I was wondering if it's possible in my app where i have registered users, to provide a new wallet address for them to transfer funds while making sure that address is unique to the user i gave the ...
Andre Garcia's user avatar
2 votes
1 answer
34 views

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

A couple of years ago I used the Iota Python SDK in order to generate some addresses. api = Iota(uri, seed) api_response = api.get_new_addresses(index=index, count=30, security_level=3) From there I ...
Daniel F's user avatar
  • 921
1 vote
1 answer
63 views

How to build SigLockedDustAllowanceOutput in iota client python?

I read the doc and was able to send transaction by message(). But I couldn't find how to add output as SigLockedDustAllowanceOutput. It seems the default is SigLockedSingleOutput. The following the ...
leftc's user avatar
  • 13
0 votes
0 answers
24 views

This operation cannot be executed: The subtangle has not been updated yet

When I try to send the hello message to tangle, it is returning this error message. I have 2 neighbour nodes and POW enabled in the nodes.
KISHPDLK's user avatar
0 votes
0 answers
24 views

Accessing JSON message from IRI node API using Python 3

I am using one command tangle. The tangle is running on Ubuntu machine. From the list of APIs given for IRI node, I'm trying to broadcast a transaction. For this, the first step is to get ...
degr8sid's user avatar
0 votes
0 answers
52 views

Connection to private node (one command tangle) refused

I have created a one command tangle from this link: https://docs.iota.org/docs/utils/0.1/community/one-command-tangle/overview And using API given here: https://docs.iota.org/docs/node-software/0.1/...
degr8sid's user avatar