Skip to content

machineeconomy/akita-robot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

akita-robot

How to Use

Still in development and testing. Unexpected errors and loss of funds may occur. Feedback is welcome!

Usage

1. Clone repository

Clone git repository from machineeconomy/akita-robot

git clone https://github.com/machineeconomy/akita-robot.git

2. create.env

Create a .env file with your settings in the root directory.

Always start with a new unused seed!

MAX_PAYMENT_TIME is the time until created paymentes aren't checked anymore in minutes (4320 = 3 days to pay, transactions after that are ignored)

If you want to send payouts, without receiving iotas via payments first, send the iotas to the first address of the seed (index 0)

SEED='REPLACEWITHEIGHTYONETRYTESEED'
IOTANODE='https://nodes.thetangle.org:443'
FALLBACKNODE='https://node01.iotatoken.nl'
MAX_PAYMENT_TIME=4320
PROVIDER_URL='http://localhost:5001/iotapay/api'
NAME="Robot"
VALUE=3

3. Generate new seed

Create a seed and insert it to your .env file.

Linux

enter this line in your terminal.

cat /dev/urandom |tr -dc A-Z9|head -c${1:-81}

Mac

enter this line in your terminal.

cat /dev/urandom |LC_ALL=C tr -dc 'A-Z9' | fold -w 81 | head -n 1

Windows

For Windows, the best way is to use KeePass, or use one of the two online generators above.

You will want to use the password generator with the following settings:

  • Length of generated password: 81
  • Check Upper-case (A, B, C, ...)
  • Make sure all other boxes are unchecked
  • Also include the following characters: 9

4. Setup robot

5. Build the frontend

enter these lines in your terminal.

cd frontend
npm install
npm run build
cd ..

6. Run robot

enter this lines in your terminal.

npm install
npm start

About

repository for AKITA Robot IOTA payment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published