Still in development and testing. Unexpected errors and loss of funds may occur. Feedback is welcome!
Clone git repository from machineeconomy/akita-government
git clone https://github.com/machineeconomy/akita-government.git
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
NAME="Akita government"
VALUE=1
Create a seed and insert it to your .env file.
enter this line in your terminal.
cat /dev/urandom |tr -dc A-Z9|head -c${1:-81}
enter this line in your terminal.
cat /dev/urandom |LC_ALL=C tr -dc 'A-Z9' | fold -w 81 | head -n 1
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
enter these lines in your terminal.
cd frontend
npm install
npm run build
cd ..
enter these lines in your terminal.
npm install
npm start