Overview
Breeze is a Solana-based yield platform that allows users to deposit and withdraw assets from managed yield funds via smart contracts and APIs.In this guide, we’ll walk through how to use Turnkey wallets to sign transactions that interact with Breeze funds, including deposits, withdrawals, and balance queries. We’ll demonstrate this using the
with-breeze
example, which integrates Turnkey, Solana, and Breeze for staking deposits/withdrawals.
Getting started
Before you begin, make sure you’ve followed the Turnkey Quickstart guide.You should have
- A Turnkey organization and Auth Proxy Config ID
- An account funded with USDC on SOL
Install dependencies
Setting up the Turnkey wallet
We’ll use the @turnkey/react-wallet-kit package to authenticate and load a Turnkey wallet in the browser.Setting up the Breeze client
We’ll use the Breeze SDK to interact with Breeze funds. Create a helper file actions/breeze.ts:Depositing into a Breeze fund
Here’s how you can use your Turnkey signer to submit a deposit transaction.Withdrawing from a Breeze fund
Withdrawals follow the same pattern using createWithdrawTx.Checking balances and yield info
Summary
✅ You’ve now learned how to:- Authenticate with Turnkey via @turnkey/react-wallet-kit
- Use a TurnkeySigner to sign Solana transactions
- Interact with the Breeze API for deposits, withdrawals, and yield queries