Tan Docs
  • 📚INTRODUCTION
  • 📖BASIC KNOWLEDGE
    • 🌐⛓️What is Blockchain
    • EVM
    • 💻Node
  • WELCOME TO TAN NETWORK
    • 💡About TAN
    • 🪙TAN (Native Coin of Tan)
    • 🫂Community
  • 🚀GETTING STARTED
    • 👨‍💻Developer Guide
      • 💻Nodes And Validators
        • ⬇️Install TAN-Chain
        • 👨‍🏫Full Node Instructions
        • 🔏How to Stake TAN?
        • Become a Validator🤝
        • 🔓How to Unstake TAN?
      • RPC
      • TAN Testnet
      • TAN explorers
      • 📃Deploy Smart Contracts
        • TEP-20
          • Using Remix ide
          • Using Truffle
          • Using Hardhat
        • TEP-721
          • Using Remix ide
          • Using Truffle
          • Using Hardhat
        • TEP-1155
          • Using Remix ide
          • Using Truffle
          • Using Hardhat
    • 🦊Add TAN to Metamask
    • 🪙Get Testnet Funds
    • Core Concepts
      • Genesis File
      • Consensus
      • Proof of Stake(Pos)
      • ⚙️TAN Consensus(BPoS)
        • 💰Validators Reward
        • Burn Subsidy
        • Ecosystem Incetives
      • Scalability
  • Governance
    • TAN Improvement Proposal
  • ❓FAQ's
Powered by GitBook
On this page
  1. GETTING STARTED
  2. Developer Guide
  3. Nodes And Validators

Full Node Instructions

Previous⬇️Install TAN-ChainNext🔏How to Stake TAN?

Last updated 4 months ago

After successfully creating the binaries, you can proceed to run the full node.

Steps to run a successful TAN-chain on the local system -

  • Generate data directories for each of the 4 nodes

  • Prepare multiaddr string for bootnode

  • Copy and paste the

  • Running all servers and node.

Let’s see the steps one by one -

To do so, navigate to your root directory and create a new folder. For consistency, let's name this folder "run", though you're free to choose any name you prefer.

cd Tan-chain-network
mkdir run

This will navigate you to the "TAN-chain-network" directory and create a new folder named "run" within it. This folder will serve as the directory for running your full node.

cd run

Once you're inside the "run" folder, you can proceed with initializing the data directories for your TAN-chain node.

Initialize the data directory with

../tan-chain secrets init --insecure --data-dir test-chain-1

This will generate the data directory for node one with name “test-chain-1”.

test-chain-1 here acts as a prefix for node directory. You can name it as per your convenience.

Example 🎉-

After initializing the data directory, it's time to create the genesis file.

To create the genesis.json file and populate it with the contents provided, follow these steps:-

  • In your terminal, ensure you are still within the "run" directory.

  • Create a new JSON file named genesis.json using your preferred text editor or terminal command. For example-

touch genesis.json
  • Open the genesis.json file in your text editor or using a command-line text editor like nano or vim.

  • Paste the copied contents into the genesis.json file.

  • Save and close the file. If you're using a text editor, follow its specific instructions for saving and closing files.

Once you've completed these steps, your genesis.json file should be created and populated with the appropriate content.

Copy the contents of the genesis file from the .

🚀
👨‍💻
💻
👨‍🏫
genesis file
provided link