Skip to content

Latest commit

 

History

History
73 lines (46 loc) · 2.18 KB

NewChain Mainnet accounting nodes deploy guide.md

File metadata and controls

73 lines (46 loc) · 2.18 KB

NewChain-Nodes Mainnet accounting nodes deploy guide

1. Purchase Elastic Compute Service(ECS) and you may refer to following link

https://aws.amazon.com/ec2/

2. Deploy Mainnet as per following instructions to launch block synchronizing

https://github.com/newtonproject/newchain-deploy/blob/master/README-en.md

3. Check the progress of block synchronizing

3.1 Execute following command to check the synchronized block height

sudo supervisorctl tail -f newchain stderr

3.2 Make sure block synchronization is completed and same to the latest mainnet block height at below link

https://explorer.newtonproject.org

4. Execute following command after synchronizing to create minner address and keystore

cd /data/newchain/mainnet/ && curl -L https://release.cloud.diynova.com/newton/newchain-deploy/mainnet/newchain-mine.sh -o newchain-mine.sh && chmod +x newchain-mine.sh && ./newchain-mine.sh

5. Set keystore password

Set keystore password twice and keep keystore, password and minner address. The password shall not be void

  • backup keystore

run follwing codes to get keystore

cat /data/newchain/mainnet/nodedata/keystore/*

keystore includes the brace and content in the space, it shall be confidential

  • back up keystore password

run follwing codes to get keystore password

cat /data/newchain/mainnet/password.txt

6. Fill in following information and submit the issue with it

  • Node name:
  • Minner address:
  • RPC Url/RPC Url:
  • Node operator name:
  • Contacts such as email, telegram account:
  • NewPay or NewMask Mainnet NEW address:

7. Copy minner address and replace 000 in following command

/data/newchain/mainnet/bin/geth attach /data/newchain/mainnet/nodedata/geth.ipc --exec 'clique.propose("000", true)'

8. Send above command containing your minner address to the social group for NewChain nodes

9. Wait for the executing code and approval from other nodes operators

10. Check the accounting nodes list

/data/newchain/mainnet/bin/geth attach /data/newchain/mainnet/nodedata/geth.ipc --exec 'clique.getSigners()'