Deposit stablecoins. Get automated yield, programmable money flows, and a single API to manage it all. Without ever giving up custody.
// Discover strategies and deploy capital let client = TreasuryClient::new(config); let strategies = client .discover_strategies("USDC", amount) .await?; // Engine recommends optimal allocation let plan = strategies .best_allocation() .with_max_protocols(3) .build()?; // Get unsigned transactions let txs = client .plan_operations(&plan) .await?; // Sign with your custody solution let signed = signer.sign_batch(&txs)?; client.submit(&signed).await?;
// Same platform, TypeScript bindings import { Treasury } from '@treasury/sdk'; const treasury = new Treasury({ network: 'hyperevm', wallet: connectedWallet, }); // One call to optimize your position const { txs, summary } = await treasury .optimize({ asset: 'USDC', amount: parseUnits('50000', 6), riskTolerance: 'moderate', }); // Review and sign for (const tx of txs) { await wallet.sendTransaction(tx); }
Non-custodial. Withdraw anytime. One deposit to start earning yield across the best protocols on Hyperliquid.