TruStake Staker Examples
We’ve launched a dedicated Trufin-io/examples repo with working examples to help you stake programmatically using our TruStake Stakers.
Currently, the repository includes support for:
Solana
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: https://github.com/trufin-io/examples/tree/main/packages/solana-staking
More networks and examples will be added soon!
Last updated
Was this helpful?