liberfi-perpetuals
Installation
SKILL.md
LiberFi Perpetuals
Perpetuals data and signed order relay flow via LiberFi OpenAPI (/v1/perpetuals/… → perpetuals-server).
Pre-flight
See bootstrap.md for CLI install and lfi ping.
- Read endpoints (coins, markets, orderbook, …): no auth.
- User-scoped reads (
positions,orders,fills): pass the walletaddressin the CLI argument (0x). - Order writes (
order-prepare/order-submit, cancel variants): require a user wallet to sign typed data; agents must not fabricate signatures. - Deposit (recommended
deposit-place): requires authentication (lfi statusthenlfi login key) — the server's TEE wallet signs and broadcasts on the user's behalf. The atomicdeposit-quote/deposit-submitescape hatches do not require auth but the caller is then responsible for signing the SOL tx and broadcasting it themselves.
Skill routing
| User intent | Skill |
|---|---|
| Spot swap, bridge, gas send | liberfi-swap |
| Trending spot tokens, new listings | liberfi-market |
Related skills