Skip to content

Latest commit

 

History

History
66 lines (41 loc) · 1.25 KB

multi-node.md

File metadata and controls

66 lines (41 loc) · 1.25 KB

Setting Up Multi-Node Ethermint Network

On Computer 1 (Seed Node):

Get Node ID and Chain ID

  1. Run the following command to get the Node ID:

    aircosmicd tendermint show-node-id
  2. Locate genesis.json at ~/.aircosmicd/config/genesis.json and find the chain_id:

    {
      "chain_id": "your_chain_id_here",
      ...
    }

On Computer 2 (New Node):

Initialize Node with Chain ID

  1. Initialize the new node using the chain_id from the seed node's genesis.json:

    aircosmicd init Your-Node-Name-Here --chain-id=your_chain_id_here

Copy Genesis File

  1. Transfer the genesis.json file from Computer 1 to Computer 2:

    scp username@computer_1_ip:~/.aircosmicd/config/genesis.json ~/.aircosmicd/config/genesis.json

Update Configuration

  1. Edit ~/.aircosmicd/config/config.toml on Computer 2 to set persistent_peers:

    persistent_peers = "node_id@computer_1_ip:26656"

Start Node

  1. Start the new node:

    aircosmicd start

Validation

  • Use aircosmicd status to verify if the new node is syncing correctly with the seed node.

Feel free to ask further questions or reach out for more details.