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.

Toolkit for interacting with SUI network #

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

Features #

  • ✅ Transfer SUI, Custom Coin and objects.
  • ✅ Move call
  • ✅ Programmable transaction
  • ✅ Query on-chain data
  • ✅ HD wallet multi-accounts

Install #

dependencies:
  sui_kit: ^1.0.2

Usage #

import 'package:sui_kit/sui_kit.dart';

Future<void> main() async {
  final suiKit = SuiKit(
    SuiKitParams(
      mnemonics: '<your mnemonic phrase>',
      networkType: NetworkType.mainnet,
    ),
  );

  print(suiKit.currentAddress);
  print(await suiKit.getBalance());

  await suiKit.transferSui('0x<recipient>', BigInt.from(1000000));
}

See example/example.dart for a runnable sample.

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