Welcome
Getting Started
How to Guides
Application vs Blocklet
Create Blocklet
Compose Blocklets
Develop Blocklet
User and Passport
Communicate with DID Wallet
Blocklet Storage
Using Blocklet Preferences
Build blocklet for profit [deprecated]
Bundle your blocklet
Manage Blocklet Versions
Publish your blocklet to the world
Deploy your blocklet
Read/Write blockchain in blocklet
Operation and maintenance your blocklet
Reference Guides
Conceptual Guides
Frequently Asked Questions
Setup Node.js
Why Node.js?#
Most of the components in the Blocklet toolbox are built with Node.js, so you need to install Node.js to use them.
Please ensure that the version of Node.js is v18 and above.
To find out if you have Node.js installed and check the installed version, run the following command.
node -v
Install Node.js#
Node version managers are recommended way to install Node.js because they allow you to install and switch between multiple versions of Node.js on your system, so you can test your blocklets on multiple versions of Node.js to ensure they work for users on different versions.
For MACOS or Linux users, please refer to the documentation of the following version managers for instructions on how to install Node.js:
For more available node version managers please checkout this comparison post.
For Windows users, please stay tuned well we are testing support of the blocklet toolkit on the Windows platform.