← BACK TO METHANEDOCUMENTATION
Gas-as-a-Service · Technical Reference · Updated April 2026
$METHANE is open-source infrastructure that turns idle pump.fun creator fees into productive, leveraged on-chain capital. Every cycle, an autonomous agent claims accumulated creator fees, consults an AI brain for an entry decision, and opens a real spot-leveraged Fartcoin position on Lavarage. Every action is logged. Every transaction is on-chain. Every reasoning is published in plain English.
The flagship vault routes METHANE's own creator fees into leveraged FART longs because Fartcoin is the meme that started everything. But the engine is not hardcoded to Fartcoin — the target token, host token, leverage, and split are all configuration. METHANE is the pattern, sold as infrastructure, to any meme that wants it.
StatusLive · 2 active positions
EngineLavarage spot leverage (real FART)
BrainOpenAI GPT-4 class reasoning
CycleEvery 15 minutes
Min Claim0.05 SOL
Default Split70% leverage / 30% buyback
Default Leverage5× (brain-adjusted, max 7.5×)
Agent Wallet2i1i4UJBWKu9...nR6qxw
Creator fees are the most underused primitive on Solana. Billions of dollars of volume flow through pump.fun. The creator fee system extracts a slice of every trade. That slice — across the entire ecosystem — represents an enormous stream of passive SOL that currently gets claimed and dumped. Friction on the engine of the meme economy.
METHANE is a proof that this does not have to be the default. Creator fees can be productive capital. They can compound into positions. They can fund buybacks. They can support the underlying memes that birthed them. And with the gas-as-a-service model, any token can plug into the same infrastructure without rebuilding the wheel.
The pattern
›A creator wallet accumulates fees in SOL.
›An autonomous agent claims, splits, and routes those fees.
›A configurable percentage goes into leveraged long exposure on a target token.
›A configurable percentage goes into buyback and burn of the host token.
›An AI brain decides entry sizing, leverage, and exits in real time based on live market data.
›Every action is on-chain, logged, and verifiable.
The target token is a config variable. The host token is a config variable. The split is a config variable. The venue is a config variable. Swap FART for any token listed on a perpetual DEX or spot leverage protocol and the engine just works.
The pipeline is a deterministic loop running every 15 minutes. Each cycle has the same structure: check existing positions for exits, claim new fees, consult the brain, open a new position if the brain approves. No human intervention required after initial setup.
Stage 0: Exit monitoring
›Brain reads each existing position and decides HOLD, PARTIAL_CLOSE, or FULL_CLOSE
›Decision is based on ROI, momentum, distance to liquidation, and interest cost
›Closed proceeds get unwrapped (WSOL → native SOL) and feed the next cycle
Stage 1: Claim
›Agent monitors creator fee wallet via Solana RPC
›Claims accumulated fees when balance exceeds 0.05 SOL threshold
›All claims logged to Redis with transaction signatures
Stage 2: Split
›70% allocated to leveraged FART position (configurable per vault)
›30% allocated to buyback reserve for $METHANE burn
›Split ratios are deterministic and visible in every cycle log
Stage 3: Brain consult
›Brain receives live market context (price, 1h/24h change, existing positions)
›Returns structured decision: OPEN at X× leverage, or SKIP, with reasoning
›Reasoning published in plain English on the dashboard
Stage 4: Open
›SOL collateral deposited directly to Lavarage
›Lavarage borrows SOL against collateral and buys real FART tokens on-chain
›Position address registered to Redis for dashboard tracking
›Open transaction signature linked from /api/position
cycle.pseudo
// Every 15 minutes, deterministic
exit_monitor.check_all_positions() // Stage 0
fees = claim_creator_fees() // Stage 1
if fees < 0.05 SOL → log SKIP, return
long_amount = fees × 0.70 // Stage 2
buyback_amount = fees × 0.30
market = fetch_market_context() // Stage 3
decision = brain.decide_entry(
long_amount, market, existing_positions
)
if decision.action == 'SKIP' → return
position = lavarage.open({ // Stage 4
collateral: long_amount,
leverage: decision.leverage,
asset: FART
})
log(position, redis)
register_open_tx(position, signature)
Most yield protocols are dumb loops. Claim, swap, deposit, repeat. That is fine when the yield source is stable and the exposure is delta neutral. That is not fine when you are taking leveraged directional positions on a memecoin.
The brain is the difference between an autopilot and a thermostat. Every cycle it reads live market context, returns a structured decision with explicit reasoning, and logs both to Redis for the dashboard to display in real time. Anyone can read the brain's reasoning for every decision it has ever made.
Inputs
›Current FART price (Pyth oracle / DexScreener)
›1h price change, 24h price change, recent volatility
›Existing position state: ROI, distance to liquidation, daily interest cost, collateral, effective leverage
›Available SOL for new entry sizing
›Configured leverage bounds (default: 5×, max: 7.5×)
Entry decision schema
brain.entry.json
{
"action": "OPEN" | "SKIP",
"leverage": 4.5,
"reasoning": "FART showing positive 24h momentum with manageable
volatility. Sizing at 4.5× to leave headroom on liquidation
distance given 1h pullback. No existing position degrades to
risk-off."
}Exit decision schema
brain.exit.json
{
"action": "HOLD" | "PARTIAL_CLOSE" | "FULL_CLOSE",
"reasoning": "ROI is +4.76%, within HOLD range. Position is not
under immediate threat of liquidation, interest cost is manageable,
no strong momentum indicators suggest taking profit or cutting loss.",
"urgency": "low" | "medium" | "high",
"roi": 4.76,
"distanceToLiq": 13.157
}Live brain reasoning (pulled from /api/logs)
"The current ROI is +4.76%, which is between -15% and +15%. The position is not under immediate threat of liquidation, and the interest cost is manageable. No strong momentum indicators suggest taking profit or cutting loss."
— Brain · Position 7jsFgFQb · HOLD
"The position has a positive ROI of 4.71%, which is within the HOLD range. The current market conditions show a slight upward trend, and the distance to liquidation is safe at 13.1%."
— Brain · Position BeN8QMjM · HOLD
Why a brain instead of fixed thresholds
›Holding through a 6% drawdown when support is nearby is a feature, not a bug
›Cutting at 18% when momentum collapses is a feature, not a bug
›A dumb loop for FART breaks the first time you point it at a different token with different volatility
›The same brain that runs the FART vault can run a WIF vault, POPCAT vault, or token launching tomorrow with no code changes
§ 05 · LAVARAGE INTEGRATION
Lavarage provides spot leverage — borrowing SOL against your collateral and using it to buy real tokens on-chain. Unlike perpetual futures (synthetic exposure), this creates actual buy pressure on the underlying asset.
ProtocolLavarage
TypeSpot leverage (real tokens)
FART Pools9 active
Max Leverage7.47×
Borrowing APR~99%
Liquidation ModeSELL (auto-unwind)
CollateralSOL (direct deposit)
Why Lavarage over Drift
›Real buy pressure — Lavarage buys actual FART tokens vs. Drift's synthetic perpetuals
›Permissionless — any SPL token with liquidity can be traded
›Simpler flow — SOL direct collateral, no USDC swap leg needed
›Crisis resilient — decoupled from any single perpetual venue's downtime
Position data exposed
›Entry price, current price, mark price
›Unrealized PnL (USD), ROI percentage
›Liquidation price, current LTV, liquidation LTV
›Effective leverage, position size in base token
›Interest accrued, daily interest cost, interest rate
$METHANE is a fair launch. No team allocation. No presale. No VC round. No locked supply with a 6-month unlock cliff we pretend doesn't exist. The token is deployed on pump.fun and the bonding curve is the distribution. There is no multisig we control, no upgrade key, no proxy contract standing between you and the tokens you hold.
Live on pump.fun
Contract Address8Ct8WT6TYTB9zTYxexAWthmWvYbLML9xmXcRFq2Rpump
Venuepump.fun
Twitter@Methane_Capital
Distribution100% fair launch
Team Allocation0%
PresaleNone
Locked SupplyNone
MultisigNone
Upgrade KeyNone
Creator WalletThe agent (autonomous)
The split — every cycle, every fee
›70% → routed through the brain into a leveraged long on the target token (Fartcoin in Phase 1)
›30% → reserved for buyback. Once the $METHANE token is live on-chain, this bucket swaps SOL → $METHANE via Jupiter and burns the result via the SPL token burn instruction.
The 70/30 split is deliberate. 70 to leverage, because that is where the engine has to actually produce returns. 30 to burn, because that is the mechanism by which $METHANE holders get direct price support from trading activity that does not depend on the FART position being profitable. Even if the brain is flat for a month, the burn keeps firing every cycle and the supply keeps shrinking. Even if the FART side gets chopped up, the burn keeps firing. The two halves of the split are hedges for each other.
Deflationary by construction
Every cycle with non-zero fees triggers a burn (post-launch). The more the token trades, the more the supply shrinks, the more each remaining token represents a share of the engine's accumulated FART exposure and the engine's accumulated multi-vault revenue once Phase 2 ships. Volume is the fuel. Burn is the exhaust. The token holder sits in the driver seat, and the seat keeps getting smaller.
There is no staking. There is no LP farming. There is no yield contract that requires you to lock your tokens into a black box to earn airdrops of the next black box. Holding $METHANE is the entire participation mechanic.
§ 07 · ON-CHAIN VERIFICATION
You should not trust anything in this document. You should verify it. Every claim about how METHANE works can be reconciled against on-chain state and public APIs.
Live links
If anything in this document does not match what you can see on those endpoints right now, we screwed up and you should tell us. Building in public means the receipts are the product.
Three components, one loop. The agent claims and decides. The frontend watches and reports. Lavarage, Jupiter, and Pyth are the external rails the system runs on. Redis is the shared memory. Everything else is glue.
1 · METHANE Agent (pipeline)
Node.js process running on a 15-minute cron. Handles fee claiming, splitting, brain consultation, position management, and exit monitoring. Survives RPC failures, slippage on open, and Lavarage downtime. All actions logged to Redis with transaction signatures.
›Claimer — monitors creator fee wallet, claims when balance exceeds threshold
›Brain — OpenAI GPT-4 class entry/exit decisions with reasoning
›Lavarage Manager — opens and closes spot-leveraged positions
›Exit Monitor — checks every position every cycle
›Unwrapper — converts WSOL close proceeds back to native SOL
›Buyback-Burn — Jupiter swap → SPL burn (activates with token deploy)
2 · Next.js frontend + API
Public-facing site and API layer. Serves the dashboard, docs, and real-time position data. API routes pull live data from Lavarage, Pyth, and Redis on every request — nothing is cached beyond the route revalidation window.
›/ — main dashboard with live position tracker, brain decisions, and chart
›/docs — this page
›/api/position — live position data from Lavarage + Redis
›/api/fart-price — current FART price from Pyth via Hermes
›/api/logs — recent agent activity from Redis
3 · External protocols
›Lavarage — spot leverage protocol; borrows SOL against collateral, buys real FART
›Jupiter — DEX aggregator for buyback swaps with MEV protection
›Pyth Network — price oracle for real-time FART pricing via Hermes API
›Upstash Redis — event logging, position registry, brain reasoning store
Multi-vault architecture (Phase 2 forward spec)
The pipeline is already designed for multi-vault. Vaults are config objects with hostToken, targetToken, splitLong, splitBuyback, and venuefields. Adding a new vault is a config operation, not a code change. The brain handles per-vault reasoning by passing the vault's target into the market context call. Per-vault stats are stored under methane:vault:<mint>:* Redis keys.
All endpoints are public, return JSON, and require no authentication.
GET /api/position
Live position data from Lavarage and pipeline statistics from Redis. Returned shape (real example, current state):
response.json
{
"live": true,
"venue": "lavarage",
"agentWallet": "2i1i4UJBWKu9Uc35nM6M5FBdvEoHuKQS3TdngfnR6qxw",
"position": {
"hasPosition": true,
"count": 2,
"positions": [{
"address": "7jsFgFQb7eoSyavV3nFykMsXGo85pmLmv6Tj7PnYWHme",
"openTx": "2XJ5o1vtb9i8wW69jg8PwArLH8ZKFEuGnSa4Do5SU82LtGqbpeSY8EKdHt1Xy4dwzpJp1NJmS7SoBZDVa2krw8JK",
"side": "LONG",
"collateral": 0.129904,
"borrowed": 0.519616,
"entryPrice": 0.0021541872,
"currentPrice": 0.0021749972,
"unrealizedPnl": 0.531612,
"roiPercent": 4.83,
"liquidationPrice": 0.0018885509,
"effectiveLeverage": 4.816,
"dailyInterestCost": 0.001409,
"currentLtv": 0.7945,
"liquidationLtv": 0.915
}],
"totals": { "collateral": 0.609927, "pnl": 2.476839, "avgLeverage": 4.8165 }
},
"stats": {
"cycleCount": 8,
"longCount": 9,
"totalLongNotional": 10.983,
"pendingBuyback": 2.787
}
}GET /api/fart-price
Current FART price from Pyth Network via Hermes API.
response.json
{
"price": "0.0021749972",
"source": "pyth",
"updatedAt": "2026-04-11T01:15:00.000Z"
}GET /api/logs
Recent agent activity. Each log has a type (CYCLE, BRAIN, CLAIM, LONG, EXIT, BUYBACK, BURN, ERROR), a plain-English message, an optional transaction signature, and optional structured details.
response.json
{
"logs": [
{
"type": "BRAIN",
"message": "Exit decision for 7jsFgFQb: HOLD — The current ROI is +4.76%, which is between -15% and +15%. The position is not under immediate threat of liquidation, and the interest cost is manageable.",
"details": {
"action": "HOLD",
"reasoning": "...",
"urgency": "low",
"roi": 4.76,
"distanceToLiq": 13.157
},
"timestamp": 1775869036657
}
],
"stats": { "cycleCount": 8, "longCount": 9, "claimCount": 24 }
}
$METHANE involves real financial risk. This section is not a disclaimer — it is a technical assessment of what can go wrong.
Liquidation risk
›At 5× leverage, a ~20% drop in FART price approaches liquidation
›Lavarage auto-sells the position when LTV exceeds the liquidation LTV (~91.5%)
›The brain monitors distance to liquidation every cycle and can FULL_CLOSE preemptively
›Liquidation is a SELL, not a freeze — collateral remnants flow back to the agent wallet
Borrowing cost risk
›~99% APR on borrowed SOL — this is the cost of leverage
›Interest deducted from collateral continuously by Lavarage
›In sideways or chopping markets, interest erodes the position over days
›Brain weighs interest cost against ROI when deciding HOLD vs CLOSE
Brain failure modes
›OpenAI API downtime → cycle skips with logged ERROR, retries next cycle
›Bad reasoning → fallback to deterministic SKIP (no entry on uncertainty)
›Brain output is structured JSON — schema validation rejects malformed responses
RPC and infrastructure risk
›Solana RPC failures → cycle skips, no positions affected, retries next cycle
›Lavarage downtime → cycle skips, fees accumulate in agent wallet
›Redis downtime → cycle still runs, logs cached locally, sync on recovery
Smart contract risk
›Lavarage contracts are permissionless and audited, but not risk-free
›Jupiter swap routing carries standard DEX risk
›Pipeline agent code is open-source, single-author, and verifiable
Market risk
›FART is a memecoin — high volatility, potential for rapid drawdowns
›Leverage amplifies both gains and losses
›Liquidity conditions may affect execution quality on open and close
No dates, because dates are a lie, but the sequence is not.
Phase 1 — FART engine · LIVE NOW
The flagship vault. METHANE creator fees route into leveraged FART longs via Lavarage. AI brain making real entry and exit decisions. Dashboard live at methane.capital. Positions auditable on Solscan. This is the proof of concept.
Phase 2 — Multi-vault
The engine template goes public. Any memecoin project can deploy a METHANE-style vault for their own token with a permissionless flow: pick a target, pick a split, deploy. Creator fees from the host token fund longs on the target token and buybacks on the host token. One engine pattern, many memes fueled. The METHANE protocol earns a small fee on every vault, and METHANE holders get exposure to the entire fleet of engines running on the infrastructure.
Phase 3 — Hyperliquid expansion
Solana is home. Hyperliquid is the next room. We are building a Hyperliquid adapter so the METHANE brain can open perp positions on HYPE-listed memes and Fartcoin perps when they list. One brain, two venues. The Solana side keeps running on Lavarage. The Hyperliquid side runs in parallel with its own agent, its own vault, and its own routing.
Phase 4 — Asset-backed memes
The long vision. After Hyperliquid integration, we start building the next layer: memecoins that are asset-backed by tokenized real-world assets. Oil. Gold. Commodities. Tokenized equities. Treasury bills. The METHANE engine already knows how to route SOL into long exposure. Point that same engine at a tokenized WTI crude contract or a tokenized basket of stocks, and the split changes from buy-back-the-host / long-the-meme to buy-back-the-host / long-the-real-asset.
The result is a memecoin whose price floor is reinforced by an on-chain, verifiable, automatically compounding position in something the real economy prices. A fart joke backed by a barrel of oil. A dog coin backed by a slice of the S&P. The culture stays degenerate. The collateral gets serious.
Phase 5 — Public brain
Eventually the brain itself becomes the product. A public endpoint any protocol can query to get a structured, market-context-aware leverage decision with reasoning attached. The brain as oracle. Until then it lives inside METHANE, making decisions for every vault.
Is the agent really running autonomously?▶
Who controls the agent wallet?▶
What happens if FART goes to zero?▶
Can I withdraw my fees once routed?▶
How is this different from just buying FART?▶
What if Lavarage goes down?▶
What model does the brain use?▶
Why is the brain logged in plain English instead of just numbers?▶
Can other memecoins use this?▶
What's the minimum to participate as a holder?▶
$METHANE · GAS-AS-A-SERVICE · ALL TRANSACTIONS ON-CHAIN