Abey staking guide

Last updated: January 2026

This guide explains how staking works on Abey and provides step-by-step instructions for running a validator and using the staking CLI.


Overview

Abey adopts Delegated Proof of Stake (DPoS). DPoS committee members use the PBFT protocol to produce fast blocks, which include transactions and confirm previous snail blocks.

Meanwhile, fPoW miners mine:

  • Fruits (which reference fast blocks)

  • Snail blocks (which include fruits)

This hybrid design helps resist long-range attacks and prevents chain tampering.


Validator

Validators are DPoS committee members responsible for processing transactions and producing blocks.

  • Minimum stake: 20,000 ABEY

  • 4 CPU cores

  • 16 GB RAM

  • 200 GB disk space

  • 4 Mbps network bandwidth

  • Public IP address (required for committee participation)


Lock Period

Staked assets are subject to a lock period after unstaking.

  • Lock duration: 25,000 fast blocks

  • Approximate time: 15 days


Staking Guide

Staking and withdrawal operations are handled by a system staking contract. Anyone may interact with the contract directly, and the node also provides RPC APIs to query staking and reward information.

A dedicated staking CLI is provided for convenience.


Staking Contract

The Abey staking contract is deployed at:


RPC and SDK


Building the CLI

The Abey Staking CLI allows users to interact with the staking contract and participate in PoS consensus.

More details are available here:


Building Abey

Follow the installation instructions for your platform:


Preparing the Node

RPC Support

  • Use --rpcaddr 0.0.0.0 to listen on all interfaces.

  • Use 127.0.0.1 to restrict RPC access to the local host.

BFT Support

Requirements:

  • bftip must be a public IP

  • Open firewall ports:

    • 8545 (RPC)

    • 30310 (BFT)

    • 30311 (BFT secondary)

Example Startup Command


Building from Source

Building impawn requires both Go and a C compiler.


Staking CLI Workflow

The staking workflow consists of the following steps:

  1. Impawn (Deposit) Deposit ≥ 20,000 ABEY to become a validator candidate.

  2. Cancel (Unstake) Signal intent to leave the committee in the current epoch.

  3. Withdraw After ~15 days, actively withdraw unlocked tokens.

Additional actions:

  • Use Append if your stake is below the threshold

  • Use UpdateFee to change validator fee rate

  • Use UpdatePK to update validator public key

  • Use QueryReward to check rewards and balances


Impawn (Deposit)

Parameters

  • --keystore: Keystore file containing the validator private key

  • --rpcaddr, --rpcport: Validator node RPC endpoint

  • --value: Deposit amount (must be ≥ 20,000 ABEY)

  • --fee: Fee rate (0–10000), where fee / 10000 is the percentage


Cancel (Unstake)

Cancels part of the stake and moves it into the locked state.


Query Staking

Displays:

  • Staked balance

  • Locked balance

  • Unlocked balance

  • Withdrawable block height


Withdraw

Withdraws unlocked stake after the lock period.


Append Stake

Adds additional stake to an existing validator deposit.


Update Fee

Updates the validator’s fee rate.


Update Public Key

Updates the validator’s BFT public key used for committee communication.


Query Rewards

Displays:

  • Available balance

  • Locked balance

  • Rewards per snail block


Send Transaction

Sends a normal transfer transaction (non-contract call).


Query Transaction

Queries a transaction by hash.

Last updated