Last active
March 30, 2026 08:06
-
-
Save Aboudjem/3172d8c0e71201c5243d1c6ade4e9166 to your computer and use it in GitHub Desktop.
Integra PRD: 11-bonding-curve (HTML)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1.0"><title>PRD: Bonding Curve Launcher</title><style>*{margin:0;padding:0;box-sizing:border-box}body{background:#0A0A1A;color:#E8E8F0;font-family:'Inter',system-ui,sans-serif;line-height:1.7}a{color:#00CEC9;text-decoration:none}a:hover{text-decoration:underline}.hero{padding:48px 32px 36px;border-bottom:1px solid #2A2A4A;background:linear-gradient(135deg,#0A0A1A 0%,#1A1040 50%,#0A0A1A 100%)}.hero h1{font-size:2rem;font-weight:800;color:#fff;margin-bottom:8px}.hero .meta{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:12px}.badge{display:inline-block;padding:4px 12px;border-radius:6px;font-size:12px;font-weight:700}.badge-owner{background:rgba(108,92,231,0.15);color:#A29BFE;border:1px solid rgba(108,92,231,0.3)}.badge-week{background:rgba(0,206,201,0.15);color:#00CEC9;border:1px solid rgba(0,206,201,0.3)}.badge-est{background:rgba(0,184,148,0.15);color:#00B894;border:1px solid rgba(0,184,148,0.3)}.container{max-width:900px;margin:0 auto;padding:32px 24px}.section{background:#12122A;border:1px solid #2A2A4A;border-radius:12px;padding:24px;margin-bottom:20px}.section h2{font-size:0.8rem;font-weight:700;color:#8888AA;text-transform:uppercase;letter-spacing:1.5px;margin-bottom:14px;padding-bottom:8px;border-bottom:1px solid #2A2A4A}.section h3{font-size:0.95rem;font-weight:600;color:#E8E8F0;margin:12px 0 6px}.section p{font-size:0.95rem;margin-bottom:8px}.section ul{list-style:none;padding:0}.section ul li{padding:6px 0 6px 20px;position:relative;font-size:0.95rem}.section ul li::before{content:'>';position:absolute;left:0;color:#A29BFE;font-weight:700;font-family:monospace}.section code{background:rgba(108,92,231,0.1);padding:2px 6px;border-radius:4px;font-size:0.88rem;color:#A29BFE}table{width:100%;border-collapse:collapse;font-size:0.9rem;margin:8px 0}th{text-align:left;padding:8px 12px;background:rgba(108,92,231,0.08);color:#A29BFE;font-size:0.75rem;text-transform:uppercase;letter-spacing:1px;border-bottom:1px solid #2A2A4A}td{padding:8px 12px;border-bottom:1px solid rgba(42,42,74,0.5)}.checklist li::before{content:'\2610' !important;color:#8888AA !important;font-family:inherit !important}.back{display:inline-block;margin-bottom:16px;color:#8888AA;font-size:0.9rem}.footer{text-align:center;padding:24px;color:#555577;font-size:0.82rem;border-top:1px solid #2A2A4A;margin-top:32px}</style></head><body><div class="hero"><a class="back" href="https://gist.githack.com/Aboudjem/0af8c2ce9d5b62038a18eeff09603553/raw/integra-testnet-master-plan.html">← Back to Master Plan</a><h1>Bonding Curve Launcher</h1><div class="meta"><span class="badge badge-owner">Nawar</span><span class="badge badge-week">Week 2</span><span class="badge badge-est">0.5-1d</span></div><p style="color:#8888AA;font-size:0.9rem">bonding.integralayer.com</p></div><div class="container"><div class="section"><h2>Overview</h2><div class=""><p>Launch RE tokens on automated bonding curves where price rises with demand. When a token's market cap hits a graduation threshold, it automatically migrates to the Global Order Book for open trading. Think pump.fun but for real estate tokens on Integra. Gives new IRWA tokens a fair price discovery mechanism without needing upfront liquidity, and creates excitement around new asset listings.</p></div></div> | |
| <div class="section"><h2>Features</h2><div class=""><ul><li><strong>Launch Creation</strong> — select an IRWA token, choose a curve type, and set a graduation threshold to start a new bonding curve</li></ul><ul><li><strong>Linear Curve</strong> — price increases proportionally with supply (predictable, steady appreciation)</li></ul><ul><li><strong>Exponential Curve</strong> — price accelerates as supply grows (rewards early believers more aggressively)</li></ul><ul><li><strong>Buy Along the Curve</strong> — purchase tokens with IRL at the current curve price; price moves up with each buy</li></ul><ul><li><strong>Sell Back to Curve</strong> — exit early by selling tokens back to the curve; price moves down</li></ul><ul><li><strong>Live Price Chart</strong> — real-time visualization of current price, market cap, and supply on the curve</li></ul><ul><li><strong>Graduation Progress Bar</strong> — visual indicator showing percentage of market cap threshold reached</li></ul><ul><li><strong>Auto-Graduation</strong> — when market cap hits threshold, token automatically migrates to GOB (callable by anyone)</li></ul><ul><li><strong>Graduation Event</strong> — confetti animation and notification when a token graduates to open trading</li></ul><ul><li><strong>Active Launches Page</strong> — browse all live curves with market cap progress bars, sorted by activity</li></ul><ul><li><strong>Price Quote Preview</strong> — check what you'd pay or receive before submitting a buy or sell</li></ul></div></div> | |
| <div class="section"><h2>Functions</h2><div class=""><ul><li><code>createLaunch</code> — initialize a new bonding curve for an IRWA token with curve type and graduation threshold</li></ul><ul><li><code>buy</code> — purchase tokens along the curve by sending IRL</li></ul><ul><li><code>sell</code> — sell tokens back to the curve and receive IRL</li></ul><ul><li><code>graduate</code> — trigger migration to GOB when market cap threshold is met (permissionless, anyone can call)</li></ul><ul><li><code>getPrice</code> — return the current price quote for a given buy or sell amount</li></ul><ul><li><code>getLaunchInfo</code> — return curve state including current price, market cap, total supply, and graduation progress</li></ul></div></div> | |
| <div class="section"><h2>User Flow</h2><div class=""><ul><li>Connect wallet via Web3Auth</li></ul><ul><li>Select an IRWA token and create a new launch (choose curve type, set graduation threshold)</li></ul><ul><li>Buyers visit the active launches page and buy tokens — price moves up the curve</li></ul><ul><li>Sellers can exit early by selling back to the curve — price moves down</li></ul><ul><li>Dashboard shows live price, market cap, and % to graduation</li></ul><ul><li>When market cap hits threshold, anyone can trigger graduation</li></ul><ul><li>Token migrates to GOB and becomes openly tradeable</li></ul></div></div> | |
| <div class="section"><h2>Deliverables</h2><div class="checklist"><ul class="checklist"><li>Bonding curve contract supporting linear and exponential curve types</li></ul><ul class="checklist"><li>Launch creation flow with curve type selection and graduation threshold</li></ul><ul class="checklist"><li>Buy and sell transactions that move price along the configured curve</li></ul><ul class="checklist"><li>Live price chart with real-time updates on each transaction</li></ul><ul class="checklist"><li>Graduation progress bar showing % of market cap threshold</li></ul><ul class="checklist"><li>Auto-graduation trigger that migrates the token to GOB</li></ul><ul class="checklist"><li>Active launches page with all live curves and market cap progress</li></ul><ul class="checklist"><li>Price quote preview for buy and sell amounts</li></ul><ul class="checklist"><li>Event emission for all actions (launch created, bought, sold, graduated)</li></ul></div></div> | |
| <div class="section"><h2>Integration Points</h2><div class=""><ul><li><strong>Depends on:</strong> IRWAToken / Asset Passport (token metadata), GOB (graduation destination)</li></ul><ul><li><strong>Used by:</strong> DEX (post-graduation liquidity), XP system (action tracking)</li></ul><ul><li><strong>Explorer:</strong> Integra Explorer (github.com/Integra-layer/integra-explorer)</li></ul></div></div> | |
| <div class="section"><h2>XP Rewards</h2><div class=""><table><thead><tr><th>Action</th><th>Points</th></tr></thead><tbody><tr><td>Create a launch</td><td>50 XP</td></tr><tr><td>Buy on a curve</td><td>10 XP/tx</td></tr><tr><td>Sell on a curve</td><td>5 XP/tx</td></tr><tr><td>Trigger graduation</td><td>100 XP</td></tr><tr><td>First buyer on a new launch (bonus)</td><td>25 XP</td></tr></tbody></table></div></div> | |
| <div class="section"><h2>Success Metrics</h2><div class=""><table><thead><tr><th>Metric</th><th>Target</th></tr></thead><tbody><tr><td>Launches created in first week</td><td>20+</td></tr><tr><td>Graduation rate (launches that hit threshold)</td><td>> 30%</td></tr><tr><td>Avg time from launch to graduation</td><td>< 7 days</td></tr><tr><td>Unique buyers across all curves in month 1</td><td>200+</td></tr></tbody></table></div></div> | |
| </div><div class="footer">Integra Testnet PRD — Bonding Curve Launcher — Chain: integra-testnet-1 (EVM 26218)</div></body></html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment