FONSmartChain
English
English
  • 🧿Introduce
  • 🧶Tutorial
  • 🛡️Security Audit Report
  • 💫Cross-chain bridges and wallets
    • ⚡Cross-chain bridge
    • 💰Wallet
    • 🔑Key management
    • 💰Third-Party Wallet Tutorial
      • 1️⃣Metamask
      • 2️⃣TokenPocket
      • 3️⃣Bitkeep
      • 4️⃣Ave.ai
  • 🏆Core idea
    • 🎆Consensus engine
  • ⛱️Develop
    • 🟢RPC
    • 🔗FSC Browser
    • 🧊Run full node
    • 💎Validator
      • Create a validator
      • Run validator
    • 📑Validate contracts at FONSCAN
    • 🌾Logos
  • ☔ScanApi
    • RPC API Endpoints
      • Account
      • Block
      • Contract
      • Logs
      • Stats
      • Token
      • Transaction
    • ETH RPC API
    • 📔White Paper
      • Background overview
        • Introduction to FON smart chain
        • Design Principles
        • Application target
        • Advantages of implementation
      • Ecological sector overview
        • RosSwap
        • Time Farm
        • HieSwap
        • Myth NFT
      • Token economy
        • Economic model
        • Staking and governance
        • Circulation example
      • FSC technology systemFSC will
        • Proof of Stake
        • Cross-chain mechanism
        • Repeater
        • Hard forks, specifications and dispute resolution
      • Risk assessment and decision-making
      • Disclaimer
Powered by GitBook
On this page
  • Validator hardware requirements
  • Set up a validator
  1. Develop
  2. Validator

Run validator

Validator hardware requirements

  • A VPS running the latest version of Mac OS X or Linux.

  • Important 2T GB free disk space, Solid State Drive (SSD), gp3, 8k IOPS, 250MB/S throughput, read latency <1ms (NVMe SSD required if booting with snapshot/quick sync)

  • 16-core CPU and 64 GB of memory (RAM)

  • We recommend using the m5zn.3xlarge instance type on AWS, or c2-standard-16 on Google Cloud.

  • Broadband Internet connection with upload/download speed of 10 megabytes per second

Set up a validator

1.Synchronize block information

Follow the instructions here to set up a full node.

Start the validator

!!!Warning Please do not expose your RPC endpoints to the public network.

## generate the consensus key and input the password
echo {your-password to the mining account} > password.txt
geth --datadir data \
--networkid 201022 \
--nodiscover \
--syncmode full \
--password password.txt \
--allow-insecure-unlock \
--unlock {the address of your mining account} \
--miner.gasprice 150000000000 \
--mine \
--miner.threads 1 \
--miner.gaslimit 80000000

Stop verification

You can stop mining new blocks by sending the command in the geth console

Connect to your validator using geth attach ipc:path/to/geth.ipc

miner.stop()

To resume verification,

miner.start()
PreviousCreate a validatorNextValidate contracts at FONSCAN

Last updated 4 months ago

⛱️
💎