Skip to content

Instantly share code, notes, and snippets.

@giansalex
Last active August 23, 2021 00:40
Show Gist options
  • Save giansalex/c699c144a9180dbe0e6397196e892a8a to your computer and use it in GitHub Desktop.
Save giansalex/c699c144a9180dbe0e6397196e892a8a to your computer and use it in GitHub Desktop.
Join to JUNO chain testnet (lucina)

Join to Juno testnet

Initialize junod

junod init [moniker] --chain-id lucina

Configure junod

  • Download and replace the lucina Testnet genesis.json by:
curl https://raw.githubusercontent.com/CosmosContracts/testnets/main/lucina/genesis.json > ~/.juno/config/genesis.json
  • For network configuration, in ~/.juno/config/config.toml, please modify the configurations of persistent_peers by:
sed -i.bak -E 's#^(persistent_peers[[:space:]]+=[[:space:]]+).*$#\1"[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656"#' ~/.juno/config/config.toml

Run everything

Once the junod has been configured, we are ready to start the node and sync the blockchain data:

junod start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment