Using the Sanctum Stake Pool Program CLI
Install Rust and Cargo
https://doc.rust-lang.org/cargo/getting-started/installation.html
Install the Sanctum stake pool program CLI
Because we retain the manager and staker authorities, you can use the update, list, deposit-stake and withdraw-stake, and most of the time you will only need the first two.
Obtaining the stake pool details
The list command requires a pool address argument which you can get the Sanctum LST list and will return the current pool information, and notably the reserve address which you way want to use to give back to your stakers.
Updating the stake pool state
There is a permissionless crank that is needed to ensure the functioning of the stake pool. It should be run as soon as the epoch passes, or nobody can interact with the stake pool. Sanctum runs one for you but we recommend you to run a backup for redundancy.
Native unstaking
Although it's not YET available on our UI, you can achieve native unstaking through the CLI.
You can follow this guide to import your private key and save it to a file Then you can run:
We know this is not ideal and it will be improved soon!
Last updated