
hedgehog protocol
v1
a permissionless meme token launchpad with permanent liquidity on sonic
sonicpump.meme
wtf is this
Hedgehog Protocol is a hub-and-spoke token factory on Sonic. anyone can launch a meme token in one click. every token is a real ERC-20 with instant liquidity from block one — no external LPs needed, no seed money required. all liquidity is protocol-owned and non-withdrawable.
the protocol has two layers:
- the liquidity engine — hub pools, bonding curves, fees, POL accumulation. immutable. holds all the money.
- the token layer — deploys real ERC-20 tokens per meme launch with optional feature toggles (referral, vesting). upgradeable without touching liquidity.
the protocol runs on a single hub token called $HEDGE. memes are priced in HEDGE via bonding curves. HEDGE itself trades against native S and USDC through two constant-product AMM pools. these pools grow deeper over time as fees are recycled into them permanently. there is no withdrawal mechanism.
how it works
- pay a 50 S toll to launch a meme token
- your meme gets a bonding curve — price up on buy, down on sell
- a real ERC-20 contract gets deployed for your meme (visible in wallets, transferable, composable with anything)
- all trades route through HEDGE: S → HEDGE → meme on buy; meme → HEDGE → S on sell
- 1% fee on every hub swap, denominated in HEDGE
- fees get permanently deposited back into hub pools — split across all active pools
- no LP tokens. no withdrawal mechanism. deposited liquidity is non-retrievable.
at launch, the creator can optionally enable:
- referral rewards — referrers receive a % of the meme token on referred buys
- vesting locks — purchased tokens are time-locked to prevent immediate dumps
feature configuration is set at launch and cannot be changed after. buyers know exactly what they're getting into. rules don't change.
architecture
the hub
HEDGE is the center of everything. two hub pools:
- HEDGE/S — trade HEDGE against Sonic's native token
- HEDGE/USDC — trade HEDGE against USDC (Circle native, 6 decimals)
both pools are constant-product AMMs (x × y = k). the key difference: there are no LP tokens. the protocol owns all liquidity. nobody can pull it. the k invariant only increases over time as fees get recycled. it's a one-way ratchet.
the spokes
each meme is a "spoke" radiating from the HEDGE hub. priced in HEDGE via a linear bonding curve:
Price(S) = m × S where: S = current circulating supply m = slope constant (set at launch, immutable) cost to buy from S_old to S_new: Cost = (m/2) × (S_new² − S_old²) HEDGE returned from selling: Returned = (m/2) × (S_old² − S_new²) total HEDGE reserve at supply S: Reserve = (m/2) × S²
every meme has instant two-way liquidity from the moment it's created. no waiting. the curve IS the market.
real ERC-20 tokens
every meme launched deploys a real ERC-20 contract:
- shows up in MetaMask, wallets, portfolio trackers
- transferable freely between addresses
- indexable by DexScreener, GeckoTerminal, aggregators
- can be paired on external DEXes post-graduation
- backed 1:1 by bonding curve reserves at all times
minted on buy, burned on sell. no fractional reserve. the ERC-20 contract is non-upgradeable once deployed.
how trades work
buyMemeWithS() — S → HEDGE → meme (one tx) sellMemeForS() — meme → HEDGE → S (one tx)
all tolls, fees, and POL flow directly into the original liquidity pools. the token layer holds zero liquidity.
toll booth
launching a meme costs 50 S. flat fee. the toll is split:
50%
treasury
50%
permanent LP
the hub pool half is converted to HEDGE and deposited into the S pool reserves — permanently increasing depth.
equity minting
each launch also mints 0.01% of HEDGE's remaining unminted supply to treasury. geometric decay:
- early launches mint more (remaining supply is larger)
- later launches mint less
- capped at 5B — rate approaches zero asymptotically. it never runs out
not dilution — minted to treasury, not into circulation. doesn't affect pool reserves or curves.
fee engine (POL)
every hub pool swap pays 1% fee in HEDGE. fees accumulate in a pending buffer. when crankPOL() is called (by anyone, permissionless):
- takes all accumulated HEDGE fees
- splits equally across all hub pools (currently 2)
- deposits each share into the pool's HEDGE reserve
- k invariant increases. pools get deeper. less slippage for traders.
protocol-owned liquidity cycle.
TWAP deviation check: if spot price deviates >10% from time-weighted average, crank won't execute. prevents manipulation.
feature: referral rewards
when launching a meme, the creator can enable a referral mechanism. entirely optional, configured at launch, immutable after.
how it works:
- launcher sets referral % (1–500 bps, max 5%)
- buyer purchases using a referral link → referrer gets a cut of the meme tokens
- example: 2% referral, buyer buys 1000 → buyer gets 980, referrer gets 20
- total from curve is unchanged (1000). it's redistribution, not inflation
what this is NOT:
- referral rewards are paid in the launcher's meme token — not HEDGE, not S, not any protocol token. it is their token, not ours.
- the protocol does not pay referral rewards. it provides tooling. the smart contract executes on-chain.
- there is no yield. there is no promised return. no revenue sharing, no staking rewards, no dividends, no recurring distributions.
- referral is a one-time token split at the moment of purchase. that's it.
- it's a marketing tool for launchers to grow their own token's community.
be mindful of your jurisdiction. referral mechanisms may be subject to local regulation. participants use this feature entirely at their own risk. the protocol is permissionless infrastructure — it does not control, endorse, or take responsibility for how this feature is used.
feature: vesting locks
anti-dump protection. configured at launch, immutable after.
- launcher sets vesting duration (up to 30 days max)
- bought tokens are locked for that duration — cannot sell during lock
- after lock expires, sell normally
- multiple purchases extend the lock (latest buy resets timer)
protects communities from large immediate sell-offs. vesting duration is visible on-chain before purchase — no surprises.
feature immutability
all feature configurations are permanent at launch. once a token is deployed with referral at 3% and vesting at 7 days, those parameters cannot be changed by anyone — not the launcher, not the protocol owner, nobody.
- buyers can trust the rules won't change after they buy
- launchers can't flip vesting on after people hold tokens
- referral percentages can't be jacked up or zeroed out
trade-off: want different features? launch a new token. old tokens keep their config forever.
twap oracle
each hub pool maintains its own time-weighted average price oracle. updated on every swap, computes a rolling average.
- POL safety — prevents cranking at manipulated prices
- external integrations — other contracts can read the TWAP for manipulation-resistant price feeds
security
anti-MEV
first 100 blocks after launch: only EOAs can trade. no sandwich bots, no flashloan snipers. same address can't buy and sell in the same block.
minimum supply floor
every meme has a floor of 50,000 tokens that can never be sold. prevents total drain attacks. this means there's always HEDGE locked in the spoke reserve backing those tokens (reserve = slope/2 × supply²). the floor guarantees permanent two-way liquidity — there's always a price and always a way to trade.
reentrancy protection
all state-modifying functions use Solady's ReentrancyGuard. hub pool, spoke buys/sells, POL engine — all protected.
no admin keys on pools
once initialized, the owner cannot drain, pause, or change pool reserves. admin can only adjust: toll amount, fee rate (capped at 5%), equity rate, slope bounds, treasury address. owner cannot withdraw liquidity, change slopes after launch, move user funds, or mint beyond cap.
1:1 backing
every ERC-20 meme token in circulation is backed by exactly 1 unit of internal spoke balance in the liquidity engine. mint on buy, burn on sell. no fractional reserve.
graduation
when a meme's HEDGE reserve hits 50,000 HEDGE, it "graduates." graduated memes get featured in the Pro DEX section. this is purely UI — curve mechanics don't change, reserve stays locked.
graduated memes are composable ERC-20 tokens. holders can pair them on external DEXes, use them in DeFi, or build communities around them. the bonding curve remains as permanent two-way liquidity regardless.
sunset mechanism
if a meme sits at minimum supply (50k tokens) for 30 consecutive days with zero activity, it sunsets:
- 50% of remaining HEDGE reserve → HEDGE/S hub pool
- 50% → treasury
- spoke marked as sunset, no more trading
prevents dead memes from locking liquidity. reserve gets recycled.
token details
$HEDGE
- ERC-20 (Solady implementation)
- max supply: 5,000,000,000 (5B)
- decimals: 18
- initial mint: 50M (1% of max) — split equally between both hub pools
- minter: HedgehogCore only
meme tokens (spokes)
- real ERC-20 contracts deployed per launch (one contract per meme)
- each has name, symbol, metadata URI (IPFS)
- fully transferable: standard transfer(), approve(), transferFrom()
- supply is elastic — minted on buy, burned on sell, backed 1:1
- non-upgradeable once deployed
- feature config (referral, vesting) is immutable per token
deployed contracts
sonic mainnet • all verified on sonicscan
USDC (Circle native on Sonic): 0x29219dd400f2Bf60E5a23d13Be72B486D4038894
initial pool state
HEDGE/S pool
959 S + 25M HEDGE
~26,065 HEDGE per S
HEDGE/USDC pool
104.4 USDC + 25M HEDGE
~239,387 HEDGE per USDC
what this isn't
this is not a security. HEDGE is a utility token that serves as the routing layer for a meme token launchpad. it is not:
- a share in any company or entity
- a claim on any revenue, dividend, or distribution
- a representation of ownership in any asset, fund, or enterprise
- a promise of any future value, development, or action
the protocol does not give yield. the protocol does not promise returns.
there is no revenue sharing, no staking rewards, no dividend mechanism, and no guaranteed appreciation. HEDGE is a routing asset for bonding curve mechanics — nothing more.
the referral feature is tooling provided to token launchers. referral rewards are paid in the launcher's meme token — it is their token, not ours. the protocol does not pay anyone anything.
hedgehog protocol is a set of immutable smart contracts on Sonic. the contracts do what the code says. read the code. it's verified on SonicScan. the protocol is permissionless infrastructure. anyone can deploy. anyone can buy or sell. the protocol does not curate, endorse, or take responsibility for any token launched through it.
be mindful of your jurisdiction. crypto regulation varies by country. referral mechanisms, token launches, and speculative trading may be regulated where you live. everything you do on this protocol is entirely at your own risk.
no one is telling you to buy anything. dyor. the code is the product.
technical references
all math uses 18-decimal fixed-point (WAD) precision via Solady's FixedPointMathLib. rounding is protocol-favored: buys round up, sells round down.
built on sonic. not financial advice. read the contracts. participate at your own risk.