The Mantle RWA & Yield Aggregator SDK is a developer toolkit that provides a unified TypeScript API to interact with Real World Assets (RWA) and yield-bearing protocols across the Mantle network. Inst
https://mantle-yield-playground-main.vercel.app/
Mantle RWA & Yield Aggregator SDK
The Mantle RWA & Yield Aggregator SDK (@mantle-rwa-yield-sdk) is a developer toolkit that provides a unified TypeScript API to interact with Real World Assets (RWA) and yield-bearing protocols across the Mantle network. Instead of integrating each protocol individually, developers get one simple interface to read positions, yields, and build transactions across Mantle's diverse RWA ecosystem.
Mantle has rapidly grown its RWA ecosystem with tokenized treasuries, equities, stablecoins, and yield strategies (mETH, fBTC, USD1, etc.), but developers face significant friction:
Fragmented integrations: Each protocol has unique contracts, ABIs, and data formats.
Repetitive boilerplate: Every dApp must rediscover addresses, write custom calls, and handle edge cases.
Poor DX: No standardized data model for positions, yields, or risk across protocols.
Slow onboarding: New teams spend days just to display basic balances and APRs.
This integration complexity slows Mantle RWA adoption despite its technical advantages.
A lightweight NPM package that abstracts Mantle's RWA and yield landscape behind clean, type-safe APIs:
const sdk = new MantleRWAYieldSDK({ rpcUrl: "mantle-mainnet" });
const positions = await sdk.getUserPositions("0x...");
const tx = sdk.buildDepositTx("meth-pool", amount);
Key benefits:
One integration: Works across all major Mantle RWA/yield protocols.
TypeScript-first: Full types, docs, and examples.
Production-ready: Handles RPCs, multicalls, and error cases.
Extensible: Easy to add new protocols via adapters.
Developer dApp Mantle RWA & Yield SDK Mantle Network
├── npm install sdk ├── Protocol adapters ├── mETH vault
├── sdk.getPositions() ├── Multicall + data mapping ├── USD1 pool
└── sdk.buildTx() ├── Normalized data model ├── Treasury tokens
└── Transaction builders
Core flow:
SDK maintains a registry of supported protocols (mETH, RWA pools, lending markets).
Developers call simple methods like getUserPositions(address) → SDK makes batched RPC calls to all relevant contracts.
Returns normalized data: { protocol, asset, balance, apr, riskLevel }.
Transaction helpers like buildDepositTx() generate ready-to-sign calldata.
Goals of the Product
Reduce integration time: From days of protocol research to hours of SDK usage.
Standardize RWA data: Consistent position/yield schema across Mantle protocols.
Accelerate ecosystem growth: Make Mantle the easiest chain for RWA/yield dApps.
Track alignment: Perfect fit for "Infrastructure & Tooling" with developer SDK focus.
Mantle-native: Built specifically for Mantle's RWA ecosystem (mETH, USD1, tokenized treasuries).
Uses Mantle RPCs: Optimized for Mantle's low fees and high throughput.
Protocol coverage: Integrates Mantle's Tokenization-as-a-Service assets and yield strategies.
Future-proof: Adapter pattern supports new Mantle RWA launches automatically.
Component | Technology | Function |
Core SDK | TypeScript + ethers.js | Unified API across Mantle protocols |
Protocol adapters | Custom classes per protocol | Normalize data from mETH, USD1, etc. |
RPC layer | Mantle RPC (QuickNode/Chainstack) | Batch contract calls, optimized for Mantle |
Transaction builders | ethers.js ABI encoding | Generate deposit/withdraw calldata |
Documentation | TypeDoc + examples | Auto-generated API docs |
Demo playground | Next.js + wagmi | Live demo of SDK usage |
Testing | Vitest + Hardhat | Protocol integration tests |
Distribution | NPM + GitHub | Easy installation and CI/CD |