sui_kit 1.1.2
sui_kit: ^1.1.2 copied to clipboard
A Dart toolkit for interacting with the Sui blockchain - transactions, programmable transactions, on-chain queries, and HD wallets.
1.1.2 #
Fixed #
convertObjArg: gRPCObjectDataowned by aConsensusAddressOwner(consensus/party objects) now resolves to a shared-object ref keyed by itsstartVersion, instead of an owned ref the node rejects.
1.1.1 #
1.1.0 #
- Bump
sui_dartto^0.8.1andbcs_dartto^0.2.0. SuiInteractor.sendTx/dryRunTxnow include the underlying fullnode error in the "all fullnodes failed" exception.
1.0.2 #
- Bump the
sui_dartdependency to^0.5.0. - Fix
signTxn: request the transaction BCS in the simulate read mask (include: bcs: true) so the bytes to sign are actually returned. Previously.bcswas alwaysnull, sosignTxn/signAndSendTxn/transferSui/transferCoin/moveCall/stakeSuialways threw. - Fix
SuiInteractor.selectCoinsdefaultcoinType: was0x2::SUI::SUI(wrong module case), now the canonical0x2::sui::SUI. Move type names are case-sensitive, so the old default matched no coins. - Fix
convertAmounts: numeric-string amounts (e.g.'1000') are now coerced toBigIntbeforepure.u64, instead of throwing a runtime type error. - Fix
selectCoins/dryRunTx/getObjectsfailover logging: guard thefullNodes[clientIdx]index so it no longer throwsRangeError(and abort the failover loop) when the interactor is built fromSuiGrpcClientsParamswith an emptyfullNodeslist. getObjectsnow clampsbatchSizeto1..50(the gRPC per-request maximum) instead of flooring it at 50.- Add an
example/.
1.0.0 #
- Initial release.
- Transaction block builder (
SuiTxBlock) aligned with the TypeScriptsui-kitreference:moveCall,transferObjects,splitCoins,mergeCoins, programmable transactions, custom coin transfers. - Wallet / signer integration: HD wallet with multi-account derivation, Ed25519 keypair handling.
- High-level helpers for on-chain queries via
sui_dart's gRPC client. convertObjArgacceptsCoinData,TransactionResult, and raw object references.- Built on top of
sui_dart0.4.0 (gRPC v2).
1.0.1 #
- Swap
bip39forbip39_plus(pointycastle ^4 compatible). Requiressui_dart0.4.1+. Removes the need for apointycastledependency override in consumers.