master
branch of poa-network-consensus-contracts
reposokol
branch of chain-spec
repo./keys/moc
foldermaster
branch of poa-scripts-moc
repo./keys/initial_keys
foldercore
branch of poa-dapps-keys-generation
repo./keys
foldercore
branch of poa-dapps-validators
repocore
branch of poa-dapps-voting
repoThere are some options to start POA Network test setup depending on your needs:
npm i
npm run start-moc-setup
At the successful end of POA test setup start you'll see this message: ### POA test setup is configured ###
http://localhost:8545
./spec
folder./keys/moc
folder./nodes/parity-moc/moc.toml
file./submodules/poa-network-consensus-contracts/contracts.json
./submodules/poa-network-consensus-contracts/build/contracts
Note: can be started after the previous step is completed
npm run launch-dapps
For Ubuntu users: if you encounter any errors during DApps launching, try to increase max_user_watches
limit and repeat steps:
$ npm run stop-test-setup
$ echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf
$ sudo sysctl -p
$ npm run start-moc-setup
$ npm run launch-dapps
http://localhost:3000
http://localhost:3001
http://localhost:3002
Note: can be started after the previous step is completed
npm run check-emission-funds-balance
Note: can be started after the "Launch DApps" step is completed
For Ubuntu users: you should first install and use X virtual framebuffer if you want to move all graphical operations to the virtual memory without showing any screen output.
sudo apt-get -y install xvfb
export DISPLAY=:99.0
sudo start-stop-daemon --start --quiet --pidfile /var/run/xvfb.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 1024x768x24 -ac +extension GLX +render -noreset
npm run launch-ceremony-light
.keys/initial_keys
folder./keys/mining_keys
folder./keys/payout_keys
folder./keys/voting_keys
folder8550
Note: can be started after the previous step is completed
npm run set-validators-data-light
Note: can be started after the previous step is completed
npm run add-validator
Note: can be started after the previous step is completed
npm run start-new-validator-node
8553
npm run stop-test-setup
For Ubuntu users: you should also stop virtual framebuffer if you started it before.
sudo start-stop-daemon --stop --quiet --pidfile /var/run/xvfb.pid --remove-pidfile