Private mode active — wallet addresses obfuscated · trades routed through privacy relay
Swap
Private swap on. Wallet masked, MEV protected, routed through privacy relay.
Demo prices. Rates shown are illustrative only. Live oracle integration (Pyth Network) required before real trading. Do not use for financial decisions.
0.1%
0.5%
1.0%
Auto
Sell
SOL
$0.00
Buy
MBusd
$0.00
Rate1 SOL = 183.24 MBusd
Fee0.01%
Price impact< 0.01%
Min received0 MBusd
modelbx 62%Raydium 24%Orca 14%
Privacy Controls
Private Mode
Route through relay, mask wallet
MEV Protection
Block front-running bots
Hidden Amounts
Obscure trade size until confirmed
Address Rotation
Fresh intermediary per trade
Private LP
Pool shares unlinkable from wallet
No KYC. No personal data collected.

Explore

Markets, pools, and DEX integrations on Solana.

DEX Integration
Connect your protocol to modelbx routing. Full API reference in Docs.
Connected DEXes
🌊Raydium
Live
🌀Orca
Live
☄️Meteora
Live
📖OpenBook
Live
Phoenix
Live
🦅Drift
Live
🦋Lifinity
Live
🪐Saros
Live
🔮Invariant
Live
Your DEX
Tokens
All
Trending
New
Stablecoins
#TokenPrice24hVolumeMkt Cap

Liquidity Pools

Native modelbx pools backed by MBX and SOL collateral. MBusd pairs prioritized in routing.

Private LP available. Enable address rotation to keep positions unlinkable from your wallet.
MBX Reserve
840M MBX
Protocol-owned liquidity backing
MBusd in Pools
14.2M MBusd
Native stablecoin liquidity
SOL Reserve
42,000 SOL
Collateral reserve layer
Add Liquidity
0.01%
0.05%
0.30%
1.00%
Est. APY24.8%
Routing priorityHigh
Your share~0.00%
Top Pools
Your Positions
Connect wallet to view positions

Borrow

Lock MBX or SOL to mint MBusd at 0% interest. Swap MBusd 1:1 for USDC instantly.

MBusd Supply Cap
0 / 500,000 MBusd 0%
✓ Raise via governance Admin portal →
0 MBusd Launch cap — lift when protocol is stable 500,000 MBusd
MBusd Supply
0
of 500K cap
MBX Collateral
840M
MBX locked
SOL Collateral
$22.8M
SOL locked
Stability Pool
4.2M
MBusd deposited
Private borrowing. Positions routed through relay accounts to prevent wallet-collateral correlation.
Mint MBusd — Lock Collateral
◈ MBusd · modelbx Native Stablecoin · Hard-pegged 1:1 via collateral redemption
Health: Min ratio: 150%
Interest0% — always
Mint fee0.5% once
Max mintable0 MBusd
LiquidationRedistribution model
◈ MBusd ↔ USDC — 1:1 Exchange
MBusd is always redeemable at exactly 1:1 with USDC. No slippage. No price impact. Backed by protocol reserves.
MBusd → USDC
MBusd
USDC
Rate: 1 MBusd = 1.00 USDC · Fee: 0%
USDC → MBusd
USDC
MBusd
Rate: 1 USDC = 1.00 MBusd · Fee: 0%
Liquidation & Redistribution
1
CR falls below 150% → protocol liquidates instantly.
2
Stability Pool absorbs first — depositors earn collateral at ~5–10% discount.
3
Redistribution if needed — remaining collateral + debt spread proportionally to all open positions. Bad debt is impossible.
4
MBusd can be deposited to stability pool to earn rewards from liquidations.
Stability Pool
Deposit MBusd as first defense against liquidations. Earn MBX + SOL collateral at a discount.
Pool balance4,200,000 MBusd
Est. yield~8–15% in collateral
Use MBusd in Pools
Put your minted MBusd to work immediately. Add it to MBX/MBusd or SOL/MBusd pools to earn additional swap fees.
Connect wallet to view portfolio

Governance

Stake MBX to vote on proposals. A simple majority triggers execution after the voting period. Supply cap raises double the cap automatically on passing.

