github andelf/tronpy 0.6.0
Version 0.6.0

latest releases: 0.6.2, 0.6.1
13 months ago

Drop support for Python 3.8, add support for Python 3.13

Experimental offline transaction creation: install tronpy with offline extra, and then pass offline=True and ref_block_id to .build() method

New get_energy method added

Use ruff for linting and formatting

Switch to hatching instead of poetry for package building

Make Signature class tronweb-compatible: it can now correctly parse those signatures, and there's a method tronweb_hash on signature to return signature exactly like tronweb. Note that e.g. sign_msg etc that receive non-hash data now uses keccak256 (with the tron message header) instead of sha256 as it should be in tron. Both keccak256 and sha256 are now exported, as well as hash_message

Add getcandelegatedmaxsize

Fix infinite recursion in handling of api keys for trongrid
Port trongrid logic to async http client

Don't miss a new tronpy release

NewReleases is sending notifications on new releases.