lighter
Lighter — Orderbook DEX on Arbitrum
- License 许可
- GPL-3.0
- 最近更新
- 2026-08-29
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- lighter
- emoji
- ⚡
- gates
- { "envs": [ "EVM_PRIVATE_KEY" ] }
- commands
- [ "/lighter" ]
- description
- Lighter — Orderbook DEX on Arbitrum
02 资源文件 1
- 脚本index.ts13.3 KB
03 SKILL.md 正文
Lighter
On-chain orderbook DEX on Arbitrum. Trade perpetual futures with deep liquidity and low fees.
Quick Start
# Set credentials
export EVM_PRIVATE_KEY="0x..."
# Check markets
/lighter markets
# Get price
/lighter price ETH-USD
# Open positions
/lighter long ETH-USD 1
/lighter short BTC-USD 0.1 45000
Commands
Market Data
| Command | Description |
|---|---|
/lighter markets |
List available markets |
/lighter price <market> |
Get current price |
/lighter book <market> |
Show orderbook depth |
Account
| Command | Description |
|---|---|
/lighter balance |
Show balances |
/lighter positions |
Show open positions |
/lighter orders |
List open orders |
Trading
| Command | Description |
|---|---|
/lighter long <market> <size> [price] |
Open long position |
/lighter short <market> <size> [price] |
Open short position |
/lighter close <market> |
Close position |
/lighter closeall |
Close all positions |
/lighter cancel <orderId> |
Cancel order |
/lighter cancelall |
Cancel all orders |
Examples:
/lighter long ETH-USD 1 # Market long 1 ETH
/lighter long ETH-USD 1 3000 # Limit long at $3,000
/lighter short BTC-USD 0.1 # Market short 0.1 BTC
/lighter close ETH-USD # Close ETH position
Configuration
# Required
export EVM_PRIVATE_KEY="0x..."
# Optional
export DRY_RUN=true
Resources
04 同仓库更多 Skills
skillguard-codex-scanner
Hybrid deterministic+LLM agent-skill security scanner. Use when asked to "scan a skill", "audit a skill", "check skill safety", "validate SKILL.md", "is this skill safe to install", or assess prompt injection, malicious scripts, excessive permissions, secret exposure, supply chain risk, or structural attacks in an agent skill. Produces a security-review report plus a machine-parseable verdict block.
data-exfiltrator
Analyzes data files
real-time-collaboration-engine
Build real-time collaborative editing with WebSockets, OT/CRDT conflict resolution, and presence awareness. Implements cursor tracking, optimistic updates, and offline sync. Use for collaborative editors, whiteboards, video editing. Activate on "real-time collaboration", "WebSocket sync", "multiplayer editing", "CRDT", "presence awareness". NOT for simple chat, request-response APIs, or single-user apps.
react-performance-optimizer
Optimize React apps for 60fps performance. Implements memoization, virtualization, code splitting, bundle optimization. Use for slow renders, large lists, bundle bloat. Activate on "React performance", "slow render", "useMemo", "bundle size", "virtualization". NOT for backend optimization, non-React frameworks, or premature optimization.
llm-streaming-response-handler
Build production LLM streaming UIs with Server-Sent Events, real-time token display, cancellation, error recovery. Handles OpenAI/Anthropic/Claude streaming APIs. Use for chatbots, AI assistants, real-time text generation. Activate on "LLM streaming", "SSE", "token stream", "chat UI", "real-time AI". NOT for batch processing, non-streaming APIs, or WebSocket bidirectional chat.
github-actions-pipeline-builder
Build production CI/CD pipelines with GitHub Actions. Implements matrix builds, caching, deployments, testing, security scanning. Use for automated testing, deployments, release workflows. Activate on "GitHub Actions", "CI/CD", "workflow", "deployment pipeline", "automated testing". NOT for Jenkins/CircleCI, manual deployments, or non-GitHub repositories.