Repository navigation
# Release Notes - tronlib v0.0.3
This release focuses on significantly enhancing TRC20 token and smart contract interactions, improving the transaction building process, and overall library stability and developer experience.
✨ New Features
- TRC20 Token Support:
- Comprehensive support for TRC20 token operations. (7b2251b)
- Added decimal support for TRC20 token amounts. (cebb92c, 1903ae7)
- Implemented caching for TRC20 token methods to improve performance. (cebb92c)
- Improved handling of TRC20 contract addresses. (1903ae7)
- Added new TRC20 contract-related functions and constants to documentation. (1903ae7)
- Smart Contract Interaction:
- Initial support for generic smart contract interactions. (f2117cd)
- Client & Transaction Enhancements:
🚀 Improvements
- TRC20:
- Improved TRC20 token transfer functionality. (9908c1f)
- Smart Contracts:
- Transaction Building & Client:
- Logging:
- Replaced
fmt.Printfwithlog.Printffor more robust logging and error handling throughout the library. (d54fd6b)
- Replaced
🛠️ Refactoring & Chores
- Renamed contract trigger functions to use
EncodeInputfor clarity (e.g.,ContractTrigger->EncodeInput). (1903ae7) - Converted contract trigger calls to utilize
encode inputcalls internally. (1903ae7) - Increased default rate limit times from 4 to 5. (1903ae7)
- Internal improvements to freezing/unfreezing and delegating/tracking resources. (1903ae7)
📚 Examples & Documentation
- Added example code for interacting with TRC20 smart contracts. (a4b3b06)
- Added example code for generic smart contract interactions. (a4b3b06)
- Simplified the TRC20 send example. (9908c1f)
- Updated constants related to Tron address formatting in documentation. (1903ae7)