# TruStake Staker Examples

We’ve launched a dedicated [TruYields-io/examples](https://github.com/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!


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://truyields.gitbook.io/docs/trustake-staker-examples.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
