Magpie is a permissionless lending protocol on Solana. Anyone can supply liquidity to earn yield. Anyone can borrow SOL against memecoins and tokenized stocks. Anyone can hold $MAGPIE to earn 10% of every loan fee, distributed automatically. And anyone can run a keeper to earn bounties on liquidations.
Be the lender. Your SOL funds loans across hundreds of memecoins, and you keep the lion's share of every fee they pay.
Every $MAGPIE in your wallet is a passive stream. Snapshots happen periodically; SOL hits your wallet automatically. No staking, no claim, no signing.
Share your link. Every loan your referrals take pays you 5% of the fee, for life. Paid in SOL on demand.
Magpie writes a 300–850 credit score to an on-chain oracle for every active borrower. Repay on time, your score climbs. Get liquidated, it drops. Future protocols that read this oracle can offer better terms to reliable borrowers — your reputation goes wherever your wallet goes.
PUMP
TRUMP
BONK
PENGU
PYTH
WIF
BAN
WOULD
ALCH
ARC
PYTHIA
MOODENG
POPCAT
MEW
PNUT
JELLYJELLY
USELESS
BOME
NEET
PUMPCADE
TROLL
VINE
PUMP
TRUMP
BONK
PENGU
PYTH
WIF
BAN
WOULD
ALCH
ARC
PYTHIA
MOODENG
POPCAT
MEW
PNUT
JELLYJELLY
USELESS
BOME
NEET
PUMPCADE
TROLL
VINE
An Anchor program on Solana that powers permissionless lending pools, an on-chain credit oracle, and a keeper network for liquidations. Every constraint is enforced by the smart contract — not by us.
// Permissionless liquidation — any wallet can be a keeper
pub fn liquidate_loan(ctx: Context <LiquidateLoan >) ->Result <()>{
let pool = &ctx.accounts.pool;
let loan = &mut ctx.accounts.loan;
// Verify loan is overdue
require!(Clock::get()?.unix_timestamp >loan.due_timestamp,
LendingError::LoanNotDue);
// Split collateral: keeper bounty + authority remainder
let keeper_reward = collateral_balance
.checked_mul(pool.keeper_reward_bps as u64)
.unwrap() / 10_000;
// Transfer reward to keeper, remainder to pool authority
...
}
Three sides of a permissionless lending marketplace — all governed on-chain, all accessible from day one.
The Telegram bot wraps the on-chain program in a conversational interface. Pledge collateral, receive SOL, repay on your schedule.
LTV (Loan-to-Value) is the percentage of your collateral's value you receive as SOL. Higher LTV = more SOL, but less room before liquidation.
Example: $1,000 of WIF at 20% LTV = $200 in SOL , minus 1.5% fee. Choose Express (30% LTV) to borrow $300, at a 3% fee.
Borrow SOL. Earn yield. Build your credit score. All permissionless, all on Solana.