Node39
  • 👋Welcome to Node39.TOP
  • Mainnet
    • 🟢Pactus Blockchain
      • ⚙️Installation
      • 🚄Sync
      • 🖥️Upgrade
      • 🔌Bootstrap node
      • 🛟Command
    • 🟢Muon.net
    • 🟢Massa
    • 🟢Tangle
      • ⚙️Installation
      • 🖥️Upgrade
      • 🛟Command
    • 🟢Nibiru Chain
      • ⚙️Installation
      • 🚅Sync
      • 🖥️Upgrade
      • 🛟Command
      • 🔭Database option
    • 🟢Seda
      • ⚙️Installation
      • 🚅Sync
      • 🖥️Upgrade
      • 🛟Command
    • 🟢Zeta Chain
      • ⚙️Installation
      • 🚅Sync
      • 🖥️Upgrade
      • 🛟Command
    • 🟢Selfchains
      • ⚙️Installation
      • 🚅Sync
      • 🖥️Upgrade
      • 🛟Command
    • 🟢Shentu
      • ⚙️Installation
      • 🚅Sync
      • 🖥️Upgrade
      • 🛟Command
    • 🟢Entangle
      • ⚙️Installation
      • 🚅Sync
      • 🖥️Upgrade
      • 🛟Command
    • 🟢Kopi Protocol
      • ⚙️Installation
      • 🚅Sync
      • 🖥️Upgrade
      • 🛟Command
  • 👨‍🏫Testnet
    • 🟢Tanssi
    • ⛔Dusk
    • ⛔Nulink
    • 🟢Kenshi - Unchained
    • ⛔X1 Blockchain
    • 🟢Rivalz
      • ⚙️Installation
  • 👨‍🏫Cosmos
    • 🟢Swisstronik
      • ⚙️Installation
      • 🚅Sync
      • 🖥️Upgrade
      • 🛟Command
    • 🟢Hedge Block
    • 🟢Warden Protocol
      • ⚙️Installation
      • 🚅Sync
      • 🖥️Upgrade
      • 🛟Command
      • Slinky
    • 🟢Galactica
    • 🟢Airchains
      • Sync
    • 🟢Viper Private Phase 2
      • 🟢Chain 0003
    • 🟢Crowd Control
      • ⚙️Installation
      • 🚅Sync
      • 🖥️Upgrade
      • 🛟Command
  • 🔴End
    • 🔴Avail
    • 🔴Rollup Madara
    • 🔴Light Node Avail
    • 🔴Self Chain
    • 🔴Pactus blockchain - Testnet
    • 🟢Symphony
      • ⚙️Installation
      • 🚅Sync
      • 🖥️Upgrade
      • 🛟Command
    • 🟢Airchains Station
    • 🟢Autonity
      • 🟢RPC
    • 🟢Empeiria
      • ⚙️Installation
      • 🚅Sync
      • 🖥️Upgrade
      • 🛟Command
Powered by GitBook
On this page
  1. Mainnet
  2. Selfchains

Installation

Install dependencies:

sudo apt update && sudo apt upgrade -y
sudo apt install curl git wget htop tmux build-essential jq make lz4 gcc unzip -y

Install GO: (amd64 - x86)

rm -rf $HOME/go
sudo rm -rf /usr/local/go
cd $HOME
curl https://dl.google.com/go/go1.20.6.linux-amd64.tar.gz | sudo tar -C/usr/local -zxvf -
cat <<'EOF' >>$HOME/.profile
export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export GO111MODULE=on
export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin
EOF
source $HOME/.profile
go version

Install GO: (arm64)

rm -rf $HOME/go
sudo rm -rf /usr/local/go
cd $HOME
curl https://dl.google.com/go/go1.20.6.linux-arm64.tar.gz | sudo tar -C/usr/local -zxvf -
cat <<'EOF' >>$HOME/.profile
export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export GO111MODULE=on
export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin
EOF
source $HOME/.profile
go version

Install Binary Selfchain:

//amd-64
cd $HOME && wget https://github.com/hotcrosscom/Self-Chain-Releases/releases/download/mainnet-v1.0.1/selfchaind-linux-amd64 && mv selfchaind-linux-amd64 selfchaind && chmod +x selfchaind && sudo mv selfchaind /usr/local/bin

//arm-64
cd $HOME && wget https://github.com/hotcrosscom/Self-Chain-Releases/releases/download/mainnet-v1.0.1/selfchaind-linux-arm64 && mv selfchaind-linux-arm64 selfchaind && chmod +x selfchaind && sudo mv selfchaind /usr/local/bin

Set chain and Name Selfchain: Change <Change-Name>

selfchaind init <Change-Name> --chain-id=self-1

Download Genesis & addressbook:

curl -Ls https://file.node39.top/node39.top/Mainnet/Selfchain/genesis.json > $HOME/.selfchain/config/genesis.json 
curl -Ls https://file.node39.top/node39.top/Mainnet/Selfchain/addrbook.json > $HOME/.selfchain/config/addrbook.json

Create Service:

sudo tee /etc/systemd/system/selfchaind.service > /dev/null <<EOF
[Unit]
Description=selfchaind Daemon
After=network-online.target
[Service]
User=$USER
ExecStart=$(which selfchaind) start
Restart=always
RestartSec=3
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF

sudo systemctl daemon-reload
sudo systemctl enable selfchaind

Create validator:

selfchaind tx staking create-validator \
    --amount=1000000uslf \
    --node https://rpc.selfchain.io:26657/ \
    --pubkey=$(selfchaind tendermint show-validator) \
    --moniker="xxxxxxxxxxxxxx" \
    --website="xxxxxxxxxxxxxx" \
    --identity "xxxxxxxxxxxxxx" \
    --details="xxxxxxxxxxxxxx" \
    --security-contact "xxxxxxxxxxxxxx@" \
    --chain-id="self-1" \
    --commission-rate="0.10" \
    --commission-max-rate="0.15" \
    --commission-max-change-rate="0.05" \
    --broadcast-mode sync \
    --gas="200000" \
    --min-self-delegation="1000000" \
    --gas-adjustment="1.2" \
    --gas-prices="0.5uslf" \
    --keyring-backend file \
    --from="wallet"

Edit Validator:

selfchaind tx staking edit-validator \
--commission-rate 0.1 \
--new-moniker "xxx" \
--identity "xxx" \
--details "xxx" \
--from="wallet"
--chain-id="self-1" \
--gas="200000" \
--gas-prices="0.5uslf"
PreviousSelfchainsNextSync

Last updated 9 months ago

🟢
⚙️