Validators & staking

V1 LIVE ON REGTEST/TESTNET — MAINNET PENDING

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 (proposed)
  • Mainnet: every 720 blocks (~24 h), min bond 100 ALPHA — disabled until audit
  • Quorum: 2/3 of eligible bonded stake, integer-exact
  • Vote window: recent checkpoints only (replay-safe per network)

How to join (testnet today)

  1. Get test ALPHA — faucet on the wallet page (10 ALPHA / 24 h per address)
  2. Run a node: python alphad.py --chain test --datadir ./data-test --port 20333 --rpcport 20332
  3. Bond: posbond RPC locks ALPHA into a slashable POSBOND position (pick an unlock height; optional delegate)
  4. Register your validator key: posregister
  5. Attest checkpoints: posvote height blockhash — the node signs + submits; in-block POSV votes carry weight
  6. Earn: your pro-rata share of the validator pool accrues automatically; withdraw on-chain with an OP_CLAIM transaction

Full node + open port required — validators that go offline simply miss rewards (no penalty beyond lost share; slashing only applies to equivocation).

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); mainnet enable waits for the Phase 15 audit + committee-size decision. The old "staking" RPC remains a separate CLTV yield product — it is not consensus staking.