KonsorTech
  • Mainnet
    • 8ball
      • public_endpoint
      • State Sync
      • validator
    • Acre
      • public_endpoint
      • Snapshots
      • State Sync
      • validator
    • Arkhadian
      • public_endpoint
      • Snapshot
      • State Sync
      • validator
    • Atomone
      • public_endpoint
      • Snapshot
      • State Sync
      • validator
    • Aura
      • public_endpoint
      • Daily Snapshot (Every 12 Hours)
      • State Sync
      • validator
      • Aura Decentralization Maps
    • Bitcanna
      • Node Geographical Locations
      • public_endpoint
      • Daily Snapshot (Every 6 Hours)
      • State Sync
      • validator
      • Bitcanna Decentralization Maps
      • Upgrade
    • Blockx
      • Custom Explorers
      • public_endpoint
      • Snapshot
      • State Sync
      • validator
    • Bluzelle
      • public_endpoint
      • Snapshot
      • State Sync
    • Composable
      • validator
    • Crossfi
      • publilc_endpoint
      • Snapshot
      • State Sync
      • validator
    • Decentr
      • public_endpoint
      • State Sync
      • validator
    • Echelon
      • public_endpoint
      • State Sync
      • validator
    • Empower
      • public_endpoint
      • State Sync
      • validator
    • Entangle
      • public_endpoint
      • Snapshot
      • Statesync
      • validator
    • Gitopia
      • public_endpoint
      • Daily Snapshot (Every 6 Hours)
      • State Sync
      • validator
    • Gravity-Bridge
    • Haqq
      • Custom Explorers
      • Public Endpoint
      • Snapshot
      • State Sync
      • validator
    • Humans
      • Custom Explorers
      • public_endpoint
      • Snapshot
      • State Sync
      • validator
    • Irisnet
      • public_endpoint
      • Daily Snapshot
      • Statesync
      • validator
    • KYVE
      • public_endpoint
      • State Sync
      • validator
    • Lambda
      • public_endpoint
      • State Sync
      • validator
    • LumenX
      • public_endpoint
      • Daily Snapshot
      • State Sync
      • validator
    • How to Run Massa Node
    • Mises
      • public_endpoint
      • State Sync
      • validator
    • Mun
      • public_endpoint
      • Daily Snapshot (Every 12 Hours)
      • Statesync
      • validator
    • NEAR
      • How to update near mainnet node
    • Neutaro
      • public_endpoint
      • Snapshot
      • State Sync
      • validator
    • Nibiru
      • public_endpoint
      • State Sync
      • validator
    • Nolus
      • public_endpoint
      • Snapshot Every 6 Hourse
      • State Sync
      • validator
    • Odin-Freya
      • public_endpoint
      • State Sync
      • validator
    • Orai
      • Custom Explorers
      • Public Endpoint
      • Snapshot
      • State Sync
      • Update to ASA-2024-007 security patch For Non Docker Users and Non Cosmovisor
      • validator
    • Planq
      • public_endpoint
      • Daily Snapshot
      • State Sync
      • validator
      • Upgrade
        • v1.0.3
    • Pointnetwork
      • public_endpoint
      • Snapshot
      • State Sync
      • validator
    • Quicksilver
      • Custom Explorer
      • public_endpoint
      • Snapshot
      • State Sync
      • validator
    • Realio
      • public_endpoint
      • Daily Snapshot (Every 12 Hours)
      • State Sync
      • validator
    • Seda
      • Public Endpoints
      • Snapshot
      • State Sync
      • validator
    • Selfchain
      • Public Endpoints
      • Snapshot
      • State Sync
      • validator
    • Sge
      • Public Endpoint
      • Snapshot
      • Statesync
      • validator
    • Terp
      • public_endpoint
      • State Sync
      • validator
    • Umee
      • State Sync
    • Uptick
      • Public Endpoint
      • Daily Snapshot (Every 12 Hours)
      • State Sync
      • validator
      • Uptick Decentralization Maps
    • Vidulum
      • public_endpoint
      • State Sync
      • validator
  • Testnet
    • 0g
      • Public Endpoints
      • Snapshot
      • State Sync
      • validator
    • Airchains
      • Public Endpoints
      • Snapshot
      • State Sync
      • validator
    • Andromeda
      • public_endpoint
      • State Sync
      • validator
    • Arkeo
      • validator
    • Artela
      • public_endpoint
      • Snapshot
      • State Sync
      • validator
    • Atomone
      • public_endpoint
      • Snapshot
      • State Sync
      • validator
    • Aura
      • public_endpoint
      • State Sync
      • validator
    • Bitcanna
      • public_endpoint
      • Daily Snapshot (Every 6 Hours)
      • State Sync
      • validator
      • upgrade
    • Blockx
      • Custom Explorers
      • public_endpoint
      • State Sync
      • validator
    • Bonus-block
      • public_endpoint
      • State Sync
      • validator
    • Celestia
      • Usefull CLI guide for celestia light node
    • Coreum
      • public_endpoint
      • State Sync
    • Crossfi
      • public_endpoint
      • Snapshot
      • State Sync
      • validator
    • Defund
      • public_endpoint
      • State Sync
      • validator
    • Empeiria
      • Public Endpoints
      • Snapshot
      • State Sync
      • validator
    • Empower
      • public_endpoint
      • State Sync
      • validator
    • Entangle
      • public_endpoint
      • Snapshot
      • validator
    • Gitopia
      • public_endpoint
      • State Sync
      • validator
    • Haqq-network
      • public_endpoint
      • State Sync
      • validator
    • Hedge
      • public_endpoint
      • Snapshot
      • State Sync
      • validator
    • Humans
      • public_endpoint
      • Snapshot
      • State Sync
      • validator
      • Friction-Testnet
        • validator
        • Task
          • Mission-2
            • Restart
              • Restart 1 - Sun May 14 2023 5:03PM UTC
              • Restart 2 - Sun May 14 2023 5:43PM UTC
              • Restart 3 - Sun May 14 2023 6:52PM UTC
    • Hypersign
      • public_endpoint
      • Snapshot
      • State Sync
      • validator
    • Initia
      • Public Endpoints
      • Snapshot
      • State Sync
      • validator
    • MUN
      • public_endpoint
      • Snapshot
      • State Sync
      • validator
    • Mande
      • public_endpoint
      • State Sync
      • Introducing Mande Network’s Incentivized Testnet-2
    • Mantra
      • Custom Explorers
      • Public Endpoints
      • Snapshot
      • State Sync
      • validator
      • Mantra Testnet Decentralization Maps
    • Mars
      • public_endpoint
      • State Sync
      • validator
    • Namada
      • CLI for Namada
      • pre-genesis
      • public_enpoint
      • Snapshot
      • Upgrade Namada
    • Neutron
      • Tendermint_KMS
    • Nibiru
      • public_endpoint
      • State Sync
      • validator
    • Nolus
      • public_endpoint
      • Snapshot
      • State Sync
      • validator
      • Upgrade
    • Noria
      • public_endpoint
      • validator
    • Worker Installation
    • Ollo
      • public_endpoint
      • State Sync
    • Pryzm
      • Custom Explorer
      • How To Install & Run Pryzm Pricefeeder
      • Public Endpoint
      • Snapshot
      • State Sync
      • validator
    • Quicksilver
      • Custom Explorer
      • Public Endpoint
      • State Sync
      • validator
    • Realio
      • public_endpoint
      • State Sync
      • validator
    • Selfchain
      • Custom Explorers
      • public_endpoint
      • Snapshot
      • State Sync
      • validator
    • Sge
      • Public Endpoint
      • Statesync
      • validator
    • Side
      • public_endpoint
      • Snapshots
      • State Sync
      • validator
    • Swisstronik
      • public_endpoint
      • Snapshot
      • State Sync
      • validator
    • Symphony
      • Public Endpoints
      • Snapshot
      • State Sync
      • validator
    • Terra-goa
      • upgrade
    • TimpiTN
      • public_endpoint
      • validator
    • Union
      • public_endpoint
      • Snapshot
      • State Sync
      • validator
    • Uptick
      • public_endpoint
      • State Sync
      • validator
      • Automatic upgrade
    • Warden
      • public_endpoint
      • State Sync
      • validator
    • XRPLEVM
      • Public Endpoints
      • Snapshot
      • State Sync
      • validator
    • impact-protocol
    • q-blockchain
    • sui-guide
      • docker
    • Composable
      • Testnet-2
        • validator
      • Testnet-3
        • validator
