Developers
Build with fluid assets.
Type-safe SDKs in your language of choice, audited contracts, and a hosted indexer. Ship in hours, not weeks.
Official SDKs
TypeScript
@rivr/sdk
Browser and Node. Tree-shakeable, fully typed against the on-chain ABI.
npm i @rivr/sdk
Rust
rivr-rs
Async client with strongly typed transactions and built-in retry logic.
cargo add rivr
Python
rivr-py
Quant-friendly bindings with pandas integration for yield analytics.
pip install rivr
stake.ts
import { RivrClient } from "@rivr/sdk";
const rivr = new RivrClient({ rpc: process.env.RPC_URL });
// Stake 1,000 RIVR and receive stRIVR
const tx = await rivr.staking.stake({
amount: 1_000n * 10n ** 18n,
receiver: wallet.address,
});
console.log(`Confirmed: ${tx.hash}`);
console.log(`Live APR: ${await rivr.staking.currentApr()}%`);