Vince Chain Documentation
  • Vince Chain x Users
    • Getting Started
      • What is Vince Chain?
      • Vince Chain dApps
      • Vince Chain Features and Offerings.
    • Connecting Wallet
      • Blithe Wallet
        • Install Blithe Wallet
        • Set up Blithe Wallet account
        • Secure Blithe Wallet.
      • Metamask
        • Install Metamask
        • Set up Metamask account
        • Adding Vince Chain account manually on Metamask
        • Importing wallet on Metamask
        • Resetting Account​
        • Downloading Account State​
        • Registering for Vince Chain Domains​
      • Keplr
      • Ledger
      • Transferring Tokens on Vince Chain
      • View Balances
      • Vince Chain Onramp
      • Sending and receiving assets on Vince Chain
      • Deposit and Withdraw Assets across Chains​
    • Using dApp on Vince Chain
      • Queries and Transactions​
      • Vince Chain dApps
        • Staking​
        • Governance​
    • Frequently Asked Questions (FAQs)
  • 2. Vince Chain x Developers
    • Overview
      • Why build on Vince Chain?
      • Building dApps on Vince Chain
      • Contributing to Vince Chain Ecosystem
    • Building DApps & Smart Contracts
      • Deploying EVM Smart Contracts on Vince Chain
      • What are EVM Smart Contracts?
      • Smart Contracts & Solidity​
      • Smart Contracts & EVM Extensions
      • Smart Contracts & Oracles
      • Smart Contracts & JSON-RPC
      • Vince Explorers
      • Contract Verification
      • Post-project features on Vince Chain
    • Building a dApp front-end
      • Indexers
      • Wallet Integration
    • Building a dApp backend
    • Testnet
      • Security Audits
    • Mainnet
      • Deployment
      • Token distribution
      • Revenue
      • Vince Chain Community
    • Developer Kit
      • Block Explorers
      • Oracles
        • Oracle features
        • How do oracles work?
        • Vince Chain oracles
        • DIA
        • SEDA Network
        • Adrastia
      • Vince Client Integrations
        • Ethereum Client Integrations​
      • Contract Verification
      • Tools x Plugins x IDE
      • Indexers
        • Covalent: Indexer
    • Tools
      • Vince Chain Explorers
      • Oracles
      • Contract Verification
      • Tools & Plugins
      • Indexers
      • Vince Chain Client Integrations
    • API
      • Networks
      • Vince Clients
      • Ethereum JSON-RPC
      • Cosmos gRPC and REST Routes
      • Tendermint RPC
      • Snapshots & Archive Nodes
    • Frequently Asked Questions
  • 3. Vince Chain Protocols
    • Technical Architecture
      • Cosmos SDK
      • What is CometBFT?
      • Is Vince Chain compatible with EVM?
      • Contributing to Vince Chain
    • Vince Chain CLI
      • Configuration
      • Working with Docker
      • Single Node
      • Multi Node
      • CLI Commands
    • Concepts
      • Accounts
      • Vince Chain Accounts
        • Addresses and Public Keys
        • Address conversion
        • Key output
      • Querying an Account
        • Cosmos gRPC and REST
        • JSON-RPC
      • Chain ID
      • Vince Chain’s Identifiers
      • The Chain ID
      • Vince Chain ID Structure/Format
      • Encoding
        • Ethereum’s Recursive-Length Prefix (RLP) Encoding
        • Cosmos SDK Encoding
      • IBC Relayers
        • IBC layers
        • Restore & Manage Keys
      • Restore & Manage Keys
      • Keyring
        • Operating Systems (OS) Backends
        • File
        • Password Store
        • KDE Wallet Manager​
      • Transactions
        • Ethereum transactions
        • Cosmos Transactions
        • Vince Chain Transaction
      • Tokens
        • Overview
        • Vince Chain (VCE)
        • Ethereum (ETH)
        • Cosmos (ATOM)
      • Gas and Fees
        • What is Gas?
        • Why transaction fees are important.
        • Calculating Network Gas
        • Are Gas also fees? —What’s the relationship?
    • Modules
    • Module Accounts
    • Bugs
    • IBC Channels
    • Security
    • Metrics
    • Frequently Asked Questions
  • 4. Technical Documentation
    • Quick Start
    • Vince Tokenomics
    • Staking/Delegation
    • Set Up Validators
    • Keys and Wallets
    • JSON RPC & WebSockets
    • Node Requirements
    • Vince Chain Validators
      • Disk Space Optimization
      • Rewards Management
      • Validator Concepts
      • FAQ
    • Vince Chain Governance
    • Grants & Bounties
    • Resources
