@felicityin/ckbox
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Ckbox

Ckbox provides convenient APIs to interact with the Nervos CKB.

  • CoinClient: Transfer the ckb. Issue and transfer the sUDT. Get the balance.
  • ContractClient: Deploy and upgrade the contract.
  • DaoClient: Depost, withdraw and unclock the DAO.

Examples

examples

Building

Requirements

Node.js Yarn node-gyp

sudo apt-get update
sudo apt install nodejs
npm install --global yarn
sudo apt install build-essential

Install

yarn

Build

yarn build

Test

yarn test

Format

yarn fmt

Installing the package

Install from the command line:

$ npm install @felicityin/ckbox@1.0.0

Install via package.json:

"@felicityin/ckbox": "1.0.0"

Readme

Keywords

Package Sidebar

Install

npm i @felicityin/ckbox

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

124 kB

Total Files

76

Last publish

Collaborators

  • felicityin