Powered by GitBook
On this page
  • Neutron Testnet manual guide
  • WebSite
  • EXPLORER
  • Setup Server on GOOGLE CLOUD
  • 1) Manual installation
  • GO 1.19
  • Build 10.11.22
  • Create/recover wallet
  • Download Genesis
  • Set up the minimum gas price and Peers/Seeds/Filter peers/MaxPeers
  • Download addrbook
  • Create a service file
  • StateSync
  • Start
  • Delete node
  1. Testnet

Neutron

PreviousUpgrade NamadaNextTendermint_KMS

Last updated 2 years ago

Neutron Testnet manual guide

neutron

  • Minimum hardware requirements:

Node Type
CPU
RAM
Storage

Testnet

4

8GB

150GB

1) Manual installation

Preparing the server

sudo apt update && sudo apt upgrade -y
sudo apt install curl tar wget clang pkg-config libssl-dev jq build-essential bsdmainutils git make ncdu gcc git jq chrony liblz4-tool -y

GO 1.19

ver="1.19" && \
wget "https://golang.org/dl/go$ver.linux-amd64.tar.gz" && \
sudo rm -rf /usr/local/go && \
sudo tar -C /usr/local -xzf "go$ver.linux-amd64.tar.gz" && \
rm "go$ver.linux-amd64.tar.gz" && \
echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> $HOME/.bash_profile && \
source $HOME/.bash_profile && \
go version

