Run Code Examples
- Clone the project by running the following command:
git clone git@github.com:iotaledger/iota.js.git
- Change directory into the project by running the following command:
cd iota.js
- Check out the
feat/stardust
branch by running the following command:
git checkout feat/stardust
- Install the packages dependencies by running:
npm install
- The Iota package examples make use of the other packages included in this repository. You can run the following commands to set up all of them:
npm run dist-neon
npm run dist-all
- Change the directory to the desired how-to. For instance, the following command will change into the How To Create a Simple Connection article:
cd packages/iota/examples/simple/
- You can now run the example by running the following command:
npm run start