Documentation Index
Fetch the complete documentation index at: https://blank.build/docs/llms.txt
Use this file to discover all available pages before exploring further.
Developer Staking
There are two different things you can do with staking from the SDK:- Route part of trading fees to stakers. Prefer doing this directly in
blank.launch.create(). - Drop in an external creator-funded bonus. Done any time, as often as you want.
1. Enable staking at launch
For new tokens, includestaking in the launch input:
shareBps is in basis points (100 bps = 1%). Valid range: 100 to 10,000, i.e. 1% to 100%.
Enable staking after launch
If a token was launched without staking, the current token controller can enable it later:2. Top up the staking pool
If your project wants to add a creator-funded SOL bonus to stakers, choose the amount yourself and calltopUp:
Things that have to be true
A top-up only works when all of these are satisfied:- You’re authenticated as the current token controller.
- Staking is enabled in our database.
- The on-chain staking pool exists.
- The staking program and pool are not paused.
- There’s at least one active staker other than the controller.
- Amount is greater than zero and at most 10,000 SOL.