ckb_sdk 0.11.0 copy "ckb_sdk: ^0.11.0" to clipboard
ckb_sdk: ^0.11.0 copied to clipboard

outdated

Dart SDK for CKB.Nervos test network has not been released yet,so it is very early stage.Be careful when using this library.

CKB SDK Dart #

FOSSA Status pub package

Dart SDK for CKB.Nervos test network has not been released yet,so it is very early stage.Be careful when using this library.

Prerequisites #

To build CKB SDK, you'll need:

  • Dart sdk: ">=2.1.0 <3.0.0"

Usage #

JSON-RPC #

final apiClient = CKBApiClient(nodeUrl: NodeUrl);
String blockHash = await apiClient.getBlockHash("1");

You can see more JSON-RPC requests from RPC Document

Address #

 final ckbAddress = CKBAddress(Network.TestNet);
 final address = ckbAddress.generate(PublicKey);

You can find more in here.

api_client_example

address_example

test

License #

FOSSA Status

Changelog #

See CHANGELOG.md file.

0
likes
0
pub points
0%
popularity

Publisher

unverified uploader

Dart SDK for CKB.Nervos test network has not been released yet,so it is very early stage.Be careful when using this library.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

bip_bech32, convert, http, pointycastle

More

Packages that depend on ckb_sdk