What you can do
| stake | Buy dSOL with SOL | swap SOL for dSOL on Sanctum (app.sanctum.so), which deposits into the pool; the on-chain instruction for a direct deposit was not read |
| migrate-stake | Move an active stake account into dSOL | use the Migrate tab at app.sanctum.so/migrate, which delegates to the Drift Validator |
| hold-dsol | Hold and transfer dSOL | SPL Token transfer or transferChecked of mint Dso1bDeDjCQxTrWHqUUi63oBvV7Mdm6WaobLbQ7gnPQ between token accounts |
| check-pool | Read pool and supply | read pool account 9mhGNSPArRMHpLDMSmxAvuoizBqtBGqYdT8WGuqgxNdn and getTokenSupply on the dSOL mint |
The Drift Validator charges a 10% commission, per Sanctum's launch post. Migrated stake earns rewards after that commission.
The pool program is Sanctum's build of the SPL stake pool, and its instruction set was not read. Do not assume SPL instruction names.
Unstake and fee details were not confirmed from an official page. Check on Sanctum before acting.
Swap prices on DEXs can differ from the pool rate. Use the pool rate for accounting.
Contracts
Read any function, or build a write and sign it. Amounts are in base units (1 USDC = 1000000).SanctumSpl stake pool program (dSOL pool program)staking on solanaSP12tWFxD9oJsVWNavTTBZvMbA6gkAmxtVgxdqvyvhY
dSOL stake pool accountpool on solana9mhGNSPArRMHpLDMSmxAvuoizBqtBGqYdT8WGuqgxNdn
dSOL token minttoken on solanaDso1bDeDjCQxTrWHqUUi63oBvV7Mdm6WaobLbQ7gnPQ
write transfer(amount: u64)
Standard SPL Token transfer of dSOL between two token accounts (Tokenkeg program).
write transferChecked(amount: u64, decimals: u8)
SPL Token transfer that checks the decimals against the mint. Read the decimals from the mint account first.
write approve(amount: u64)
Delegate an amount of dSOL to a spender token account.
write burn(amount: u64)
Burn dSOL from a token account owned by the signer.
read getTokenSupply(mint)
Total dSOL supply and decimals from the mint account.