CKB.tools is an online collection of free development tools created for use on Nervos Network.
These instructions describe how to launch, run, and develop using the CKB.tools code base.
If you don't need to develop and just want to use the tools, visit the CKB.tools website.
npm i --forceNote: You will need to delete the following file due to a problem in the NPM package.
rm -f node_modules/hookrouter/dist/index.d.tsEdit the src/config.js file as needed. (No changes are required to compile and run.)
Depending on your Node.js version and OpenSSL version, you may need to export the following environmental variable:
export NODE_OPTIONS=--openssl-legacy-provider
npm run startIf you receive an error similar to error:0308010C:digital envelope routines::unsupported, then try the following instead.
npm run start-legacynpm run buildIf you receive an error similar to error:0308010C:digital envelope routines::unsupported, then try the following instead.
npm run build-legacyBuild the project, then copy the complete contents of the build directory to the document root of the web server.