Skip to content

Latest commit

 

History

History
27 lines (15 loc) · 3.07 KB

stake-delegate-and-withdraw.md

File metadata and controls

27 lines (15 loc) · 3.07 KB

Stake, Delegate and Withdraw

The basic requirement to become a Besc chain validator is to have a stake amount of at least 10,000 Besc tokens. The stake amount is the sum of staked and delegated Besc tokens of the address. This guide walks trough the process of using MEW (MyEtherWallet.com) in the process of using Besc network.Roadmap - Those functionalities will be built into our Studio and will not require any technical knowledge in the future.

Stake

There are two options to stake (both should be called from the address which would be the validator)

  1. 1.Send BESC tokens to the consensus contract - 0xc6119816bB72c980d99861FeF89F6ceDe5D362A5 on the BESC network.
  2. 2.Call the `stake` function on the consensus contract - 0xc6119816bB72c980d99861FeF89F6ceDe5D362A5 on the BESC network.

Delegate

BESC token holders who don't want to run a node by themselves but still wish to participate in governing the network can delegate any amount to one of the validators. Delegating is done by calling the `delegate` function on the consensus contract with the validator address as data (see screenshot from MEW).

delegate

Withdraw

Both stakers and validators can withdraw their BESC tokens, up to the staked/delegated amount, at any time. The withdrawn amount will be deducted from the validator stake amount, and if the stake amount becomes below the minimum stake amount - the validator will be removed from the BESC chain validators list.There are two options to withdraw:

  1. 1.Call the `withdraw` function on the consensus contract with one parameter - the amount to withdraw. This call is for stakers, and will reduce the stake amount of the sender address.
  2. 2.Call the `withdraw` function on the consensus contract with two parameters - validator address and amount to withdraw. This call is for both stakers (who can use their own address as the parameter) and for delegators to withdraw their delegated stake on a specific validator.

withdraw option no. 1

withdraw option no. 2