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.
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.