Home/Docs

Built on Arc Testnet

Hackathon product manual

Trade Fun is an Arc-native DeFi trading workspace for USDC funding, perpetual futures execution, wallet operations, and transparent transaction tracking. This manual is written for hackathon judges, testers, and demo operators.

Welcome

Trade Fun provides tooling for DeFi execution: Arc USDC funding, Hyperliquid perpetuals trading, managed wallet operations, and inspectable backend workflows.

Arc Hackathon build

The platform is built around Arc Testnet USDC as the primary user funding asset and integrates cross-chain operations when perpetual margin needs to be funded on HyperCore.

One workspace for active traders

Connect once, fund on Arc, trade Hyperliquid perps, manage positions, and review wallet activity from one interface.

Perps execution terminal

Market, limit, and TWAP order entry with leverage controls, TP/SL, live positions, open orders, fills, and funding data.

USDC-first funding

Users deposit Arc USDC while the backend coordinates bridge, gas, retry, and HyperCore funding steps in a visible queue.

Hackathon-ready Arc build

Built for Arc Testnet with CCTP, managed wallets, transaction history, automated retries, and demoable end-to-end flows.

Pitch Summary

The high-level story to use when presenting the project.

Problem: DeFi traders must jump across wallet apps, bridges, explorers, and trading terminals before they can safely place a perp order.

Solution: Trade Fun compresses funding, wallet management, perps execution, and transaction tracking into a single Arc-native workspace.

Differentiator: the app does not hide complex infrastructure; it exposes queue state, bridge tx hashes, deposit status, and trading state in user-facing history.

Hackathon scope: Arc Testnet funding, Hyperliquid perps integration, USDC bridge operations, managed wallet UX, retry-safe backend jobs, and a production-style interface.

Quick Start

The shortest path from connected wallet to live trading and tracked USDC flows.

1

Connect your wallet

Use the header wallet button to sign in. The app loads your profile, Arc wallet, perpetual wallet, balances, and recent transactions.

2

Deposit Arc USDC

Open Wallet, choose Deposit, enter an amount, and select Spot or Perp as the destination. Perp deposits are queued and tracked through bridge and HyperCore funding steps.

3

Open the perps terminal

Go to Trade, pick a market such as BTC, ETH, SOL, or another supported asset, then review chart, order book, account summary, and margin data.

4

Place and manage orders

Choose Long or Short, select Market, Limit, or TWAP, set size and leverage, optionally attach TP/SL, then confirm the order preview.

5

Review activity

Use the terminal tabs and Wallet history to inspect positions, open orders, fills, funding payments, deposits, withdrawals, and retry states.

Pro tip

For a hackathon demo, start with Wallet funding, then open the perps terminal and place a small testnet order so judges can see both the money movement and the trading workflow.

Trading Terminal

Perpetuals execution and charting in a data-dense terminal for DeFi traders.

Market selector for supported Hyperliquid perpetual pairs with live mark price, funding, 24h change, and market context.

Chart and order book views for directional decision making before order entry.

Trade panel with Long and Short modes, Market, Limit, and TWAP order types, leverage controls, and size inputs.

Account summary showing available margin, account value, margin usage, and estimated trade impact.

Position, open order, order history, fill history, funding history, and TWAP history tabs for post-trade monitoring.

Perp Trading Guide

Step-by-step instructions for using the perpetual futures terminal.

1

Choose a market

Open the perps page and select a coin from the market selector. Review price, funding, volume, chart structure, and order book liquidity.

2

Set account mode and leverage

Use the trade panel to review available margin and adjust leverage for the selected asset before entering size.

3

Pick order type

Use Market for immediate execution, Limit for a target entry price, or TWAP to split execution across time.

4

Attach risk controls

For Market and Limit orders, optionally enable Take Profit and Stop Loss so the position has predefined exit levels.

5

Confirm and monitor

Review the confirmation modal, submit the order, then track fills, open orders, active positions, liquidation context, and realized PnL.

Market order