MBusd Supply Cap Status
Current: 500,000 MBusd → If raise passes: 1,000,000 MBusd (×2)
✓ Ready to propose
Active Proposals
Community
Connect wallet to post
Stake MBX
18.0%
Current APY
Unbonding7 days
Voting power0 vMBX
Cap Raise Rules
Raise amountAlways ×2
Pass thresholdSimple majority (>50%)
Voting period48 hours
Cooldown after pass7 days
Proposal fee100 MBX → Wallet B
Limit1 proposal / wallet / week
Who can proposeAny staked MBX holder
Who can voteAll vMBX holders
The 7-day cooldown prevents rapid cap doubling. Each new cap level must be observed for a full week before another raise can be proposed.
MBX Token
SymbolMBX
NetworkSolana (SPL)
Supply1,000,000,000
WalletAUBqwdA59PCTQvLSP2ecskUkjuQPcX9ZCybig2iH2Ysz
Cap Raise History
Every governance-approved cap raise is logged permanently on-chain.
Contact

Partnership, integration, or feedback.

Documentation

How modelbx works, integration guides, and legal information.

Overview
Integration
Legal

How modelbx Works

modelbx is a non-custodial DEX aggregator and lending protocol on Solana, combining three systems: a multi-DEX swap aggregator, a native AMM pool layer, and a MBusd stablecoin minting engine.

Swap Aggregation

On each swap, modelbx queries all integrated DEXes simultaneously and splits your order across the best venues atomically. Platform fee: 0.01% — 20× cheaper than Jupiter.

Native Liquidity Pools

modelbx runs its own AMM pools backed by MBX and SOL protocol reserves. Native pools — especially MBX/MBusd — receive routing priority, maximizing fee returns for LPs.

MBusd Lending & 1:1 Exchange

Users lock MBX or SOL and mint MBusd at 0% interest. MBusd is immediately usable in modelbx pools or redeemable 1:1 for USDC via the Borrow page exchange. See MBusd section for full detail.

Non-custodial. The protocol cannot pause, access user funds, or alter positions. All logic is enforced by immutable on-chain programs.

MBusd — modelbx Stablecoin

MBusd is overcollateralized, protocol-minted, and pegged to $1.00 USD. It is backed by MBX and SOL locked in user positions and a protocol-owned reserve.

Hard Floor — Redemption

Any holder can redeem 1 MBusd for exactly $1.00 of collateral (MBX or SOL) at any time, drawn from the lowest-ratio position. MBusd cannot sustainably trade below $1.00.

Hard Ceiling — Mint Cost

The 0.5% one-time mint fee discourages minting when MBusd trades above $1.005. New supply brings price back down. The two forces create a tight $1.00 band.

1:1 USDC Exchange

MBusd can be redeemed directly for USDC at 1:1 on the Borrow page — no slippage, no market price risk. This is backed by a USDC reserve held by the protocol. Conversely, USDC can be deposited to mint MBusd directly, providing additional peg reinforcement from the USDC side.

Why Not Borrow USDC Directly?

A third-party stablecoin like USDC can be frozen, blacklisted, or depegged through Circle's actions. With MBusd, the peg is enforced by collateral already in the system. The 1:1 USDC exchange window adds a second layer of peg assurance without creating systemic USDC dependency.

MBusd is not issued by any legal entity. It is a token minted entirely by on-chain smart contract logic, backed by user-locked MBX and SOL collateral plus protocol USDC reserves for the 1:1 exchange window.

Liquidation Model

modelbx uses redistribution-based liquidation (Liquity v1 model). No auctions, no bots required, no bad debt possible.

Trigger

Position CR falls below 150% → liquidated immediately by protocol.

Step 1 — Stability Pool

Stability Pool mUSD absorbs the debt first. Depositors receive the liquidated MBX/SOL collateral — typically 5–10% profit over spot value.

Step 2 — Redistribution

If Stability Pool is insufficient, remaining collateral + debt distribute proportionally across all open positions by collateral size. Each borrower absorbs more collateral than debt. Bad debt is structurally impossible.

If you have an open borrow position: redistributions slightly decrease your CR. Maintain well above 150% — we recommend 200%+ during volatile markets.

Privacy System

No KYC, no account, no identity verification required anywhere on modelbx.

Privacy Relay

Swap instructions route through a decentralized relay network, not directly to RPC. No IP-to-transaction mapping is logged.

MEV Protection

Transactions submit through a private mempool, blocking sandwich bots and front-runners.

Address Rotation

Fresh program-derived address (PDA) per swap, making chain analytics significantly harder.

Private LP

LP positions owned by a PDA, not your wallet directly, breaking on-chain wallet-to-LP association.

Note: All transactions settle on the public Solana blockchain. Privacy features reduce traceability — they do not make transactions invisible.

DEX Integration

Any Solana DEX or AMM can integrate with modelbx routing. Once registered, your pools are included in all route calculations in real time.

