Add a Machine

Navigate to the script location:

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

Bash

cd {Clone Repo Path}/add_machine/

Run AddMachine Script:

Bash

//Replace the Strings with your own values

$ node add_machine.js -w "WALLET_ADDRESS"  -p "PRIVATE_KEY" -i "IP_ADDRESS"

Example:

$ node add_machine.js -w "0xF89860E37131c564F39862Aa42DD7c9Ed213198b"  -p "0x7f25c1f6658fd0b86d9d7a62736a7983c78ab3d0e45909947bb32dd1f1ff0778" -i "139.84.142.30"

Arguments:

  • -w: The provider address

  • -p: The private key

  • -i: IP Address

Last updated