Agent Wallet
The signature verification process in both API and Websocket allow user generated "agent wallets" to sign on behalf of the original account. This is similar to the API Keys used for most leading exchanges. This way, API users can trade programmably without using the private key of the original account in the program.
Generate Agent Wallets
Agent wallets can be generated on the frontend, or using this Python SDK example.
Use Agent Wallets
For all POST requests, simply use agent wallet's private key for message signing and add agent_wallet: [AGENT_WALLET_PUBLIC_KEY]
to the request payload. As an example, this Python SDK program uses agent wallet to place a market order.
Last updated