Tres Chain
  • What is Tres Chain?
  • Our Logos
  • Intro
    • Project Overview
      • Vision
      • Scholarship
      • Voting
      • Community
      • Social Media
  • Coin Information
    • Tres Coin and Tres Token
      • Tokens
        • Archived
          • Tres Leches Cake(archived)
          • Tres Leches(archived)
          • Tres Leches Cupcake(archived)
          • Staking(archived)
    • Coin Distribution
  • Our SmartSwap
    • Swap
      • Addresses
      • How to add liquidity
      • How to swap
  • Our Wallet
    • Wallet
      • Android
      • IOS
      • Dapp Catalog
      • Extension
        • Privacy Policy
        • Terms of Use of Blockwallet/CakeWallet
        • How to use the Phishing Protection feature
        • What Is a Dropped Transaction?
        • How do Hardware Wallets Work?
        • How to get the Ledger Hardware Wallet
        • How to get the Trezor Hardware Wallet?
        • What is an HD Path?
        • What is Lock Timeout?
        • How to Add a Custom Network RPC
        • Tips to Stay Safe When Connecting to DApps
        • How to Use BlockWallet Bridges
  • Our Blockchain
    • Blockchain
      • Node List
      • Install Node 2023
      • Install and Configure your Node
      • Nodes
        • Setup a Node
        • Add Node to Tres Leches Chain
        • Secure the Node
      • Blockscout Explorer Install
      • Smart Contract Verification
      • Testnet Configuration
      • Validator Rewards
  • Our NFTs
    • NFT
      • Owner's(archived)
      • Desert Rolodex Collection(archived)
  • Who we are
    • Team
  • Audits
    • Token Audit
    • Wrapped Token
Powered by GitBook
On this page

Was this helpful?

  1. Our Blockchain
  2. Blockchain
  3. Nodes

Add Node to Tres Leches Chain

PreviousSetup a NodeNextSecure the Node

Last updated 1 year ago

Was this helpful?

Clone the following genesis file from our github repro.

You can clone it by running:

//Clone the repro
git clone https://github.com/treslecheschain/Blockchain/

// Cd ~Blockchain
mkdir /usr/local/node
cp -r Configuration/Genesis/Mainet/treslechesmainnet.json /usr/local/node/treslechesmainnet.json
cd /usr/local/node
geth init --datadir data treslechesmainnet.json
cp -r ~/Blockchain/Configuration/Nodes/TrustedNodes/trusted-nodes.json /usr/local/node/data/trusted-nodes.json
cp -r ~/Blockchain/Configuration/Nodes/StaticNodes/static-nodes.json /usr/local/node/data/static-nodes.json

After you have configure the node, you need to run the node. We recommend the following commandline to get your node running.

// geth --networkid 6066 --datadir data --identity "External Miner" --bootnodes enode://333de758402827269778b4a96f675b3d207ddb4b7fdb2a60d505d7d10d5eac564a0aa2b6cded48bbbaf7328092b81eef293c182a04e302b4b0dd01285a324b60@147.182.143.50:0?discport=30301  --port 30306 --miner.threads 1 --miner.etherbase=0x000000000000000000000000000000000000dEaD --syncmode full --http --http.vhosts "*" --http.corsdomain "*" --http.port 8548 --cache 8192  --ws.port 8549 --http.api debug,net,eth,web3,txpool --ws.api "eth,net,web3,network,debug,txpool"  --authrpc.port 8550  console

You have now onboarded your now into our chain, to make it official create a pull request here.

Add your enode following the fomart of the json file and we will then commit and update the mainnetserver on the next maintenance cycle.

Blockchain/Configuration/Genesis at main · treslecheschain/BlockchainGitHub
Blockchain/static-nodes.json at main · treslecheschain/BlockchainGitHub
Static Nodes
Logo
Logo