Time to read: 1 min
Developer Hub
Here you will find hands-on code examples ("recipes") to help you integrate Rootstock's core features into your dApps, wallets, and services.
The Yield Engines
Use the Vaults SDK to build yield-bearing applications on the Bitcoin and Dollar engines.
Stablecoins
Integrate USDRIF
Mint and redeem USDRIF stablecoins or integrate the RIF savings rate into your dApp.
View RecipeBitcoin
Integrate rBTC Yield
Use the Vaults SDK to programmatically deposit rBTC and display yield data in your UI.
SDK GuideGetting Started
Browse our collection of technical guides by category.
Vaults & Yield
Technical resources for the Rootstock Vaults SDK.
- Vaults SDK Reference - Installation, initialization, and core methods.
- Querying Vault Data - How to fetch APY, TVL, and user balances via RPC.
- Building a Yield Dashboard - Frontend patterns for displaying Vault stats.
DeFi Guides
- Swapping Tokens (Uniswap v3) - Interact with the Rootstock v3 router.
- Lending & Borrowing - Integrate with MoneyOnChain or Trov.
- Flash Loans - Execute atomic arbitrage strategies.
Infrastructure & Tooling Guides
- Connect to RPC Nodes - Public and private endpoints for Mainnet/Testnet.
- Indexing with The Graph - Querying on-chain data with subgraphs.
- Oracles & Price Feeds - Using DIA or API3 for price data.
Quick Start
New to Rootstock? Start here to set up your environment.
| Tool | Purpose | Command / Link |
|---|---|---|
| Vaults SDK | Yield Integration | npm install @rootstocklabs/vaults-sdk |
| Foundry | Smart Contract Dev | Foundry for Rootstock Guide |
| Hardhat | Smart Contract Dev | Hardhat Config Guide |
| Rootstock CLI | Node Management | npm install -g @rsk-cli |