hackquest logo

Pike Perps

You can wait 2 seconds to cross the road - but not when you're trading perps

視頻

描述

overview

PikePerps is a high-speed perpetual trading platform on Mantle L2 that combines meme token creation with leveraged trading for both crypto and real-world assets. It provides bonding curve AMM for instant token liquidity, up to 100x leverage on perpetuals, RWA trading via Pyth oracles, and copy trading infrastructure - all accessible through web, CLI, and terminal UI.

The Solution

PikePerps integrates token creation, bonding curve liquidity, and perpetual trading into a unified platform:

  1. Token Launch: Deploy tokens with 1-10% creator allocation, IPFS metadata, and instant bonding curve initialization in a single transaction.

  2. Bonding Curve Trading: Linear AMM with automatic price discovery. Formula:
    Price = initialPrice + (coefficient * sold / supply). No LP required.

  3. Perpetual Positions: Open leveraged long/short positions up to 100x on any bonding curve token. Positions use curve price as oracle.

  4. RWA Perpetuals: Trade gold, silver, oil, forex, and equities via Pyth Network oracles. Same interface, same wallet.

  5. Copy Trading: Follow top traders and automatically mirror positions with proportional sizing and configurable profit sharing.

Technical Architecture

Component

Specification

Bonding Curve

Linear AMM (P = P0 + k*S)

Price Precision

1e8 (8 decimals)

Max Leverage

100x (tokens), 50x (forex), 20x (commodities)

Oracle

Pyth Network + Bonding Curve

Fee Structure:

Action

Fee

Token Creation

0.01 MNT

Bonding Curve Trade

0.5%

Meme Perpetual

0.05% per side

RWA Perpetual

0.1% per side

Copy Trading Profit

5% protocol + 1-30% leader

Perpetual Mechanics:

  • Position Size = Margin × Leverage

  • Long PnL = ((Current Price − Entry Price) × Position Size) ÷ Entry Price

  • Short PnL = ((Entry Price − Current Price) × Position Size) ÷ Entry Price

  • Liquidation Price (Long) = Entry Price × (1 − 1 / Leverage)

  • Liquidation Price (Short) = Entry Price × (1 + 1 / Leverage)

Gas Costs on Mantle:

Operation

Cost

Token Creation

~$0.01

Bonding Curve Buy

~$0.005

Open Perp Position

~$0.01

Close Perp Position

~$0.008

Smart Contracts

Deployed on Mantle Sepolia Testnet (Chain ID: 5003).

Contract

Address

Explorer

MemeTokenFactoryV3

0x083c920Eb055997a4becf51d9854dCd441a40b3E

View

BondingCurveMarket

0x93b268325A9862645c82b32229f3B52264750Ca2

View

PerpetualTrading

0x8081b646f349c049f2d5e8a400057d411dd657bd

View

CopyTrading

0x03f0b1dd70d5ad5c46fa8084965ccb5f89d9242c

View

Protocol Treasury

0x844dAea3090440468AC4B0654743ae10B99083cC

View

Pyth Oracle

0xA2aa501b19aff244D90cc15a4Cf739D2725B5729

View

Supported Assets

Meme Token Perpetuals (100x max leverage):

  • Any token created through MemeTokenFactoryV3

  • Price derived from BondingCurveMarket

Real-World Asset Perpetuals:

Category

Assets

Max Leverage

Commodities

Gold (XAU/USD), Silver (XAG/USD), Oil (WTI/USD)

20x

Forex

EUR/USD, GBP/USD, JPY/USD, AUD/USD, CHF/USD

50x

Equities

AAPL, TSLA, NVDA, AMZN, GOOGL, MSFT

50x

Crypto

BTC/USD, ETH/USD, SOL/USD

50x

Pike CLI

Direct blockchain interaction from the terminal, eliminating browser latency and enabling automation for serious traders.

  • Execute trades without browser overhead or wallet popup delays

  • Wallet management with AES-256-GCM encryption stored locally

  • Full platform access: spot trading, perpetuals, RWA, and portfolio tracking

  • Scriptable commands for algorithmic trading strategies

  • Works on servers and headless environments

Pike TUI

Full trading terminal rendered in the command line for traders who need speed and visual market data without a browser.

  • Real-time candlestick charts directly in terminal

  • Live position tracking with PnL updates

  • Keyboard-driven execution with single keystrokes

  • Multi-panel layout for simultaneous market monitoring

  • No mouse clicks, no page loads, no confirmation popups

Security Model

Property

Mechanism

Position Integrity

Margin held in contract

Liquidation

Automated threshold monitoring

Price Manipulation

Multi-source oracle (Curve + Pyth)

Access Control

Owner-only admin functions

Emergency

Pausable contracts

Liquidation Thresholds:

  • Meme Perps: Liquidation when margin depleted

  • RWA Perps: 5% margin threshold

  • Liquidators incentivized with rewards

Links

黑客松進展

A complete perpetual trading infrastructure for Mantle featuring five deployed smart contracts (MemeTokenFactoryV3, BondingCurveMarket, PerpetualTrading, RWAPerpetualTrading, CopyTrading), a Next.js 15 web application with real-time trading panels and candlestick charts, a globally installable CLI with encrypted wallet management, a terminal UI for keyboard-driven trading, Pyth Network oracle integration for 15+ RWA assets, and a Goldsky-indexed subgraph with GraphQL API for historical data and analytics.

技術堆疊

Ethers
Web3
Solidity
React
Node
Rust
Next
typescript

籌資狀態

We are seeking seed funding to conduct professional security audits of our smart contracts and perpetual trading logic, expand RWA asset coverage with additional oracle integrations, and grow our engineering team. Our goal is to raise $50k to accelerate mainnet launch on Mantle and establish PikePerps as the primary perpetual trading infrastructure for meme tokens and real-world assets on L2.

團隊負責人
DDebanjan Mondal
行業
SocialFiDeFiRWA