API / For Developers

This page describes the public integration surfaces Specter relies on and the internal contracts that future developers should preserve.

Hyperliquid

Specter uses Hyperliquid public market data and signed exchange actions. Developers should use official Hyperliquid documentation for:

Signed actions must be constructed exactly. A malformed action should fail closed.

Elysium and Uniswap

Specter spot execution targets official Uniswap deployments on Elysium chain 99901. Developers should verify contract addresses against official Uniswap deployment documentation before changing routes.

Spot execution must keep these rules:

ElyScreener

Specter uses ElyScreener token feed data for discovery. Feed fields can change, so code should tolerate missing fields and never treat feed data as execution proof.

TradeLine backend contract

TradeLine is designed around a POST /actions contract with actions for login, profiles, posts, likes, reposts, comments, follows, friends, blocks, DMs, clans, and clan chat.

Wallet login uses a nonce challenge and signature recovery. Private keys never go to the server. Session tokens should be stored hashed server-side.

Developer safety rules