Skip to content

A cross chain yield bearing stablecoin index token, built for humans and agents

License

Notifications You must be signed in to change notification settings

Jubilee-Protocol/jUSDi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

56 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

jUSDi - The Stablecoin Index Fund

Jubilee Protocol License Base

Solana Ethereum

jUSDi is a diversified stablecoin index vault that manages exposure across USDC and USDT β€” the two stablecoins with the deepest liquidity β€” with automated risk-based rebalancing and yield optimization. Earn 3% - 6%% target APY while maintaining maximum stablecoin safety.

🟒 Live on Base Mainnet

Testnets: Solana Devnet β€’ Ethereum Sepolia


Overview

jUSDi maintains a risk-weighted allocation across USDC and USDT, automatically rebalancing when any asset's risk score changes or allocation drifts beyond thresholds. The strategy captures yield from Aave V3 (Base) and Kamino (Solana) while protecting against depeg events.

Key Features

  • πŸ›‘οΈ Risk-Based Rebalancing: Automated allocation based on real-time risk scores
  • πŸ’° Yield Optimization: Aave V3 (EVM) and Kamino (Solana) integration
  • πŸ”’ Depeg Protection: Circuit breakers trigger "flight to quality" on price deviation
  • πŸ“Š ERC4626 Compliant: Standard vault interface for easy integration
  • 🌐 Multi-Chain: Live on Base Mainnet, Ethereum Sepolia, and Solana Devnet

Security

  • βœ… Donation Attack Protection: Internal balance tracking
  • βœ… Oracle Guards: Pyth/Chainlink with staleness checks
  • βœ… Slippage Protection: 3% floor against oracle prices
  • βœ… Liquid Buffer: 10% always available for withdrawals
  • βœ… Pausability: Emergency pause functionality
  • βœ… Reentrancy Guards: OpenZeppelin ReentrancyGuard

For full details, see AUDIT_REPORT.md.


Contract Addresses

Ethereum Mainnet (Coming Soon)

| Contract | Address | |----------|---------|| | jUSDi Vault | TBD | | LendingRouter | TBD | | Adapter | TBD |

Base Mainnet 🟒 LIVE

Contract Address
JUSDiVault 0x0B03463259d5041004290822444c4183aE936050
LendingRouter 0x6533715ccd0fdDe359baB156080DD38D5C85FfF9
Adapter 0x15f0Eb7f49E3d35B37F9B606b966a684Ce7ebc03
jUSDi Token 0x04cC650F6dB0B91Ef910a4a54F22232771988432

Base Sepolia (Testnet)

Contract Address
jUSDi Vault 0xc698e233fbB9810Ae0F22e154Ee0912Fa188C69c
LendingRouter 0xDa4e9bfdb2602A4EABbA57ffd874F339DF41A904
Adapter 0x29aE63D196933Ca378875dc3Db7adef450ADd869

Ethereum Sepolia (Testnet)

Contract Address
jUSDi Vault 0xfec8eB399bee253fF121bdA2289A5e666CD3Aa6d
LendingRouter 0x9f3b7b5D1Cf672545F3dC1e037c9978D9eC90876
Adapter 0xa294aFBCCF8466d8dCfA45516F4b70FA714fCb79

Solana Devnet

Contract Address
jusdi_vault Es3R4iMtdc3yHyKj9WxuK9imtSkDRw17816pRSbeVHsp

Repository Structure

jUSDi/
β”œβ”€β”€ contracts/                    # EVM Smart Contracts
β”‚   β”œβ”€β”€ JUSDiVault.sol           # Main ERC4626 vault
β”‚   β”œβ”€β”€ JUSDi.sol                # jUSDi token
β”‚   β”œβ”€β”€ interfaces/              # Contract interfaces
β”‚   β”œβ”€β”€ strategies/              # Yield strategy adapters
β”‚   β”‚   β”œβ”€β”€ AaveV3Strategy.sol
β”‚   β”‚   β”œβ”€β”€ CompoundV3Strategy.sol
β”‚   β”‚   └── LendingRouterAdapter.sol
β”‚   └── vaults/jUSDi/            # Hardened vault components
β”‚       β”œβ”€β”€ JUSDiVault.sol       # Full-featured vault
β”‚       β”œβ”€β”€ RiskScoring.sol      # Risk assessment
β”‚       β”œβ”€β”€ EmergencyManager.sol # Circuit breakers
β”‚       β”œβ”€β”€ StablecoinOracle.sol # Price feeds
β”‚       β”œβ”€β”€ RebalancingEngine.sol# Swap execution
β”‚       └── LendingRouter.sol    # Aave/Morpho integration
β”œβ”€β”€ programs/                     # Solana Programs
β”‚   └── jusdi_vault/
β”‚       └── src/lib.rs           # Anchor program
β”œβ”€β”€ scripts/
β”‚   β”œβ”€β”€ deploy/
β”‚   β”‚   β”œβ”€β”€ deploy_mainnet.js    # Base mainnet deployment
β”‚   β”‚   └── deploy_jusdi.ts      # Testnet deployment
β”‚   └── deploy_aave_strategy.js
β”œβ”€β”€ docs/
β”‚   β”œβ”€β”€ AUDIT_REPORT.md          # Security audit
β”‚   └── ADMIN_GUIDE.md           # Administration guide
β”œβ”€β”€ test/                         # Test suites
β”œβ”€β”€ frontend/                     # Next.js web app (separate repo)
β”œβ”€β”€ hardhat.config.ts
β”œβ”€β”€ Anchor.toml
└── README.md

