Skip to main content
1

Install

2

Create a client

Without a signer the client is read only. apiKey is optional and unlocks the market-maker gateway.
3

Approve once

ZEUS routes trades through two plugins of its Router: the PositionRouter for market orders and the OrderBook for limit, take profit and stop loss orders. Approve both once per wallet, and the token you pay with.
4

Place a first trade

The call returns when the keeper has executed the request, not when your transaction is mined. If the keeper cancels it, the call throws RequestCancelled with the receipt attached.
Try everything on the ZEUS test network first with network: 'base-sepolia'. The test USDC there can be minted freely, and a little Base Sepolia ETH pays for gas and keeper fees.