Powered by GitBook
On this page
  • Vince Chain Validator Setup
  • Login for permission as a root user
  • Log off root user login as vinced user
  • Setup vinced Genesis and Peers
  • Setting up systemd
  • Setting up wallet
  • Tip
  1. 4. Technical Documentation

Set Up Validators

Learn to set up Vince Chain validators

Vince Chain Validator Setup

The following guide will help you in setting up a Vince Chain validator on any hardware that meets the Node requirement. The commands below apply to any Linux OS.

Login for permission as a root user

sudo apt update 
sudo apt upgrade 
sudo apt install git snap snapd gcc g++ make 
sudo snap install go --channel=1.18/stable --classic
sudo adduser vincechain 
sudo usermod -aG sudo vincechain

Log off root user login as vinced user

Duplicate and compile vinced, then run the following commands:

git clone https://github.com/vincechainlabs/vincechain 
cd vincechain 
make install 
sudo cp ~/go/bin/vinced /usr/local/bin/vinced

Setup vinced Genesis and Peers

To setup vinced Genesis and Peers, try running the following commands:

cd ~ 
vinced config chain-id vincechain_1000-3 
vinced config keyring-backend file
vinced init <validator_name> --chain-id vincechain_1000-3
cd ~/.vinced/config 
sudo mv genesis.json gen.old 
sudo wget https://gist.githubusercontent.com/vincechainlabs/ee862f58850fc1b5ee6a6fdccc3130d2/raw/55c2c4ea2fee8a9391d0dc55b2c272adb804054a/genesis.json
cd ~

Setting up systemd

First, edit this file: sudo nano /etc/systemd/system/vinced.service

Then enter the following commands into the edited file above and save it:

[Unit]
Description=Vince Chain Node
After=network.target

[Service]
Type=simple
User=vincechain
WorkingDirectory=/home/vincechain/.vinced
ExecStart=/usr/local/bin/echelond start
Restart=on-failure
RestartSec=3
LimitNOFILE=4096

[Install]
WantedBy=multi-user.target

Then use the following commands to start, stop, restart, and view logs.

sudo systemctl start vinced
sudo systemctl status vinced
sudo systemctl enable vinced

Setting up wallet

Write down this command: vinced keys add --keyring-backend=file

It's for your wallet address and mnemonic phrase.

To check your balance

Enter the following command: vinced query bank balances --keyring-backend=file

Replacing validator name

Upon receiving the fund, you may replace your validator name with the receiver's VCE address.

The command line below used 1000000 VCE (equivalent to 1000000000000000000000000 avince or 10-18 vince) as example:

vinced tx staking create-validator --amount=1000000000000000000000000avince --pubkey=$(vinced tendermint show-validator) --moniker="<validatorname>" --from=<vincechain1address> --min-self-delegation="1" --commission-max-change-rate="0.01" --commission-max-rate="0.20" --commission-rate="0.05" --chain-id=vincechain_1000-3 --keyring-backend=file

Tip

If the keyring fails, you can recover it with: vinced keys add --recover

You may watch vinced logs with the following command: sudo journalctl -u vinced -f

PreviousStaking/DelegationNextKeys and Wallets

Last updated 2 years ago