ic_tools 1.1.1 copy "ic_tools: ^1.1.1" to clipboard
ic_tools: ^1.1.1 copied to clipboard

ic_tools in the dart-language.

ic_tools #


This is a package for the connection of the 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);
    double icp_balance = await check_icp_balance(caller_icp_id);

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

runs with the sound-null-safety.


On the Linux:


On the web:

<script src="ic_tools_webfiles/unpkg_bignumber.js"></script>  
<script src="ic_tools_webfiles/cbor-web.js"></script>  
<script src="ic_tools_webfiles/rust_wasm_bls12381/rust_wasm_bls12381.js"></script>   

2
likes
0
pub points
26%
popularity

Publisher

unverified uploader

ic_tools in the dart-language.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

archive, base32, cbor, crypto, ed25519_edwards, ffi, http, js, tuple, typed_data

More

Packages that depend on ic_tools