Build 10.11.22

git clone -b v0.1.0 https://github.com/neutron-org/neutron.git
cd neutron
make install

neutrond version --head

  • version: 0.1.0

  • commit: a9e8ba5ebb9230bec97a4f2826d75a4e0e6130d9

neutrond init $NODENAME --chain-id quark-1

Create/recover wallet

neutrond keys add <walletname>
              or
neutrond keys add <walletname> --recover

Download Genesis

curl -s https://raw.githubusercontent.com/neutron-org/testnets/main/quark/genesis.json > ~/.neutrond/config/genesis.json

sha256sum $HOME/.neutrond/config/genesis.json

  • 357c4d33fad26c001d086c0705793768ef32c884a6ba4aa73237ab03dd0cc2b4

Set up the minimum gas price and Peers/Seeds/Filter peers/MaxPeers

sed -i -e "s/^minimum-gas-prices *=.*/minimum-gas-prices = \"0untrn\"/" $HOME/.neutrond/config/app.toml
sed -i -e "s/^filter_peers *=.*/filter_peers = \"true\"/" $HOME/.neutrond/config/config.toml
external_address=$(wget -qO- eth0.me) 
sed -i.bak -e "s/^external_address *=.*/external_address = \"$external_address:26656\"/" $HOME/.neutrond/config/config.toml
peers="fcde59cbba742b86de260730d54daa60467c91a5@23.109.158.180:26656,5bdc67a5d5219aeda3c743e04fdcd72dcb150ba3@65.109.31.114:2480,3e9656706c94ae8b11596e53656c80cf092abe5d@65.21.250.197:46656,9cb73281f6774e42176905e548c134fc45bbe579@162.55.134.54:26656,27b07238cf2ea76acabd5d84d396d447d72aa01b@65.109.54.15:51656,f10c2cb08f82225a7ef2367709e8ac427d61d1b5@57.128.144.247:26656,20b4f9207cdc9d0310399f848f057621f7251846@222.106.187.13:40006,5019864f233cee00f3a6974d9ccaac65caa83807@162.19.31.150:55256,2144ce0e9e08b2a30c132fbde52101b753df788d@194.163.168.99:26656,b37326e3acd60d4e0ea2e3223d00633605fb4f79@nebula.p2p.org:26656"
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" $HOME/.neutrond/config/config.toml
seeds="e2c07e8e6e808fb36cca0fc580e31216772841df@seed-1.quark.ntrn.info:26656,c89b8316f006075ad6ae37349220dd56796b92fa@tenderseed.ccvalidators.com:29001"
sed -i.bak -e "s/^seeds =.*/seeds = \"$seeds\"/" $HOME/.neutrond/config/config.toml
sed -i -e "s/^timeout_commit *=.*/timeout_commit = \"2s\"/" $HOME/.neutrond/config/config.toml
sed -i 's/max_num_inbound_peers =.*/max_num_inbound_peers = 100/g' $HOME/.neutrond/config/config.toml
sed -i 's/max_num_outbound_peers =.*/max_num_outbound_peers = 100/g' $HOME/.neutrond/config/config.toml