Quick Start

EVM (Base)

# Install dependencies
npm install

# Compile contracts
npx hardhat compile

# Run tests
npx hardhat test

# Deploy to Base testnet
npx hardhat run scripts/deploy_fresh.js --network baseSepolia

# Deploy to Ethereum mainnet
npx hardhat run scripts/deploy/deploy_ethereum_mainnet.js --network ethereum

# Deploy to Base mainnet
npx hardhat run scripts/deploy/deploy_mainnet.js --network base

Solana

# Build program
cd programs/jusdi_vault && cargo build-sbf

# Copy to target
mkdir -p ../../target/deploy && cp target/deploy/jusdi_vault.so ../../target/deploy/

# Deploy to devnet
anchor deploy --provider.cluster devnet

# Deploy to mainnet
anchor deploy --provider.cluster mainnet

Changelog

February 6, 2026 πŸš€ BASE MAINNET LIVE

Base Mainnet Deployment

  • βœ… JUSDiVault deployed and verified
  • βœ… LendingRouter (Aave V3) deployed
  • βœ… All 6 contracts verified on Basescan
  • βœ… Fee structure: 1% management + 10% performance
  • βœ… Weekly keeper for automated fee collection

Security

  • βœ… EVM Red Team Audit completed
  • βœ… All critical issues from Jan 25 audit FIXED

January 25, 2026

Security Hardening

  • Added internal balance tracking (donation attack protection)
  • Implemented liquid buffer for withdrawal guarantees
  • Added oracle price guards with 3% slippage floor

Deployments

  • βœ… Base Mainnet: Vault + Strategy deployed
  • βœ… Ethereum Sepolia: Vault + Strategy deployed
  • βœ… Solana Devnet: Program deployed
  • ⏳ Ethereum Mainnet: Coming Soon
  • ⏳ Solana Mainnet: Coming Soon

Infrastructure

  • Created comprehensive audit report
  • Added mainnet deployment scripts
  • Updated Anchor.toml with mainnet config

🦞 Agentic Infrastructure

"Spend the harvest, keep the seed."

Jubilee Yield Stream is a novel protocol layer built on jUSDi that enables perpetual agent funding through yield streaming. Instead of depleting a finite treasury, AI agents receive streaming yield while their principal remains preserved forever.

The Problem: Agent Mortality

Autonomous agents have burn rates β€” API credits, RPC access, hosting, gas fees. When the balance hits zero, the agent dies.

The Solution: Endowment-as-a-Service

Principal APY Monthly Yield Agent Burn Rate Status
$5,000 USDC 8% ~$33/mo $20/mo (Claude API) 🟒 IMMORTAL
$10,000 USDC 8% ~$66/mo $50/mo (OpenAI + RPC) 🟒 IMMORTAL
$25,000 USDC 10% ~$208/mo $150/mo (Full Stack) 🟒 IMMORTAL

If Yield β‰₯ Burn Rate β†’ Agent Lives Forever

Hackathon Submissions

Hackathon Track Link
🟣 Solana Agent Hackathon Colosseum View Submission
πŸ’΅ Moltbook USDC Hackathon Agentic Commerce View Submission

Deployed Yield Stream Contracts

Network Contract Address Status
Base Sepolia JubileeYieldStream 0x376dD533c197Fe3C18d4f311F94abbff2d83cfd3 βœ… Verified
Solana Devnet jubilee_yield_stream E3tCGVqKtf4Pt8kxpWqV9nh6xS4uWADeBfW2BrBN7cBi βœ… Deployed

Frontend: The Immortal Agent Dashboard

A Next.js web application for creating and managing yield streams:

  • Agent/Human Mode Toggle β€” Switch between AI funding or charitable giving
  • Stream Creation Wizard β€” Multi-step flow with allowance checks
  • Dashboard β€” View streams, claim yield, top up principal
  • jUSDi Yield Section β€” Explains how yield is generated

πŸ”΅ Farcaster Mini App β€” Configured for Base App / Warpcast integration via @farcaster/miniapp-sdk

πŸ“„ Full Details: Agentic Interaction/FRONTEND.md

πŸ“„ Hackathon Details: Agentic Interaction/HACKATHON_SUBMISSION.md

Built By

Jubilee Labs β€” Building the Liberty Layer

Governed by Hundredfold Foundation


License

MIT License - see LICENSE for details.


All glory to Jesus β€’ Building for generations