Requirements

  • Deployed Solana on-chain program with public pool accounts
  • Atomic swap instruction support (single-instruction or CPI)
  • Public IDL or instruction spec
POSThttps://api.modelbx.io/v1/register-dex
FieldTypeDescription
dex_namestringProtocol display name
program_idstringOn-chain program address (base58)
pool_accountsstring[]Pool accounts to index
idl_urlstringURL to Anchor IDL JSON
contact_emailstringTechnical contact
{ "dex_name": "YourDEX", "program_id": "YourProgramId111111111111111111111111111111", "pool_accounts": ["PoolAccount111...","PoolAccount222..."], "idl_url": "https://yourdex.io/idl.json", "contact_email": "[email protected]" }

Swap API

GEThttps://api.modelbx.io/v1/quote
Get best route across all integrated DEXes.
ParamTypeDescription
inputMintstringInput token mint address
outputMintstringOutput token mint address
amountnumberAmount in base units
slippageBpsnumberSlippage in bps (50 = 0.5%)
import { ModelbxSwap } from "@modelbx/sdk"; const client = new ModelbxSwap(); const quote = await client.getQuote({ inputMint, outputMint, amount: 1_000_000_000 }); const { transaction } = await client.buildSwapTransaction({ quoteResponse: quote, userPublicKey: wallet.publicKey }); await wallet.sendTransaction(transaction, connection);

Borrow / MBusd API

POSThttps://api.modelbx.io/v1/open-trove
Open a position and mint MBusd against MBX or SOL collateral.
FieldTypeDescription
collateralMintstringMBX or SOL mint address
collateralAmountnumberCollateral in base units
mbusdToMintnumberMBusd to mint (CR must stay >150%)
userPublicKeystringBorrower wallet public key
POSThttps://api.modelbx.io/v1/exchange-mbusd
Exchange MBusd for USDC (or USDC for MBusd) at exactly 1:1. No slippage.
FieldTypeDescription
directionstring"mbusd_to_usdc" or "usdc_to_mbusd"
amountnumberAmount in base units
userPublicKeystringUser wallet public key
// Mint MBusd with SOL collateral const { transaction } = await client.openTrove({ collateralMint: "So111...1112", // SOL collateralAmount: 10_000_000_000, // 10 SOL mbusdToMint: 500_000_000, // 500 MBusd userPublicKey: wallet.publicKey, }); // Exchange MBusd → USDC at 1:1 const { transaction: exTx } = await client.exchangeMBusd({ direction: "mbusd_to_usdc", amount: 500_000_000, userPublicKey: wallet.publicKey, });

Swap Widget

Embed modelbx swap into any website or dApp in two lines. Earn 20% of platform fees on all swaps through your widget.

<script src="https://cdn.modelbx.io/widget.js"></script> <div id="modelbx-swap" data-input-mint="So111...1112" data-output-mint="MBusd111...111" data-theme="dark" data-referral="YOUR_WALLET_ADDRESS"> </div> <script>ModelbxWidget.init();</script>

Terms of Service

Last updated: 2025 · Subject to change

Privacy Policy

Last updated: 2025

Risk Disclosure

DeFi involves significant risk. You may lose all funds. Read carefully.

General Disclaimer

modelbx is experimental software. Only use funds you are prepared to lose entirely.

Protocol Config

Set your wallet addresses and program IDs here. These are the exact values the protocol needs before going live. Each field is labelled with which wallet from the audit guide it corresponds to.

Pre-Launch Status
Sections

Wallet Addresses

Paste each wallet address into the correct field. The label shows which wallet role it is (from the audit guide). Green border = address entered. Orange = still needs filling.

