stacking

Installation
SKILL.md

Stacking Skill

STX staking on PoX-5 (active on mainnet since reward cycle 141). PoX-5 is not a rename of pox-4:

  • Every stake names a signer manager, a contract implementing pox-5's signer-manager-trait. There is no pool delegation (delegate-stx) and no reward address on the stake itself; the manager decides who may join and reads any payout preferences from optional signer calldata.
  • Rewards are paid in sBTC to the signer manager. A staker is paid when the manager pulls its share from pox-5 (claim-rewards) and then pays the staker (claim-staker-rewards). Managers implement that second step differently, and some pay off-chain.
  • stake, stake-update and unstake are refused during the prepare phase (the last 100 blocks of each cycle).
  • Locks are not transfers: transactions carry pox-5's own post-conditions (a staking lock amount, or "performs PoX") in Deny mode.

Every write first confirms pox-5 is still the network's active PoX contract and refuses before signing otherwise.

  • get-pox-info, get-stacking-status, list-signers, get-rewards — read-only, no wallet required (status and rewards default to the active wallet's address).
  • stack-stx, extend-stacking, unstake-stx, claim-rewards — write operations, require an unlocked wallet.

Usage

bun run stacking/stacking.ts <subcommand> [options]
Installs
164
Repository
aibtcdev/skills
GitHub Stars
11
First Seen
Mar 4, 2026