Start a Machine

Navigate to the script location:

Use the cd command to navigate to the directory where the machine.js script is saved. (It will be inside the machine folder of the cloned directory). Repository for the provider and the machine is the same.

Bash

cd {Clone Repo Path}/machine/

Run Machine Script:

Bash

//Replace the Strings with your own values

$ node machine.js -w "WALLET_ADDRESS"  -p "PRIVATE_KEY" -m MACHINE_ID

Example:

$ node machine.js -w "0xF89860E37131c564F39862Aa42DD7c9Ed213198b"  -p "0x7f25c1f6658fd0b86d9d7a62736a7983c78ab3d0e45909947bb32dd1f1ff0778" -m 1001

Arguments:

  • -w: The provider address

  • -p: The private key

  • -m: Machine ID

Last updated