Best for immediate entry or exit. The order uses current market liquidity and should be reviewed for slippage-sensitive assets.

Limit order

Best for a planned entry price. The order remains open until filled, canceled, or invalidated by exchange rules.

TWAP order

Best for splitting larger orders over time. Track active jobs and fills from the TWAP table.

Order Management

Controls for reducing risk after an order is submitted.

Cancel individual open orders or cancel all open orders from the Open Orders tab.

Close a position directly from the Positions table without leaving the market page.

Modify TP/SL from the active position controls when the market view changes.

Terminate active TWAP jobs and inspect TWAP fill history from the TWAP tab.

Review realized PnL, fees, fill price, order direction, and timestamp from Trade History.

Wallet & USDC

Wallet flows centered on USDC deposits, transfers, and cross-chain bridge operations on Arc Testnet.

Unified wallet dashboard for Arc spot wallet, perpetual wallet, balances, and recent transactions.

Deposit modal supports Spot and Perp destinations so users can choose whether funds stay on Arc or move into trading margin.

Send and withdraw flows keep recipient, token, amount, and transaction status visible in history.

Perp deposits are tracked through backend queue states instead of being treated as complete immediately after a source-chain tx.

Profile wallet cards expose account value, available margin, locked margin, maintenance margin, and active positions.

Funding Flow

How Arc USDC becomes usable perpetual margin in the current testnet build.

User starts with Arc USDC and requests a Perp deposit from the Wallet interface.

The backend burns or bridges USDC from Arc to Arbitrum and records burn, claim, and retry metadata.

For the current testnet legacy HyperCore flow, mod supplies Bridge2 USDC2 on Arbitrum, user repays Circle USDC to mod, then user sends USDC2 to the HyperCore Bridge2 contract.

The service checks user Arbitrum gas and automatically tops up from the mod wallet when needed for user-signed Arbitrum transactions.

The queue keeps failed or incomplete deposits pending so the scheduler can resume instead of losing state.

Multi-Wallet Strategy

Coordinate capital across wallets and review multi-asset flows before execution.

Spot wallets can separate operational capital, trading capital, and experimental funds.

Bundle Swap quotes the Arc Uniswap V2 router, approves each spot wallet, executes wallet-level swaps, and returns receipts for each leg.

Wallet-first routing makes every execution path easier to inspect before a trade or transfer is submitted.

Coming Soon

Preview modules are visible but are not yet available for live execution.

Coming soon

Private Transfer

Guarded transfer previews with explicit review states. The current page is a product preview - execution is not yet available.

Hackathon Demo

Recommended demo path for a short judge walkthrough.

1

Show the wallet and funding queue

Open Wallet, point out Arc USDC balances, Perp destination deposits, transaction history, retry states, and bridge metadata.

2

Open a perpetual market

Navigate to Trade, select a market, and explain the chart, order book, account summary, and available margin.

3

Submit a small testnet order

Place a Market or Limit order with a small size. Show the confirmation modal, then inspect Positions, Open Orders, and Trade History.

4

Explain the backend automation

Describe CCTP/Bridge2 funding, user gas top-up, mod inventory, queue retries, and why transaction state is persisted.

Core Philosophy

DeFi workflows should stay reviewable, explicit, and easy to audit before execution.

At the heart of Trade Fun is the belief that traders deserve clear tooling instead of a chaotic stack of disconnected interfaces. The app focuses on wallet coordination, transaction tracking, and visible execution state.

By organizing cross-chain routing, wallet coordination, and transaction tracking, the platform reduces repetitive manual work without hiding the transaction path.

Security

Best practices for using the platform safely.

Phishing warning

Always verify you are on the official Trade Fun domain. We will never ask for your seed phrase or private keys via email, social media, or support channels.

Connect only through the in-app wallet flow — never share private keys.

Review destination addresses and amounts before confirming transfers.

Treat preview features as non-executable until released.

Report suspicious links or impersonation attempts via Telegram @tungreal.

Built on Arc Testnet. Trade Fun is an independent application and is not endorsed by Circle or Arc unless explicitly stated.