Getting started
Execute a DeFi trade from an agent wallet
Sign and send a swap, bridge, lending transaction, perpetual order or rates trade using local MCP. Follow a Derive options order or volatility RFQ to its venue result.
Workflow
Connect the wallet host
Download the agent kit, follow OWNER-EXECUTION.md and launch node bitpont-agent-mcp.mjs --wallet with a persistent BITPONT_WORKSPACE, a BITPONT_WALLET_MODULE and a private owner policy. The example supports encrypted EVM and local Solana wallets. Your signer can also implement programmatic permissions. Keep customer approvals scoped to their own wallet.
Prepare the specific action
Choose an action from executionRoutes. EVM and Jupiter swaps, deBridge steps, supported Morpho borrowing, GMX and Ostium perpetual orders, Boros rates and supported Operations all use executionPrepare with the action, its exact inputs and a persistent requestId. Solana perp orders first require a signed venue request. Inspect wallet, network, amount, fee, approvals and expiry.
Submit and follow settlement
Call bitpont_walletReview with the executionId, authorize the ticket through the owner policy, then call bitpont_walletExecute with the same executionId. REST clients can sign locally and call executionSubmit. After a timeout, recover the original ID with executionLookup. Use executionStatus and the chain receipt or venue fill to check the outcome.
Trade Derive options and volatility
Launch the separate bitpont-options-mcp.mjs on your wallet host with a funded Derive subaccount. For one contract call optionsPrepare, optionsEstimate, optionsPlace and optionsStatus. For two to four option legs request a volatility RFQ with volatilityRequest, review volatilityQuote, call volatilityExecute with its quoteId, then use volatilityStatus to reconcile a full fill.
Inspect available execution actions
curl -fsS "https://www.bitpont.com/api/v1/agent/execution/routes"