Greg Nazario, the founding engineer at Aptos Labs, shared the recent changes made to the Aptos Go SDK on Twitter. Here’s a summary of the updates:
New Features
- Simple Types to BCS Types Conversion
Similar to the TypeScript SDK, the Go SDK now allows you to provide strings or other inputs and automatically convert them into encoded arguments. This greatly improves the development experience for developers. - Simulation of Fee Payer and Multi-Agent Transactions
You can now simulate any transaction. This is particularly useful for building more sophisticated clients, such as Gas Stations and other servers, to avoid sending failing transactions.
Bug Fixes & Improvements
- Concurrency Issues Between Threads Fixed
Potential hash initialization bugs between threads have been addressed. - Consistent Interfaces for Clients
Some clients were missing associated function calls, which have now been added and are protected by tests. - Various Lint and Argument Fixes
Code formatting and linting have been applied, fixing many minor bugs across the codebase.
For more details:
- Changelog: aptos-go-sdk/CHANGELOG.md at main · aptos-labs/aptos-go-sdk · GitHub
- SDK Documentation: aptos package - github.com/aptos-labs/aptos-go-sdk - Go Packages
Have you tried the new updates? Drop your thoughts in the comments!