@crichain/sdk
v0.0.2
Published
CRI Chain JavaScript API & SDK
Downloads
1
Readme
@crichain/sdk
Install
$ npm install @crichain/sdk
Super simple to use
Setting up the config
const brew=require('@crichain/sdk');
chain.Config.init({
// baseUrl: "http://test.open-api.crichain.cn",
baseUrl: "http://localhost:3001",
contract: {
path: "../../contracts/abi/NFT_A.json",
code: "NFT_A" }
});