Dart SDK for CKB.Nervos test network has not been released yet,so it is very early stage.Be careful when using this library.
To build CKB SDK, you'll need:
- Dart sdk: ">=2.2.2 <3.0.0"
final apiClient = CKBApiClient(nodeUrl: NodeUrl);
String blockHash = await apiClient.getBlockHash("1");
You can see more JSON-RPC requests from RPC Document
final ckbAddress = CKBAddress(Network.TestNet);
final address = ckbAddress.generate(PublicKey);
You can find more in here.
See CHANGELOG.md file.