diff --git a/docs/nodes/consensus-node.mdx b/docs/nodes/consensus-node.mdx index 9412d09d43c..90f1b592a09 100644 --- a/docs/nodes/consensus-node.mdx +++ b/docs/nodes/consensus-node.mdx @@ -7,7 +7,6 @@ description: Learn how to set up a Celestia consensus node. import constants from "../constants/constants.js"; import InlineText from "@site/src/components/InlineText.js"; -import SeedsLink from "@site/src/components/SeedsLink.js"; Full consensus nodes allow you to sync blockchain history in the Celestia consensus layer. @@ -71,23 +70,28 @@ Copy the `genesis.json` file. For Mocha we are using: cp $HOME/networks/{constants.mochaChainId}/genesis.json $HOME/.celestia-app/config - - -Set seeds manually in the `$HOME/.celestia-app/config/config.toml` file: +Set seeds in the `$HOME/.celestia-app/config/config.toml` file:

-# Comma separated list of seed nodes to connect to
-seeds = "" +SEEDS=$(curl -sL https://raw.githubusercontent.com/celestiaorg/networks/master/{constants.mochaChainId}/seeds.txt | head -c -1 | tr '\n' ',')
+echo $SEEDS
+sed -i.bak -e "s/^seeds *=.*/seeds = \"$SEEDS\"/" $HOME/.celestia-app/config/config.toml
-Optionally, you can set peers from the networks repository with the following -commands: +Optionally, you can set persistent peers in your `config.toml` file. +You can get the persistent peers from the networks repository with +the following commands: + +:::danger + +Setting persistent peers is advised only if you are running a sentry node.

 PERSISTENT_PEERS=$(curl -sL https://raw.githubusercontent.com/celestiaorg/networks/master/{constants.mochaChainId}/peers.txt | head -c -1 | tr '\n' ',')
echo $PERSISTENT_PEERS
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$PERSISTENT_PEERS\"/" $HOME/.celestia-app/config/config.toml
+::: @@ -105,8 +109,6 @@ Copy the `genesis.json` file. For Arabica we are using: cp $HOME/networks/{constants.arabicaChainId}/genesis.json $HOME/.celestia-app/config - - Set seeds manually in the `$HOME/.celestia-app/config/config.toml` file:

@@ -114,14 +116,20 @@ Set seeds manually in the `$HOME/.celestia-app/config/config.toml` file:
 seeds = ""
 
-Optionally, you can set peers from the networks repository with the following -commands: +Optionally, you can set persistent peers in your `config.toml` file. +You can get the persistent peers from the networks repository with +the following commands: + +:::danger + +Setting persistent peers is advised only if you are running a sentry node.

 PERSISTENT_PEERS=$(curl -sL https://raw.githubusercontent.com/celestiaorg/networks/master/{constants.arabicaChainId}/peers.txt | head -c -1 | tr '\n' ',')
echo $PERSISTENT_PEERS
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$PERSISTENT_PEERS\"/" $HOME/.celestia-app/config/config.toml
+:::
@@ -593,6 +601,11 @@ will need to run the QGB orchestrator to be able to sign attestations. To run it, please [refer to the documentation](https://docs.celestia.org/nodes/qgb-orchestrator/#how-to-run). +#### Submit your validator information + +After starting your node, please submit your node as a seed and peer to the +[networks repository](https://github.com/celestiaorg/networks). + ## Extra resources for consensus nodes ### Optional: Reset network diff --git a/docs/nodes/instantiate-testnet.md b/docs/nodes/instantiate-testnet.md index 0ed46137747..39287665ff7 100644 --- a/docs/nodes/instantiate-testnet.md +++ b/docs/nodes/instantiate-testnet.md @@ -99,8 +99,7 @@ Run the following command: ```sh STAKING_AMOUNT=1000000000utia celestia-appd gentx $KEY_NAME $STAKING_AMOUNT --chain-id $CHAIN_ID \ - --keyring-backend test \ - --evm-address 0x966e6f22781EF6a6A82BBB4DB3df8E225DfD9488 + --keyring-backend test ``` This will create the genesis transaction for your new chain.