⚠️ Important: All migrations require a local chain clean. You should runoffckb cleanbefore upgrading to new breaking-change version.
- The Node engine is required at least
v20.0.0, Node version belowv20is not expected to work. - More built-in scripts added, including
ckb-js-vm,nostr-lock,pw-lock,multisig-v2andtype_idscript. - The chain information of the devnet has changed due to the No.1 changes, meaning you need to re-generate the
system-scripts.jsonfile in your project if you're upgrading from v0.3.x to v0.4.x. - The default log level in CKB devnet Node is changed to
warn,ckb-script=debugfrominfoto display the script debug output - The devnet RPC proxy sever is now default running, and proxy port is changed to
28114from9000. You need to update the devnet proxy port in your local config file if you have used v3 offckb before. - The
offckb nodecommand now accepts anetworkoption, when passing--network testnetor--network mainnet, it will start a proxy RPC for the public network instead of starting a local devnet. - The
createcommand is now focusing on creating a CKB Smart Contract project in JavaScript, instead of a full dApp project. offckb.config.tsfile is removed, and thedeploycommand now requires--targetand--outputoptions to specify the contract binary file or folder path and the output folder path.system-scriptscommand has a new option called-o, --outputto specify the output json file path for the system scripts.- The CLI build system is changed from
npm-shrinkwrap.jsontoncctoolchain. - The CLI now requires no
ckb-debuggerinstalled to runoffckb debugcommand, it will use the WASM debugger built-in.
proxy-rpcmolrepllist-hashesmy-scriptssync-scriptsinject-config
debugger: a port of the rust CKB Standalone Debugger, you can useoffckb debugger <...params>just like usingckb-debugger <...params>with no installation required.
- Rename Devnet chain name in
dev.tomlconfig fromoffckbto standardckb_dev - Rename
sync-configtosync-scripts - Rename
deployed-scriptstomy-scripts - Templates
offckb.config.tsfile are refactored with NEW structure
proxy-rpcsystem-scriptsdebugmoltransfer-allrepl