Skip to content

Latest commit

 

History

History
41 lines (24 loc) · 955 Bytes

develop.md

File metadata and controls

41 lines (24 loc) · 955 Bytes

Development

Update built-in scripts

required

update submodule inside ckb and then run

make all

Update chain config

edit the things in ckb/devnet

All the script configs are generated by ckb list-hashes so you don't need to care about it.

Update templates

edit the things in templates/v${version}

Install dependencies

Since we use pnpm as a developing package manager, people install offckb by npm would require a npm-shrinkwrap.json file.

When updating the dependencies, remember to run the following command to generate the npm-shrinkwrap.json file.

pnpm add <new-dependency>

// run the following to keep npm-shrinkwrap consistent with out pnpm-lock.json

npm shrinkwrap

Remember to run the above command when trying to publish a new version.