repo.ing
← git log
dd0a29fHooksKikka4 min read

Staking is live

Creators can now set coins aside for people who stake, share part of every trade with them, and vest their own coins in the open.

Staking is live on repo.ing. A creator launching a Hooks coin can now add three things. Like every Block, they are picked at launch and fixed after.

  • Staking rewards. 2%, 5% or 10% of the supply is set aside for people who stake. It is paid out evenly over 30, 90, 180 or 365 days.
  • A Stakers share of the fee. Part of every buy and sell goes to stakers, in SOL, the same way the holders’ share does. repo.ing keeps 10% of it, as it does of the holders’ share and the burn.
  • Creator vesting. The creator can lock 5%, 10% or 20% of the supply for themselves. It unlocks bit by bit over 90, 180 or 365 days, after an optional wait of 30 or 90 days. Locked coins stay locked for everyone, the creator included.

Everything set aside shows on the launch review and on the coin page, and it counts in the coin’s safety grade.

Staking rewards

Hooks coins
Reward supply the creator set aside
Paid out over, in days
You earn per day
27,778coins
Over all 90 days
2,500,000coins

50,000,000 coins set aside, released evenly. That is 0.25% of the supply for you.

An example that holds your share fixed. Real shares move as people stake and unstake, and rewards are shared at every 8-hour close among everyone staked. Coins shown are the coin’s own, not SOL.

How staking works for a holder

You stake the coin on its page, once. That one stake earns both: a part of the reward supply and a part of the Stakers fee in SOL. You can claim either at any time, and unstake at any time. There is no lock-up and no bonus for staying longer.

New stake starts earning at the next close. Closes happen every 8 hours, at 00:00, 08:00 and 16:00 UTC, so staking just before a close does not earn that close. If nobody is staked when a close comes, its rewards wait for the next close that has stakers.

Until the coin graduates, staked coins still count toward the coin’s max per wallet. A claim or an unstake that would take your wallet over that cap moves only what fits, and the rest stays claimable. After graduation the cap goes away.

What a creator picks

Staking is for Holders Earn coins, so you give holders a share of the fee first. A trade pays at most three parts out of You, Holders, Burn and Stakers, so with a Stakers share one of You or Burn is 0. All fees together stay within 10% of a trade. Rewards and vesting together can set aside up to 30% of the supply.

For now staking does not go with Paperhands Pot, a game or sharing with a repo’s builders, and a Stakers share does not go with buying at launch.

Coins set aside are not sold on the bonding curve. The curve still raises the same SOL to graduate, so a staking coin opens at a higher price than one without. The launch review and the coin page show this.

How we shipped it

Staking needed new versions of the programs that run every Hooks coin. Before the upgrade we built the new code twice on a clean server and checked the two builds were identical. We ran a whole staking coin on a test copy of the network: launch, setup, trades, staking, a real 8-hour close, vesting, and every refusal the program should give. Then we replayed every live Hooks coin on the old code and on the new code, and every account came out the same, byte for byte.

The upgrade needed two of three keyholders to approve it. The full staking test now runs again every night.

What you are trusting

Staking runs on repo.ing’s Hook Lab programs. No instruction in them lets anyone take the reward supply, the staked coins, the Stakers’ SOL or the creator’s vesting, or change a coin’s schedule after launch. The programs themselves can be upgraded by a Squads multisig, so you are trusting that multisig. Many wallets and explorers may not show Hooks coins yet.

Rewards are paid in the coin itself, so they are worth whatever the coin is worth. There is no fixed yield. A coin can lose all of its value.

Try it at /hooks/new: pick Holder rewards, then Staking rewards and vesting.

← → arrow keys move between posts