Adding Network Peers
With your genesis node now up and running, it’s time to add peers, or other nodes, to your network. Be advised to add the correct number of peers depending on how your genesis node is configured:
- Testnet - no additional peers required
- Devnet - 5 additional peers
- Mainnet - 20 additional peers
The process to add peers to your bridgechain network is just like adding a node to the ARK Public Network. For each peer server, perform the following:
GITHUB_USERNAMEwith your or your project’s GitHub username execute:
bash <(curl -s https://raw.githubusercontent.com/GITHUB_USERNAME/core/chore/bridgechain-changes/install.sh)
- Wait as the procedure runs.
- You will be prompted to select mainnet, devnet, or testnet. Choose the same net as the genesis node you set up for the given network.
- Confirm with
- You will be prompted to declare database credentials
database name. These are for internal server use and can be anything, including something like
- The process will complete.
- To start relay process execute (replacing
bridgechainat the start with yours):
- To observe logs type:
You will see the syncronization process occur and the relay should eventually catch up and start receiving new blocks. 9. Repeat this procedure for each peer.