Ship log

Changelog

What we shipped, when we shipped it.

Feature

Public REST API (v1)

  • GET /api/v1/stats — Protocol-level statistics
  • GET /api/v1/tokens — All 64 tokens with live DexScreener pricing
  • GET /api/v1/health — Protocol health overview
  • GET /api/v1/calculate — Loan calculator with real-time pricing
  • 60-second caching, structured JSON responses, versioned endpoints
Feature

Whitepaper & Security Page

  • Magpie Protocol Litepaper v1.0 at /whitepaper
  • Full security audit report and transparency page at /security
  • Bug bounty program and responsible disclosure policy
  • 10/10 security checklist with architecture diagrams
Security

60-Second Quote Expiry & Slippage Guard

  • Loan quotes now expire after 60 seconds to protect against price fluctuations
  • 2% maximum slippage tolerance between quote and execution
  • Price re-verified at confirmation time — freshest price always used
  • Stale sessions auto-cleaned from memory
Feature

Magpie Points System

  • Earn points on every successful loan repayment
  • Base formula: Loan SOL × 100, multiplied by tier, timing, and streak bonuses
  • Express tier earns 1.5×, Quick 1.25×, Standard 1.0×
  • Early repayment +25%, on-time +10%, streak bonuses up to +50%
  • Interactive points calculator and mock leaderboard at /points
  • Redemption features coming soon — accumulate now
Security

Security Hardening

  • Input sanitization on all API endpoints
  • SSL enforcement on database connections
  • Added .dockerignore to prevent secret leakage in builds
  • Removed hardcoded program IDs from public configs
  • Revoked and rotated all deployment tokens
Feature

Open Source Release

  • Both repositories now public on GitHub (magpiecapital)
  • Site: magpiecapital/magpie-site
  • Bot: magpiecapital/magpie-bot
  • Full audit confirms zero secrets in code or git history
  • Ready for hackathon competition entry
Feature

Credit System

  • Introducing Magpie Credit Score (300–850)
  • Four tiers: Bronze, Silver, Gold, Platinum
  • Score based on repayment history, volume, age, diversity, liquidations
  • Higher scores unlock better LTV, lower fees, extended terms
  • Interactive score simulator on /credit
Feature

Loan Calculator

  • Interactive calculator at /calculate
  • Real-time DexScreener pricing for all 64 tokens
  • Side-by-side tier comparison (Express, Quick, Standard)
  • Shows SOL payout, fees, liquidation price, and health
  • LTV education section included
Feature

Technical Documentation

  • Comprehensive docs at /docs
  • Architecture, loan lifecycle, security model
  • Pricing & oracles, fee structure, wallet model
  • Credit system documentation
  • Stripe-inspired clean layout with sidebar navigation
Feature

Protocol Stats Dashboard

  • Live protocol metrics at /stats
  • Loan volume, TVL, active loans, health distribution
  • Top collateral tokens ranking
  • Recent activity feed
  • Tier distribution visualization
Feature

Submit Token Flow

  • “Submit Token” button added to nav and tokens page hero
  • Token request form sends to admin via Telegram
  • Input validation and Markdown injection protection
Improvement

Token Page Enhancements

  • Added 61 new tokens (3 → 64 total)
  • Live DexScreener data: price, 24h change, volume, market cap
  • Sortable columns, search by name/ticker/address
  • Token image fallback chain (DexScreener → letter circle)
  • Stats cards: token count, combined mcap, combined volume
Improvement

Homepage Overhaul

  • Prominent "Approved Tokens" callout section
  • Expanded FAQ (6 → 8 items) with LTV explainers
  • Added token page links throughout (hero, tiers, nav, footer)
  • Removed Discord link (no Discord exists)
Feature

Approved Tokens Page

  • CoinMarketCap-style token listing at /tokens
  • Real-time pricing from DexScreener API
  • Market cap, volume, 1h/24h performance
  • Token request form for community submissions
Improvement

Brand Migration

  • Rebranded from BagBank to Magpie across all surfaces
  • Updated Telegram bot messages, commands, and responses
  • Added X/Twitter account: @MagpieLending
  • Updated all meta tags and OG data
Feature

Infrastructure Migration

  • Migrated repos to magpiecapital GitHub organization
  • Vercel connected to magpiecapital/magpie-site
  • Railway connected to magpiecapital/magpie-bot
  • Docker workflow updated for new org
Launch

Magpie Protocol Launch

  • Telegram bot live: @magpie_capital_bot
  • Anchor program deployed on Solana mainnet
  • 3 lending tiers: Express (30% LTV), Quick (25%), Standard (20%)
  • Non-custodial wallet model with AES-256 encryption
  • Deposit watcher, health alerts, auto-liquidation
  • Site live at magpie.capital