Wethio Network
Here you will learn about the networks on the Wethio ecosystem in detail.
Last updated
Was this helpful?
Here you will learn about the networks on the Wethio ecosystem in detail.
Last updated
Was this helpful?
Following contains the details of the mainnet wethio blockchain
Chain id: 78 HD derivation path: m/44'/77777'/0'/0/ Consensus Mechanism: PoSV Block finality: >75% Consensus nodes: up to 157 (masternodes) Genesis block date: `` Transaction fee: gas price 0.25 Gwei The fee for Smart contract creation: gas price 10000 Gwei, gas limit >= 1000000 The version of Solidity Compiler: < 0.5
(Wethio Wallet) (Block explorer) (Governance dApp)
As the name suggests, a Testnet is for testing new features and to give a demo of upcoming products. The Wethio testnet network has its own specifications that makes it possible to conduct testing processes smoothly.
Chain id: 79 RPC endpoint: HD derivation path: m/44'/77777'/0'/0/ Consensus Mechanism: PoSV Block finality: >75% Consensus nodes: up to 150 (masternodes) Genesis block date: `` Transaction fee: gas price 0.25 Gwei The fee for Smart contract creation: gas price 10000 Gwei, gas limit >= 1000000 The version of Solidity Compiler: < 0.5
(Wethio Wallet) (Block explorer) (Governance dApp) (To request testnet ZYN)
A list of commands that can ease the developers interaction with Wethio client Zyn
Command: $ zyn [OPTIONS]
--verbosity: log level from 1 to 5.
--datadir: path to your data directory
--keystore: path to your account's keystore
--identity: your full-node's name.
--password: your account's password.
--networkid: our network ID.
--port: your full-node's listening port (default to 30303)
--rpc, --rpccorsdomain, --rpcaddr, --rpcport, --rpcvhosts: your full-node will accept RPC requests at 8545 TCP.
--ws, --wsaddr, --wsport, --wsorigins: your full-node will accept Websocket requests at 8546 TCP.
--mine: [required] your full-node wants to register to be a candidate for masternode selection.
--gasprice: Minimal gas price to accept for mining a transaction.
--targetgaslimit: Target gas limit sets the artificial target gas floor for the blocks to mine (default: 4712388)
--bootnode: bootnode information to help to discover other nodes in the network
--gcmode: blockchain garbage collection mode ("full", "archive")
--store-reward: store reward report
In this brief tutorial, you will learn how to set up a private Wethio Testnet on a local machine. It intends to familiarize developers with Wethio's source code and initial setup.
Here are step-by-step instructions for setting up a Wethio private net with three Masternodes.
Go to cd $GOPATH/src/github.com/ethereum/go-ethereum to download source code and build
Initialize new accounts- Ignore this step if there are existing accounts and an option to import them
Import accounts
You must repeat this step twice in order to import two more private keys for our three masternodes
Command puppeth and give answers to questions related to your private chain as follows:
puppeth
Now set a chain name
> local
<
For configuring new genesis, enter 2
For selecting PoSV Consensus, enter 3
Set blocktime (default 2 seconds)
Set each epoch reward
Set addresses for initial masternodes
Set number of blocks of each epoch (default 900). For customizing epoch number,
update the code here common/constants.go:14 EpocBlockRandomize = 900
Set gap (How many blocks before the checkpoint needs to be prepared for a new masternodes < set ?)
suggestedGap = 5
Enter foundation address which you hold private key
Enter accounts through which you control private keys to unlock MultiSig wallet
Enter swap wallet address for fund 55 million ZYN
Export genesis file by selecting 2. Manage existing genesis - Select 2. Export genesis configuration to enter genesis filename
Exit by pressing Control + C
How to Initialize Your Private Chain with Above Genesis Block
How to Setup Bootnode
Initializing the bootnode key
bootnode -genkey bootnode.key
Running bootnode and copying bootnode information
bootnode -nodekey ./bootnode.key
enode://7e59324b1e54f8c282719465eb96786fb3a04a0265deee2cdb0f62e912337ca
6f118d0c91f7ebfae6f5c17825205279249cf7ff65ae54d0a1a8908ef16f80f63@[::]:30301
How to operate Masternode 1
How to operate Masternode 2
How to operate Masternode 3
Explaining Flags
You can check usage of all flags here: zyn --help
Follow the below steps to do so:
First, connect ipc
At last, verify Checkpoints
eth.getBlock(900)
Resetting your chain
Use as a reference to install Golan and set environment variables
Then, connect rpc zyn attach eth.getBlock(0) eth.getBlock(1)
After 30 minutes you can see if your chain has passed the first checkpoint
zyn attach
Note: Use the Gnosis Multisig Wallet: