celestia-appd init "node-name" --chain-id {constants.mochaChainId}
-Copy the `genesis.json` file. For mocha we are using:
+Copy the `genesis.json` file. For Mocha we are using:
cp $HOME/networks/{constants.mochaChainId}/genesis.json $HOME/.celestia-app/config
+
+
+# Comma separated list of seed nodes to connect to
+seeds = ""
+
+
+Optionally, you can set peers from the networks repository with the following
+commands:
+
+
+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
+
+
+
+celestia-appd init "node-name" --chain-id {constants.arabicaChainId}
+
+
+Copy the `genesis.json` file. For Arabica we are using:
+
+
+cp $HOME/networks/{constants.arabicaChainId}/genesis.json $HOME/.celestia-app/config
+
+
+
+# Comma separated list of seed nodes to connect to
+seeds = ""
+
+
+Optionally, you can set peers from the networks repository with the following
+commands:
+
+
+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
+
+
+
cd $HOME
rm -rf ~/.celestia-app/data
mkdir -p ~/.celestia-app/data
SNAP_NAME=$(curl -s https://snaps.qubelabs.io/celestia/ | \
- egrep -o ">{constants.mochaChainId}.*tar" | tr -d ">")
+ egrep -o ">{constants.mochaChainId}.*tar" | tr -d ">")
wget -O - https://snaps.qubelabs.io/celestia/${SNAP_NAME} | tar xf - \
- -C ~/.celestia-app/data/
+ -C ~/.celestia-app/data/
+cd $HOME
+rm -rf ~/.celestia-app/data
+mkdir -p ~/.celestia-app/data
+SNAP_NAME=$(curl -s https://snaps.qubelabs.io/celestia/ | \
+ egrep -o ">{constants.arabicaChainId}.*tar" | tr -d ">")
+wget -O - https://snaps.qubelabs.io/celestia/${SNAP_NAME} | tar xf - \
+ -C ~/.celestia-app/data/
+
celestia-appd tx staking delegate \
celestiavaloper1q3v5cugc8cdpud87u4zwy0a74uxkk6u4q4gx4p 1000000utia \
- --from=$VALIDATOR_WALLET --chain-id={constants.mochaChainId}
+ --from=$VALIDATOR_WALLET --chain-id={constants.mochaChainId} \
+ --fees=21000utia
@@ -245,7 +331,7 @@ txhash: {constants.mochaChainId}
-Keep in mind that this might change if a new testnet is deployed.
-
-
-celestia-appd init "node-name" --chain-id {constants.mochaChainId}
-
-
-Copy the `genesis.json` file. For mocha we are using:
-
-
-cp $HOME/networks/{constants.mochaChainId}/genesis.json $HOME/.celestia-app/config
-
-
-Set seeds and peers:
-
-
-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
-
-
-:::tip
-Mac users built-in `head` command does not accept negative numbers for `-c` flag.
-Solution is to install `coreutils` package and use `ghead` command from it.
-
-
-brew install coreutils
-
-
-and optionally set alias from `head` to `ghead` in shell config (`~/.bashrc`, `~/.zshrc` etc):
-
-
-alias head=ghead
-
-:::
-
-Note: You can find more peers at:
-
-
-https://github.com/celestiaorg/networks/blob/master/{constants.mochaChainId}/peers.txt
-
-
-{constants.arabicaChainId}
-Keep in mind that this might change if a new testnet is deployed.
-
-
-celestia-appd init "node-name" --chain-id {constants.arabicaChainId}
-
-
-Copy the `genesis.json` file. For mocha we are using:
-
-
-cp $HOME/networks/{constants.arabicaChainId}/genesis.json $HOME/.celestia-app/config
-
-
-Set seeds and peers:
-
-
-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
-
-
-:::tip
-Mac users built-in `head` command does not accept negative numbers for `-c` flag.
-Solution is to install `coreutils` package and use `ghead` command from it.
-
-
-brew install coreutils
-
-
-and optionally set alias from `head` to `ghead` in shell config (`~/.bashrc`, `~/.zshrc` etc):
-
-
-alias head=ghead
-
-:::
-
-Note: You can find more peers at:
-
-
-https://github.com/celestiaorg/networks/blob/master/{constants.arabicaChainId}/peers.txt
-
-
-
-cd $HOME
-rm -rf ~/.celestia-app/data
-mkdir -p ~/.celestia-app/data
-SNAP_NAME=$(curl -s https://snaps.qubelabs.io/celestia/ | \
- egrep -o ">{constants.mochaChainId}.*tar" | tr -d ">")
-wget -O - https://snaps.qubelabs.io/celestia/${SNAP_NAME} | tar xf - \
- -C ~/.celestia-app/data/
-
-
-
-cd $HOME
-rm -rf ~/.celestia-app/data
-mkdir -p ~/.celestia-app/data
-SNAP_NAME=$(curl -s https://snaps.qubelabs.io/celestia/ | \
- egrep -o ">{constants.arabicaChainId}.*tar" | tr -d ">")
-wget -O - https://snaps.qubelabs.io/celestia/${SNAP_NAME} | tar xf - \
- -C ~/.celestia-app/data/
-
-
-- Note: You can find more peers - {" "} - here - . -
-); - -export default PeersLink; \ No newline at end of file diff --git a/src/components/SeedsLink.js b/src/components/SeedsLink.js new file mode 100644 index 00000000000..f2a757ee4f0 --- /dev/null +++ b/src/components/SeedsLink.js @@ -0,0 +1,12 @@ +import React from 'react'; + +const SeedsLink = ({ chainId }) => ( ++ Find a seed from{" "} + + the list + and pick one. +
+); + +export default SeedsLink; \ No newline at end of file diff --git a/src/pages/arabica-9.mdx b/src/pages/arabica-9.mdx index d7826510e73..a14d1aa6ae8 100644 --- a/src/pages/arabica-9.mdx +++ b/src/pages/arabica-9.mdx @@ -64,7 +64,7 @@ Below is a list of RPC endpoints you can use to connect to arabica-9 Devnet: These RPC endpoints do not allow you to download full blocks from them. We advise that if you are running a bridge node, that you also -run a local [full consensus node](../nodes/full-consensus-node) in order to download full blocks from +run a local [full consensus node](../nodes/consensus-node) in order to download full blocks from it. * `rpc-arabica-9.consensus.celestia-arabica.com`