sui_kit 1.1.2 copy "sui_kit: ^1.1.2" to clipboard
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: gRPC ObjectData owned by a ConsensusAddressOwner (consensus/party objects) now resolves to a shared-object ref keyed by its startVersion, instead of an owned ref the node rejects.

1.1.1 #

Added #

  • convertObjArg accepts gRPC ObjectData (from getObject / queryGetObject): shared objects resolve to a shared-object ref, everything else to an owned ref.

Fixed #

  • inspectTxn no longer auto-selects gas, so an unfunded sender can devInspect (read-only inspection works without SUI).

1.1.0 #

  • Bump sui_dart to ^0.8.1 and bcs_dart to ^0.2.0.
  • SuiInteractor.sendTx / dryRunTx now include the underlying fullnode error in the "all fullnodes failed" exception.

1.0.2 #

  • Bump the sui_dart dependency 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 .bcs was always null, so signTxn/signAndSendTxn/transferSui/transferCoin/moveCall/stakeSui always threw.
  • Fix SuiInteractor.selectCoins default coinType: was 0x2::SUI::SUI (wrong module case), now the canonical 0x2::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 to BigInt before pure.u64, instead of throwing a runtime type error.
  • Fix selectCoins/dryRunTx/getObjects failover logging: guard the fullNodes[clientIdx] index so it no longer throws RangeError (and abort the failover loop) when the interactor is built from SuiGrpcClientsParams with an empty fullNodes list.
  • getObjects now clamps batchSize to 1..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 TypeScript sui-kit reference: 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.
  • convertObjArg accepts CoinData, TransactionResult, and raw object references.
  • Built on top of sui_dart 0.4.0 (gRPC v2).

1.0.1 #

  • Swap bip39 for bip39_plus (pointycastle ^4 compatible). Requires sui_dart 0.4.1+. Removes the need for a pointycastle dependency override in consumers.
0
likes
150
points
329
downloads

Documentation

API reference

Publisher

verified publisherscallop.io

Weekly Downloads

A Dart toolkit for interacting with the Sui blockchain - transactions, programmable transactions, on-chain queries, and HD wallets.

Repository (GitHub)

License

Apache-2.0 (license)

Dependencies

bcs_dart, bip39_plus, collection, sui_dart

More

Packages that depend on sui_kit