Tronpy

Latest version: v0.5.0

Safety actively analyzes 625891 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.5.0

Python 3.12 support, drop python 3.7 support

Use cryptographically secure generator for PrivateKeys
Upgrade dependencies
A few new methods related to stake V2 API

0.4.0

**Breaking**: Support stake V2 APIs (note: old APIs won't work anymore)
Add optional ability to derive addresses from seed
Use correct version in User-Agent
Trongrid JWT support
Separate `trigger_constant_contract` from `trigger_const_smart_contract_function` method

0.3.0

Update dependencies, remove upper version pins
Switch to native cryptography for secp256k1 curves via coincurve library, no longer use pure-python ecdsa library
Use poetry-core in pyproject.toml for lighter builds
Fix padding bytes issues
Make latest block id parsing more reliable
New `get_function_by_selector` function
Fixes for lowercase constructor type
Add `expiration` method to TransactionBuilder
Add `code_hash` to Contract constructor
Added `set_signature` method to Transaction
Add new `withdraw_rewards` method
Add event logs parser
And many more...

Internal changes:
Setup CI testing and reformat code with black, isort and flake8

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.