ic_tools


This is a package that connects dart-code with the DFINITY-INTERNET-COMPUTER.

This package is for the Dart & Flutter, on the Web & Linux.

See lib/src/common.dart for some samples.


import 'package:ic_tools/ic_tools.dart';
import 'package:ic_tools/candid.dart';
import 'package:ic_tools/common.dart';



main() async {
    Caller caller = CallerEd25519.new_keys();
    String caller_icp_id = icp_id(caller.principal);
    IcpTokens icp_balance = await check_icp_balance(caller_icp_id);

    print(caller);
    print(caller_icp_id);
    print(icp_balance);
}

On A Linux:


On the web:

<script src="ic_tools_webfiles/rust_wasm_bls12381/rust_wasm_bls12381.js"></script>