Pruning (optional)

pruning="custom" && \
pruning_keep_recent="100" && \
pruning_keep_every="0" && \
pruning_interval="10" && \
sed -i -e "s/^pruning *=.*/pruning = \"$pruning\"/" ~/.neutrond/config/app.toml && \
sed -i -e "s/^pruning-keep-recent *=.*/pruning-keep-recent = \"$pruning_keep_recent\"/" ~/.neutrond/config/app.toml && \
sed -i -e "s/^pruning-keep-every *=.*/pruning-keep-every = \"$pruning_keep_every\"/" ~/.neutrond/config/app.toml && \
sed -i -e "s/^pruning-interval *=.*/pruning-interval = \"$pruning_interval\"/" ~/.neutrond/config/app.toml

Indexer (optional)

indexer="null" && \
sed -i -e "s/^indexer *=.*/indexer = \"$indexer\"/" $HOME/.neutrond/config/config.toml

Download addrbook

wget -O $HOME/.neutrond/config/addrbook.json "https://raw.githubusercontent.com/konsortech/Node/main/Neutron/addrbook.json"

Create a service file

sudo tee /etc/systemd/system/neutrond.service > /dev/null <<EOF
[Unit]
Description=neutron
After=network-online.target

[Service]
User=$USER
ExecStart=$(which neutrond) start
Restart=on-failure
RestartSec=3
LimitNOFILE=65535

[Install]
WantedBy=multi-user.target
EOF

StateSync

SNAP_RPC=http://neutron.rpc.t.stavr.tech:11057
peers="b81828b92f6e58eaa211fbb21c08cf809cdefa94@neutron.rpc.t.stavr.tech:11056"
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" $HOME/.neutrond/config/config.toml
LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \
BLOCK_HEIGHT=$((LATEST_HEIGHT - 500)); \
TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash)

echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH

sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \
s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \
s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \
s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ; \
s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" $HOME/.neutrond/config/config.toml
neutrond tendermint unsafe-reset-all --home /root/.neutrond --keep-addr-book

Start

sudo systemctl daemon-reload
sudo systemctl enable neutrond
sudo systemctl restart neutrond && sudo journalctl -u neutrond -f -o cat

Create validator

neutrond tx staking create-validator \
  --amount 1000000untrn \
  --from <<walletName>> \
  --commission-max-change-rate "0.1" \
  --commission-max-rate "0.2" \
  --commission-rate "0.1" \
  --min-self-delegation "1" \
  --pubkey  $(neutrond tendermint show-validator) \
  --moniker STAVRguide \
  --chain-id quark-1 \
  --identity="" \
  --details="" \
  --website="" -y

Sync Info

neutrond status 2>&1 | jq .SyncInfo

NodeINfo

neutrond status 2>&1 | jq .NodeInfo

Check node logs

sudo journalctl -u neutrond -f -o cat

Check Balance

neutrond query bank balances neutron...address23947h2i32873t

Delete node

sudo systemctl stop neutrond && \
sudo systemctl disable neutrond && \
rm /etc/systemd/system/neutrond.service && \
sudo systemctl daemon-reload && \
cd $HOME && \
rm -rf neutron && \
rm -rf .neutrond && \
rm -rf $(which neutrond)

EXPLORER
Setup Server on GOOGLE CLOUD
WebSite