Skip to content

Latest commit

 

History

History
74 lines (46 loc) · 2.1 KB

NewChain Testnet accounting nodes deploy guide.md

File metadata and controls

74 lines (46 loc) · 2.1 KB

NewChain-Nodes Testnet Accounting Nodes Deploy Guide

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

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

2. Deploy Testnet 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 testnet block height at below link

https://explorer.newtonproject.org

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

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

5. Set keystore passwoard

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/testnet/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/testnet/password.txt

6. Fill in following information and submitt issue

  • 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/testnet/bin/geth attach /data/newchain/testnet/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 testnet accounting nodes list

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