Skip to content

Instantly share code, notes, and snippets.

@giansalex
Last active August 23, 2021 00:40
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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"1c667727dec684af1d985072b11652ca47dd2ff0@172.16.2.61:26656,2e2628319f50a61e979cb1a86234351f93aff62c@172.31.44.248:26656,3a46840ad6ef9f014fb8157409eef6808806c861@74.207.254.130:26656,83e15c0440bc9a2e74c7deb28f2c7a1b2c4142e9@172.26.10.55:26656,ec730773944fbdc6a8c4918984f571aa57c975a3@192.168.1.199:26656,ed292d66c239f3b86f19cbb1d7c6c125464b87d0@66.42.91.67:26656,ff68dc9f1808d9d497a769719cecd2785e093776@207.244.245.6:26656,6ec2b1b9f0c279875de1b493278e1c54d2de98f5@104.236.76.128:26656,74667752912bb51325492682ab97bbff8edb7101@165.232.134.27: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