Validators & staking

LIVE ON MAINNET regtest + testnet also running

Alpha is hybrid: PoW produces blocks, bonded validators attest to checkpoints, and a finalized checkpoint cannot be reverted by an ordinary PoW reorganization.

1 · Bond POSBOND lock 2 · Register pubkey on-chain 3 · Committee deterministic pick 4 · Attest POSV in-block vote 5 · Finalize ≥2/3 → checkpoint pro-rata pool rewards accrue → OP_CLAIM payout (repeat every checkpoint) equivocation → bond slashed to pool

How it works (implemented)

  • Bond — lock ALPHA in a POSBOND output (consensus-enforced collateral, slashable)
  • Register — publish validator pubkey via OP_RETURN
  • Committee — deterministic sampling picks the voting committee per checkpoint
  • Attest — sign checkpoint (height + block hash) with a domain-separated ECDSA vote — committed in-block (POSV) and gossiped
  • Finalize — 2/3 of committee stake on one hash finalizes it
  • Protect — consensus rejects any reorg that undoes a finalized checkpoint
  • Slash — equivocation = bond seizure to the validator pool
  • Earn — pro-rata share of the validator pool (5% subsidy + 20% fees), claimed on-chain via OP_CLAIM
  • Rotate — key rotation via OP_ROTATE without losing bond or rewards
  • Delegate — bond weight can follow a delegate validator

Parameters

  • Regtest: checkpoint every 10 blocks, min bond 1 sat (testing)
  • Testnet: every 100 blocks, min bond 100 ALPHA
  • Mainnet: every 720 blocks, min bond 100 ALPHA — enabled
  • Quorum: 2/3 of eligible bonded stake, integer-exact
  • Vote window: recent checkpoints only (replay-safe per network)

Become a validator — 5 steps

You need three things: ≥ 100 ALPHA, a computer running the Alpha node, and about 30 minutes. Every step below links to what you need.

  1. Get ALPHA — mine it with the mining guide or receive it in your web wallet. You need at least 100 ALPHA; freshly mined coins need 100 confirmations before spending.
  2. Run a node — download the software from the GitHub repository and start it: python alphad.py --chain main --datadir ./data-mainnet (downloads · developer docs).
  3. Load your wallet — on the wallet page tap Show WIF and copy it, then on your node run importprivkey <WIF> — your existing coins become spendable by the node. (Keep the WIF private — it controls your funds.)
  4. Bond 100 ALPHA — run posbond on your node. It locks your stake into a slashable POSBOND output and registers your validator pubkey on-chain in the same transaction.
  5. Attest checkpoints — run posvote height blockhash every checkpoint (~720 blocks). Automate it with cron using posvote-cron.sh.

Every command, copy-paste ready: the full walkthrough is in VALIDATOR_SETUP.md. Validators that go offline simply miss rewards — no penalty beyond lost share; slashing applies only to equivocation (signing two different checkpoints at the same height). Check posinfo for live validator count and quorum.

RPC

MethodPurpose
posregisterRegister validator pubkey on-chain
posvote height blockhash addressSign + submit attestation
posinfoValidators, bond, quorum, finalized tip
posvalidators / posvotes / posfinalityRegistry, attestations, checkpoints
posevidence vote_hexSubmit equivocation evidence → slash
Honest limitations: instant bond seizure is not possible under bare-CLTV bonds (seizure takes effect at unlock height); pool payouts are P2PKH-co-signed (no covenant script yet); the reward split activates once the validator pool payout address is configured on mainnet. PoS finality itself is enabled on mainnet — external audit coverage of the PoS path is ongoing. The old "staking" RPC remains a separate CLTV yield product — it is not consensus staking.