Docker
Install docker on your VPS
Establish a directory and initial the config.json
Make a new directory and enter it
Create a JSON Configuration File
Then, open the file in a text editor. The vim
editor is used here as an example:
Paste the content below (You need to adjust the content on your own.)
Change Your-Node-Name on your own
Run the node with Docker
Fetch the docker image
Run a docker container
Check the logs from your container
Register your own Validator node using the path below
Network>>Staking>>Accounts
The initialBond value must be at least 1000 BEVM, and then submit the transaction
Get your session keys by curl
Get your session key in the result
(Example) Copy the object result
0xcf888ade403573be237e2af023c5b5ff1e4fd24cb96893b034ca8d616fe551c96cccd879274db47800e2a035adef9d7657ee2579ceaf25a3bc507931e5e5241558764dd425290713cb62101ca62edf2bcfbeedc38b3ed36db080d0bb9561ba507a14389a5dbd1b5708314fb1bc204c384c41b4389e7add1b6bec10490ff52b7b
Set your session keys
Check the session key setting
Remember to replace your address
Find your node election on the wallet frontend
Some interpretations on election and node requirements
Backup Nodes
Due to the fact that improper deployment of nodes can lead to block production anomalies, which may incur certain penalties, it is advisable to set up additional backup nodes. Copy the same config.json configuration file and keys, and simply change the option to "validator=false." Start the backup node in "pruning=archive" mode. This way, if the main node encounters issues, the backup node can take over the work to avoid penalty.
Block verification
The rotation period for validation nodes Era = 12 Session = 12 * 5 Minutes = 1 hour
This means that after the setup is complete, you have to wait up to an hour for the new validation nodes to start producing blocks.
After being elected as a validator, if you see Prepared block for proposing at ... in the logs, it indicates that the node has successfully produced a block.
Validator Node Election
Disqualified from running
When the validator node's reward pool is penalized to zero or subject to other penalties, the validator node is removed from the current validator set and becomes a candidate for re-election. To participate in staking again, they need to manually re-enter the election.
Opt out voluntarily
When you want to drop your node or do anything that will cause your node machine down, you need to drop your role on your own firstly to avoid the penalties.
After the signatures, you will find you are dropped.
Run for election manually
If you want to be in line for the node, you can click the "Candidate" here to unlock more operations.
After the signatures, you will find you are in waiting.
Validator Claim Interests
Query BTC and BEVM balance
1 Query BTC balance
2 Query BEVM balance
Claim BTC and BEVM from validator spot to wasm account
1 Claim BTC Interests
2 Claim BEVM Interests
coming soon
Deposit BTC from wasm to evm
Deposit BEVM from wasm to evm
There is no BEVM ERC20 token temporarily.
Key Points
Before the first halving (which occurs every 4 years), 625 BEVM are issued for every 5-minute session, with 20% going directly to validators and 80% temporarily stored in their reward pool.
Validator elections take place every 12 sessions (1 hour).
If a node's self-staked amount is less than 100 BEVM or the total number of votes received is less than 1000 BEVM, it will be forcibly retired from the validator election.
Validator nodes in candidate status are neither rewarded nor penalized.
Node Penalty
BEVM rewards each session but also penalizes nodes that may act maliciously. Typical penalties include penalties for double-signing and node offlining. If a node is discovered to be acting maliciously, the rewards due for that node in the session will be entirely penalized into the Treasury, and the node's reward pool will be penalized in accordance with the malice coefficient reported on the chain, which is:
penalty = max(session_bevm_reward + reward_pot_balance * F, minimum_penalty)
penalty
: Fine amount for BEVMsession_bevm_reward
: Node's session BEVM rewardreward_pot_balance
: Node's reward pool amountF
: Punishment factor, calculated by the babe and im-online modules:im-online: Node offline penalty details, frame/im-online/src/lib.rs.
minimum_penalty
: The minimum penalty value, meaning the least penalty imposed for each infraction.
BEVM verification nodes, when found to be malicious, are not penalized by losing their principal investment nor the BTC gas in the prize pool; instead, the penalty is exacted from the BEVM in the node's prize pool.
Once the node's prize pool has been completely depleted by penalties, the node is forcibly deselected.
Last updated