Self Chain Docs
WebsiteTwitter
  • Learn
    • About Self Chain
    • Keyless wallet
      • MPC-TSS
      • Secure Signing
      • Account Abstraction
  • Getting Started
    • Glossary
    • Frequently Asked Questions
    • Set up a wallet
      • Adding Self Chain to Keplr Wallet
      • Setting up Keplr with Ledger Wallet
      • Adding Self Chain to Leap Cosmos Wallet
    • How To Stake SLF
    • Self Chain Mainnet
    • How to IBC Transfer
  • Developer Guide
    • Self Chain Networks
    • Frontend dApps
    • Faucet
  • SLF Tokenomics
    • Token Allocation and Utility
      • Bonded Tokens Vs Circulating Supply
      • Address Transparency
    • FRONT Migration
      • How to Bridge FRONT from BNB Chain (BEP20) to Ethereum (ERC20)
      • How to Migrate FRONT to SLF using Binance Convert
    • FRONT Migration FAQs
    • Central Exchanges FRONT to SLF Migration
  • Staking and Delegation
    • Delegating $SLF
    • Redelegating $SLF
    • Undelegating $SLF
    • How to delegate $SLF with Frontier Wallet
    • How to Delegate $SLF with Ledger
    • How to Participate in SLF Binance Simple Earn Product
  • Nodes & Validators
    • Node Setup Guide
    • Node Configuration FAQs
    • Run a Validator Node
    • Validator FAQs
    • Releases
    • Run a Validator Node with NodeOps
    • Setting up Cosmovisor
    • Log Console Troubleshooting
    • Run Selfchain testnet node
  • Governance
    • Draft a Proposal
      • Text Proposal
      • Community Spend Proposal
      • Paramter Change Proposal
      • Software Upgrade Proposal
      • Cancel Software Upgrade
    • Submitting a Proposal
    • Depositing funds
    • Voting on a Proposal
    • FAQs
  • Official Links
  • Branding and Logos
Powered by GitBook
On this page
  1. Nodes & Validators

Run Selfchain testnet node

PreviousLog Console TroubleshootingNextGovernance

Last updated 2 months ago

  1. Download the Self Chain Mainnet v1.0.1 from according to your Linux architecture.

  2. Initialize a chain - Execute the following command:

    ./selfchaind-linux-amd64 init moniker
    Eg: ./selfchaind-linux-amd64 init mytestnetchain
  3. Replace your genesis file located at: ~/.selfchain/config/genesis.json

  1. Open and update your configuration file located at: ~/.selfchain/config/config.toml

persistent_peers = "447c1f962696fcdd6c31ca1ae073c97c9cb15f58@3.138.56.49,3a6608f456836bdd69d65ae2cf5854f8cd76c27b@3.147.222.52:26656,c0dbddb16c0060c99f243b80b20c9bccce71a7bf@3.21.176.122:26656” 

If RPC support is required, replace below as well.

laddr = "tcp://0.0.0.0:26657"
cors_allowed_origins = ["*"]
  1. Start the Chain: Run the following command:

    ./selfchaind-linux-amd64 start 

    Wait until it stops automatically. This typically happens within a minute after processing a few blocks.

  2. Download the CosmWasm-enabled binary (Self Chain Testnet v2.0.0) from according to your architecture (selfchaind-linux-arm64-wasm or selfchaind-linux-amd64-wasm).

  3. Continue with New Binary, below command will run the process in the background and log output to selfchain.log.

nohup ./selfchaind-linux-amd64-wasm > selfchain.log 2>&1 &
  1. Validate the Node: Check for any errors in the log file. If everything looks good, wait for the node to sync with the network.

  2. Check the node status. Once it is in sync, create a validator using the following command:

./selfchaind-linux-amd64-wasm tx staking create-validator --amount=530800000000000uslf --pubkey="$(./selfchaind-linux-amd64-wasm tendermint show-validator)" --moniker="Validator Name" --chain-id="selfchain-testnet" --commission-rate="0.10" --commission-max-rate="0.20" --commission-max-change-rate="0.01" --min-self-delegation="1" --from=wallet-name --fees=200000uslf --gas=auto --gas-adjustment=1.5
  1. Ensure you replace <wallet-name> with your actual wallet name and verify that you have enough SELF tokens. If you need tokens, obtain them from the testnet faucet.

Verify the staking status at: .

SelfChain Staking
Selfchain Releases
Selfchain Releases
11KB
genesis.json
Use the provided genesis.json file.