Skip to content

coschain/cosdart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cosdart

Contentos blockchain SDK for Dart.

This package is still under development.

Usage

Connect to Contentos main net and query the chain.

// create a client that talks with main net.
final client = CosChainClient.of(Network.main);
// output current global information of the block chain.
print(await client.getChainState());
// output account information of 'initminer'.
print(await client.getAccountByName('initminer'));