Skip to main content
The Rhino.fi SDK is a JavaScript/TypeScript client for the Rhino.fi Stablecoin Activation Stack. It handles authentication, config fetching, quote generation and transaction execution, so you can bridge assets with a few lines of code. For other languages, use the REST API directly.

Install the package

Initialize the SDK

Use a public key if the SDK runs in a browser or mobile app. Use a secret key only in server-side code, where it can’t be exposed. See Authentication for what each key type can access.

Make a bridge transfer

This bridges 100 USDT from Arbitrum to Solana, and also delivers 4 SOL to the recipient address with Gas Boost. With mode: 'receive', the recipient gets exactly 100 USDT and fees are added on top (see Choose a mode). The checkQuote hook cancels the transfer if fees would be more than $5. In production, use your own signer, such as a custody provider or MPC wallet, instead of a raw private key.

Create a Smart Deposit Address

Smart Deposit Addresses let users send funds with a simple token transfer, with no contract interaction.
Once it’s created, anyone can send supported tokens to the deposit address, and the funds are settled to the destination automatically.
We recommend creating SDAs on every available EVM chain at once, so funds sent on the wrong chain are still detected automatically. For more details, see the SDK SDA reference or the Smart Deposit Addresses guide.

Resources

SDK concepts

Learn the core concepts of the SDK.

Core concepts

How quotes, deposits and settlement work across Rhino.fi.

Bridge functions

Learn more about the bridge functions.

Chain adapters

Connect to every supported chain with chain adapters.