iota.py
iota.py copied to clipboard
PyOTA: The IOTA Python API Library
Implement an adapter wrapper that, given a collection of `AdapterSpec` objects will route each API request in a round-robin fashion. If a connection failure occurs (e.g., timeout or connection refused)...
In very rare cases I am getting iota.adapter.BadApiResponse: 400 response from node: inconsistent tips pair selected when using send_transfer(). It is not something that is in my control, the only...
Add support for creating and participating in [Flash Channels](https://blog.iota.org/instant-feeless-flash-channels-88572d9a4385) Refer to the [Javascript library](https://github.com/iotaledger/iota.flash.js) for requirements and reference implementation.
Implement support for Masked Authenticated Messages (refer to https://github.com/iotaledger/mam.client.js/ for a reference implementation).
On the IRI, there is a (configurable) size limit for certain requests (https://github.com/iotaledger/iri/blob/v1.4.1.6/src/main/java/com/iota/iri/service/API.java#L111). This can cause certain requests to fail if the application tries to call e.g., `get_balances` with too...
Once #62 is finished and PyOTA v2.1 is released, remove the following deprecated symbols: - `AsciiTrytesCodec.compat_name` - `TryteString.as_bytes` - `TryteString.as_string` - `TryteString.from_string`
Expected result (or similar): ``` >>> iota.TryteString(b'ABABZZDD99').as_bytes() (30, [55,178,248,107,12,0]) ``` Actual result: ``` >>> iota.TryteString(b'ABABZZDD99').as_bytes() Traceback (most recent call last): File "iota.lib.py/iota/codecs.py", line 147, in decode + (self.index[second] * len(self.index))...
At the moment, when one calls an API incorrectly and an exception is raised, it usually ends with something like this: ```python ValueError: Request failed validation ({'transaction': ['wrong_type']}) (`exc.context["filter_errors"]` contains...
Maybe we can add metadata field in `iota.Transaction` Example of transaction metadata field name: ```python return { 'address': address, 'bundle_hash': bundle, 'trunk_transaction_hash': trunk, 'branch_transaction_hash': branch, 'legacy_tag': legacy_tag, 'value': value, 'current_index':...
In my test, pypy3 will improve the hash function performance about 2x. The main problem is `pysha3` currently can't built on `pypy3`, but changing to use `pycryptodome` can support on...