Wallet A — Owner / Deployer YOUR EXISTING WALLET
This is your personal wallet — AUBqwdA59PCTQvLSP2ecskUkjuQPcX9ZCybig2iH2Ysz. Used for team badge verification and as initial program upgrade authority. In production this should be removed from the frontend and kept only server-side.
✓ Where it goes in code: PROTOCOL_CONFIG.ownerWallet
Wallet B — Fee Treasury CREATE ON SQUADS.SO
A new multisig wallet you create at squads.so. All 0.01% swap fees and 0.5% MBusd mint fees flow here automatically when the AMM program is deployed. Set this as fee_recipient in the AMM program's initialize instruction.
→ Where it goes in code: PROTOCOL_CONFIG.feeTreasury
→ Where it goes in smart contract: AMM initialize() fee_recipient parameter
Wallet C — Liquidity Reserve CREATE NEW WALLET
A new wallet that holds the MBX and SOL you will seed the MBX/MBusd and SOL/MBusd pools with at launch. Recommended minimum: $50,000–$200,000 equivalent. This wallet sends tokens to the AMM pool accounts during the seed liquidity step.
→ Where it goes in code: PROTOCOL_CONFIG.liquidityReserve
→ Where it goes at launch: source wallet when calling addLiquidity() to seed initial pools
Wallet D — USDC Reserve CREATE NEW WALLET
A new wallet holding USDC that backs the MBusd 1:1 exchange window. When a user redeems MBusd for USDC, the smart contract transfers USDC from this wallet's token account to the user and burns the MBusd. Must always hold USDC ≥ outstanding 1:1 demand. Top up regularly.
→ Where it goes in code: PROTOCOL_CONFIG.usdcReserve
→ Where it goes in smart contract: Trove Manager initialize() usdc_reserve_account parameter

Program IDs

After deploying smart contracts on devnet/mainnet with Anchor, paste the deployed program IDs here. You get these from the output of anchor deploy.

MBX Token Mint Address
The SPL token mint address created by spl-token create-token. This is how the frontend identifies MBX in token accounts and swap routes.
→ Where it goes in code: PROTOCOL_CONFIG.mbxMintAddress
MBusd Token Mint Address
The MBusd SPL token mint — created by the Trove Manager program on first deploy. This is a Program Derived Address (PDA), not a wallet you create manually. The program generates it.
→ Where it goes in code: PROTOCOL_CONFIG.mbusdMintAddress
AMM Pool Program ID
The on-chain program ID of your deployed AMM (liquidity pools) program. Required for the frontend to build swap and add-liquidity transactions correctly.
→ Where it goes in code: PROTOCOL_CONFIG.ammProgramId
Trove Manager Program ID (Borrow / MBusd)
The on-chain program ID of your Trove Manager (MBusd mint / borrow / liquidation) program. Required for the Borrow page to build open-trove and exchange transactions.
→ Where it goes in code: PROTOCOL_CONFIG.borrowProgramId

API & Backend

Once you deploy the modelbx backend API (Node.js), enter its URL here. All swap quotes, DEX registration requests, and exchange transactions route through this endpoint.

API Base URL
The root URL of your deployed backend. Example: https://api.modelbx.io/v1. All API calls (/quote, /swap, /open-trove, /exchange-mbusd, /register-dex) are appended to this base. Deploy backend to Railway, Fly.io, or Vercel Functions.
→ Where it goes in code: PROTOCOL_CONFIG.apiBase

Price Feed

Currently running on mock (hardcoded) prices. When the Pyth oracle integration is ready, switch the mode here to enable live prices.

⚠ Current Mode: MOCK PRICES
All prices shown in the interface (swap rates, borrow collateral values) are hardcoded demo values. They do NOT reflect real market prices. This must be replaced with a live Pyth Network oracle feed before real trading.
Price Feed Mode
Set to mock for demo. Set to pyth once Pyth oracle SDK is integrated in the backend. The frontend will then call your API's /prices endpoint which queries Pyth in real time.
→ Where it goes in code: PROTOCOL_CONFIG.priceFeedMode
Current Mock Prices

Supply Cap Controls

Set the initial MBusd supply cap at launch. You can raise, lower, or remove it at any time using the admin controls or a governance proposal.

Why a supply cap?
Starting with a cap limits how much MBusd can be minted while the protocol is new. If there is an undiscovered bug, the cap limits the blast radius. Once you are confident the protocol is running cleanly — typically 2–6 weeks after launch — you lift it. Liquity, Maker, and almost every serious stablecoin protocol launched with a cap.
Launch Supply Cap (MBusd)
The maximum total MBusd that can exist across all borrowers at launch. Recommended: 500,000 at launch, raise to 5,000,000 after 2 weeks, then remove cap entirely once the protocol is stable. Set to 0 to disable the cap entirely (not recommended at launch).
→ Where it goes in code: PROTOCOL_CONFIG.mbusdSupplyCap
→ Where it goes in smart contract: Trove Manager initialize() mbusd_supply_cap parameter
Max Single Swap (USD)
Maximum USD value of a single swap transaction. Limits large trades from destabilising thin pools at launch. Raise this as liquidity deepens. Set to 0 to disable.
→ Where it goes in code: PROTOCOL_CONFIG.swapSizeCap
→ Where it goes in smart contract: AMM initialize() max_swap_usd parameter
Suggested Lift Schedule