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
Review the spender, token, and amount before approving.

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 with setRouterApproval. This is a per-account, owner-only action: only the account owner can call it, and it cannot be relayed by anyone else.
Routed account actions revert until the owner has approved the router on that account. The token allowance covers what a contract may pull from your wallet; the router approval covers whether the router may act on your margin account at all.

Trading agents (session keys)

You can authorize a hot key to trade on your margin account without signing each order yourself. The owner calls setTradingAgent(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.
A trading agent is a hot key. If it is compromised, the holder can open and close positions on your account until you revoke it. Grant a short expiry and revoke keys you no longer use.
See Position modes & margin accounts for how the margin account itself works.

Network switching

Some TACO features exist only on specific networks. For example, local markets, Base Sepolia deployments, Base deployments, indexer-backed event markets, and staking contracts may not all exist on the same chain. Switch networks from your wallet or the app network selector when a feature is unavailable.

Transaction prompts

Wallet prompts show the final transaction you are about to sign, but they may not explain the market-specific risk. Read the market page and use previews where available before confirming.