- Get the source code:
git clone https://github.com/TedNIVAN/algorand-iot-node.git
cd algorand-iot-node
npm i
- Rename .env_sample to .env then set the variables:
SERIAL_DEVICE=/dev/cu.DSDTECHHC-05-DevB
SERIAL_SPEED=9600
NODE="https://testnet-algorand.api.purestake.io/ps1"
APIKEY=""
MN=""
- Launch the Iot node:
node app.js