flutter_libra_core 0.1.3 copy "flutter_libra_core: ^0.1.3" to clipboard
flutter_libra_core: ^0.1.3 copied to clipboard

Libra Core is a Dart library client that can be used to interact with Libra nodes.

example/main.dart

import 'package:flutter_libra_core/flutter_libra_core.dart';

void main() async {
    // Creating an Account
    LibraWallet wallet = new LibraWallet();
    LibraAccount alice = wallet.newAccount();
    String aliceAddress = alice.getAddress();
    // Minting Amount
    LibraClient client = new LibraClient();
    int amount = 1000000;
    await client.mintWithFaucetService(aliceAddress, BigInt.from(amount), needWait: false);   
}
2
likes
40
pub points
0%
popularity

Publisher

unverified uploader

Libra Core is a Dart library client that can be used to interact with Libra nodes.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

bip39, convert, ed25519_dart_base, fixnum, flutter, grpc, hex, pointycastle_base, protoc_plugin

More

Packages that depend on flutter_libra_core