Connect a wallet
TACO uses a wallet connection to read your address and submit transactions. The connected chain controls which markets, contracts, and account data are available. If a page looks empty, first check your wallet network.You do not have to connect a plain EOA. Smart-contract wallets (Safe), session-key wallets, and EIP-7702-upgraded EOAs can also connect and sign orders. The router verifies order signatures through ERC-1271, so any account that returns a valid
isValidSignature is accepted as the maker.ERC-20 token approvals
ERC-20 approvals let a contract spend a token from your wallet. You may need approvals for:- collateral deposits
- event share actions
- price market trades
- LP deposits
- proposal or dispute bonds
Router approval for your margin account
A token allowance is not the same as approving the router on your margin account. These are separate gates. Before the router can run routed self-service trades on your margin account, or execute account-level signed limit orders against it, you must enable the router withsetRouterApproval. This is a per-account, owner-only action: only the account owner can call it, and it cannot be relayed by anyone else.
Trading agents (session keys)
You can authorize a hot key to trade on your margin account without signing each order yourself. The owner callssetTradingAgent(agent, expiry) to grant an agent until a future timestamp (re-calling rotates or extends it), and revokeTradingAgent(agent) to kill it immediately. Both are owner-only.
An agent is strictly scoped: it can only open, close, add collateral, and reduce leverage. It can never withdraw, deposit, run LP actions, change router approval, or manage agents. Agent-submitted limit orders must carry keeperFeeAmount == 0 — a relayer pays gas, and an agent cannot direct a keeper fee out of your account.
See Position modes & margin accounts for how the margin account itself works.
