TruStake Staker Examples
Last updated
Was this helpful?
Last updated
Was this helpful?
We’ve launched a dedicated repo with working examples to help you stake programmatically using our TruStake Stakers.
Currently, the repository includes support for:
The Solana example demonstrates how to:
Connect to the TruStake staking vault on Solana
Stake SOL programmatically into the vault
Monitor stake balance and calculate share value
Unstake and withdraw SOL via the stake pool
Explore the Solana example here:
More networks and examples will be added soon!