Blog · TradingView · Exchange guide · updated 2026-09-25
Connect Lighter to TensorTrader: Wallet-approved agent key, paper first
Approve a trade-only Lighter agent, save it in TensorTrader on paper first, and see what works on Lighter today, including TradingView alert execution.
Lighter and TensorTrader
Lighter is a zk-rollup decentralized perpetuals exchange that settles trades with zero-knowledge proofs.
This guide shows exactly what Lighter needs from you, how to create it without withdrawal permission, how to save it in TensorTrader on paper first, and what TensorTrader can do on Lighter today. Once connected, TradingView alerts can size, place and protect perpetual orders on your own Lighter account.
At a glance
- status
- Live-ready, paper first
- type
- DEX
- markets
- perps
- venue max leverage
- 20x
- credential
- Wallet-approved agent key (no seed phrase)
What Lighter asks for
- 1Lighter uses an EIP-712 agent key. Settings opens the connect wizard.
- 2Approve the agent on testnet first. Never paste your main private key here.
- allow
- Agent key
- never
- Main wallet seed
Connect Lighter in TensorTrader
Your seed phrase and main private key never leave your wallet. TensorTrader stores your public address and the restricted agent key, encrypted. That is the security baseline for every DEX that supports delegated keys.
- 1Sign in and open Settings (the tab on the right edge), then the Exchange Auth tab.
- 2Pick Lighter. Instead of key fields you get a connect wizard.
- 3Connect your browser wallet and choose the test network first.
- 4Approve the trading agent with one wallet signature. The agent can place and close trades; it cannot withdraw.
- 5Wait for the green status and the balance to appear. If both networks read empty, fund the test account first.
What works on Lighter today
Lighter passed TensorTrader's parity checklist: balances, margin, fills, reconcile and fill-based profit booking all verified on paper before the venue was switched on.
- key storage + verification
- Yes: the key is checked with a real call to the exchange.
- TradingView alert execution
- Yes, paper first.
- live-ready (paper-first parity checklist)
- Yes.
- paper / testnet path
- The Lighter zk-rollup testnet through CCXT sandbox mode; orders are signed headlessly with the native signer.
If Lighter does not connect
TensorTrader never asks you to paste a seed phrase to fix a Lighter connection. If a screen does, stop.
- no wallet detected
- Install MetaMask or a compatible browser wallet in the same browser and reload.
- empty balance
- Fund the test network first; a verified agent on an empty account shows zero.
- wrong network
- Testnet and mainnet need separate approvals; reconnect on the network you want.
- agent not registered
- The approval did not reach Lighter; approve again and wait for the green status.
Your first Lighter order from the Chrome extension
Orders reach Lighter through TradingView alerts. The TensorTrader extension builds those alerts for you: open TradingView, open the extension side panel, and use the Batch Create tab. Pick this Lighter key in step 1 · Exchanges, type your tokens, choose an indicator or strategy from your TradingView favorites, review the plan and press Create.
When an alert fires, TensorTrader sizes the order, clamps leverage to the lower of your policy and the venue maximum, places it on your key and shows the fill on your dashboard.
Beta Pioneer: 90 days, plus seats to share
A verified trade-only Lighter key makes you a Beta Pioneer: your free beta runs 90 days instead of 30, and you get an invite code with 90-day seats for other traders. The code has 5 seats while we are still finishing a venue, and 2 once it is complete.
Find the code under Settings → Community and use "Copy invite link". Each seat gives a new account the same 90-day beta.
Frequently asked questions
- Does TensorTrader need withdrawal permission on Lighter?
- No. Leave withdrawals and transfers off. TensorTrader only needs to trade and read your account.
- Can I test Lighter without real money?
- The Lighter zk-rollup testnet through CCXT sandbox mode; orders are signed headlessly with the native signer.
Keep reading
TradingView webhook automation: from alert to exchange order
Everything about automating TradingView: alert types, webhook JSON, plan limits, building hundreds of alerts with the Chrome extension, managing them, and executing on 30 exchanges and brokers, paper first.
Trade-only API keys: which permissions to enable, and which never to enable
A plain guide to exchange API key permissions for trading bots: what trade, read, transfer and withdraw mean, the passphrase exchanges, IP allow-lists and DEX agent keys.
Paper trading and testnets on every exchange TensorTrader supports
Which crypto exchanges and brokers offer a testnet, demo or paper environment, how TensorTrader uses each one, and which venues have no paper path at all.
Not financial advice. Performance figures are TensorTrader testnet or backtest results with the method stated; past results do not predict future returns.