Skip to content

zk-steve/offckb

Repository files navigation

OffCKB

ckb development environment for professionals

Install

git clone https://github.com/RetricSu/offckb.git
cd offckb && alias offckb='yarn start'

eventually you will do simple

npm install -g offckb // not yet, todo

Usage

offckb node // start the devnet of CKB 
offckb init // init a typescript boilerplate with lumos to get started with to build CKB DAPP,think 'hardhat init'
offckb list-hashes // list scripts hashes, equals `ckb list-hashes`
offckb accounts // list 20 accounts info with prefund CKB tokens

Built-in scripts

Accounts

offckb comes with 20 accounts, each account is funded with 42_000_000_00000000 capacity in the genesis block.

all the private keys are recorded in the account/keys file. detail informations about each account are recorded in the account/account.json file.

Development

update built-in scripts:

update submodule inside docker and then run

make all

About

CKB local development network for your first try.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 76.1%
  • Makefile 9.5%
  • Rust 7.0%
  • JavaScript 5.8%
  • Shell 1.2%
  • CSS 0.4%