Releases: blockvisionhq/sui-go-sdk
Release list
v1.2.1
What's Changed
Bug Fixes
gRPC SimulateTransaction now works without pre-funded gas payment
Previously, calling SimulateTransaction via gRPC would fail with one of:
unexpected end of input— caused by nilGasData.PriceorGasData.Paymentproducing malformed BCS bytestransaction not found— caused by the read mask including committed-only fields (digest,signatures,checkpoint,timestamp) that the node cannot populate for simulated
transactions
New Features
SimulateTransactionOptions.DoGasSelection— set totrueto let the node automatically select a gas coin, no need to provide a gas payment objectTransaction.BuildBCSBytes(ctx)— new public method that returns raw BCS-encodedTransactionDatabytes, suitable for passing directly toSimulateTransactionOptions.Transactionor
ExecuteTransactionOptions.Transaction
Examples
- Added
SimulateTransactionexample inv2_examples/demonstrating the correct end-to-end flow - Completed
ExecuteTransactionexample ingrpc_examples/transaction_execution_service/with full PTB build, sign, and submit
v1.2.0
New Features
-
Unified API: One client interface (
sui/v2) supports both JSON-RPC and gRPC. Switch backends by changingClientOptions; application code stays the same. -
Transport support: Works with
httpconn.HttpConn(JSON-RPC) andgrpcconn.SuiGrpcClient(gRPC). -
Payload normalization: Consistent field names and type strings across backends (e.g.
typeArguments,result,transaction.bcs).
See V2 README for details and examples.
v1.1.4
🎉 gRPC Support
Supports the following gRPC services:
- LedgerService - Query ledger data including objects, transactions, checkpoints, and epochs
- NameService - Resolve Sui names and reverse lookups
- StateService - Query on-chain state including balances, owned objects, and coin information
- MovePackageService - Query Move package information, functions, and datatypes
- SubscriptionService - Subscribe to real-time updates for checkpoints and transactions
- TransactionExecutionService - Execute transactions on the Sui network
- SignatureVerificationService - Verify transaction signatures
📚 Examples
See grpc_examples for complete usage examples.
Release v1.1.3
feat: upgrade golang.org/x/crypto to v0.46.0
Release v1.1.2
Release v1.1.1
Release v1.1.0
🚀 Features
- Add NewSignerWithSecretKey function for ed25519 private key support (#63)
Release v1.0.9
🐛 Bug Fixes
- Replace github.com/tyler-smith/go-bip39 because of not found #57
Release v1.0.8
🐛 Bug Fixes
Fixed bcs decode issues #55
Release v1.0.7
✨ Features
-
Support for Programmable Transactions, enabling more complex transaction workflows
-
Support for BCS encoding/decoding
-
Support for ZkLogin signature verification.
🐛 Bug Fixes
- Fixed the example for
SuiDevInspectTransactionBlockto align with the latest API changes