Skip to content

klasnikova/Anchor-1-Guide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

Anchor-1-Guide

Anchor-1 Guide

Manual Node Setup

sudo apt update
sudo apt upgrade
sudo apt install gcc

Cloning (This is for new validator)

git clone https://github.com/notional-labs/anone.git
cd anone
git checkout testnet-1.0.3
make install

Cloning (For existing validator)

cd ~/anone
# Pull latest branches to local 
git fetch
# Checkout correct tag and build
git checkout testnet-1.0.3
make install
# Stop anoned via Screen 
CTRL+C
# or via Systemctl assuming your service file is an1.service
sudo systemctl stop an1
# Clear blockchain data
anoned unsafe-reset-all

Download Genesis Json

wget -O ~/.anone/config/genesis.json https://raw.githubusercontent.com/notional-labs/anone/master/networks/testnet-1/genesis.json

Start the chain with new seeds

anoned start --p2p.seeds [email protected]:2280,[email protected]:2280,[email protected]:2280

Generating new wallet

anoned keys add <nameyourwalet>

Restoring old wallet

anoned keys add <nameyourwallet> --recover

Creating validator

anoned tx staking create-validator --amount=1500000000uan1 --from="one1xxxxxxxxxxxxxxxxx" --pubkey=$(anoned tendermint show-validator) --moniker="moniker" --identity="Keybase PGP" --website="https://xxxxxxxxxxxx" --chain-id anone-testnet-1 --commission-rate="0.05" --commission-max-rate="0.20" --commission-max-change-rate="0.01" --min-self-delegation=1 --gas 200000 --fees 250000uan1 --keyring-backend os

Backuping your validator key

nano ~/.anone/config/priv_validator_key.json

Helpful command

Show valoper address

anoned keys show <keyname> --bech val --address

Check status query validator

anoned q staking validator <valoperaddress>

Delegate

anoned tx staking delegate <valoperaddress> <qtyofcoin>uan1 --from <keyname> --chain-id anone-testnet-1 --fees 250000uan1

About

Anchor-1 Guide

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published