Tutorial | How to delegate token & run a collator

Delegation Tutorial

This tutorial will guide you to delegate for collators.

Delegating and Staking

The following steps will guide any BNC holder to do Staking on Bifrost, delegate BNCs for Collators and receive Staking rewards. Learn more about the Collator System and parameters. (*This tutorial was capturing under the testnet, ASG equals to Bifrost BNC on mainnet.)

Step 1: Make sure you have BNC (claim test-BNC on Bifrost Faucet), go to https://bifrost.app, switch to Bifrost Stage Network check all Collators.

Active: Active Collators, producing blocks and releasing Staking rewards. (The more stake a Collator has, the less reward the delegator gets, and vice versa)

Waiting: Collator candidates, no Staking rewards.

Tip: For each Collator, only top 100 delegators can receive Staking rewards, the ranking relates to delegating amount.

Step 2: Choose one Collator and click “delegate”, confirm the minimum bonding amount and start delegating.

Step 3: Check your Staking data & status.

Step 4: Unbond, revoke delegating. Click “unbond” and redeem your bondings, wait 24 rounds then you can receive it (no reward during the revoking period).

Run a Collator

Bifrost Pre-production Environment:

rpc:wss://bifrost-rpc.testnet.liebi.com/ws

Download Chain Spec

Run a Collator Node

1 /path/to/bifrost \

2 — collator \

3 — force-authoring \

4 — chain </path/to/bifrost-stage.json> \

5 — base-path <DATA_PATH> \

6 — ws-port=9944 \

7 — port=30333 \

8 — prometheus-external \

9 — state-cache-size 0 \

10 — \

11— chain </path/to/rococo-local.json> \

12 — execution wasm

Set SessionKey

  1. Generate SessionKey

curl -H “Content-Type: application/json” -d ‘{“id”:1, “jsonrpc”:”2.0", “method”: “author_rotateKeys”, “params”:[]}’ http://COLLATOR_IP:9933

2. Set SessionKey

Claim test-BNC

!drip <address>- Send 110 BNC to your address.

!top — Top 30 with the most delegate or collator rewards.

!rank <address>- Rank and rewards obtained by.

!help — show all commends

Apply for Candidate

  • extrinsic

parameters:

bond: candidate bonding amount 100,000,000,000,000 (100 BNCs)

candidateCount: existing candidate amount

  • event

If the total amount of Total Bonded is in the top 16, after 2 rounds, the new Collator can start to generate blocks and receive rewards.

--

--

Bifrost — One Stake, Endless Opportunities.
Bifrost — One Stake, Endless Opportunities.

Published in Bifrost — One Stake, Endless Opportunities.

Bifrost is a Liquid Staking app-chain tailored for all blockchains, utilizing decentralized cross-chain interoperability to empower users to earn staking rewards and DeFi yields with flexibility, liquidity, and high security across multiple chains.

Bifrost
Bifrost

Written by Bifrost

The Liquid Staking Standard for Any Chain.