Autonomous Real-World Asset Allocation on Base
RivectumRWA is an autonomous allocation protocol that rebalances tokenized US Treasuries & ETH on Base Sepolia using ERC-4626 vaults and an on-chain agent. Think: automated yield strategy that runs itself.
User deposits USDC β ERC-4626 Vault β 60% US Treasuries (RWA)
β 40% ETH (Crypto)
Agent cron loop β checks TVL every 6h β rebalances if drift > 5%
β logs decisions to SQLite
| Layer | Stack |
|---|---|
| Smart Contracts | Solidity 0.8.24 Β· Foundry Β· OpenZeppelin ERC-4626 Β· Solady |
| Agent | Bun + TypeScript Β· viem Β· Drizzle + SQLite |
| Dashboard | Next.js 15 Β· Reown AppKit 1.7.19 Β· wagmi Β· Tailwind CSS 4 |
| CLI | Bun + TypeScript Β· agent/user namespaces |
| Infra | PM2 Β· Nginx Β· VPS (109.199.103.135) |
|
π Docs
User guides, security overview, tutorials β written for everyone |
π¨ INFRA
Architecture docs, UI overview, backend specs, environment reference |
βοΈ CLI
Command-line tool for agent rebalance & user portfolio management |
π¦ SDK
TypeScript SDK β @rivectum/user-sdk, @rivectum/developer-sdk, @rivectum/bot-sdk |
|
π€ Hermes Skills
AI agent skills: protocol guide, web dashboard, FAQ troubleshooting, CLI operator |
| Component | Status |
|---|---|
| Vault.sol (ERC-4626) | β 10 tests passing |
| Reown AppKit auth | β Integrated |
| VPS + PM2 + Nginx | β Deployed |
| Agent rebalance loop | β Running |
| CLI v0.1.0 | β Published |
| Base Sepolia contracts | π Deploy pending |
| Demo mode | π NEXT_PUBLIC_DEMO=true |
Internal project β reach out via X or open an issue.
Built on Base Sepolia π»