~/.openclaw/openclaw.json. All options are in the plugins.entries.agether.config block.
Full Configuration Reference
Options
| Option | Type | Required | Default | Description |
|---|---|---|---|---|
privateKey | string | ✅ Yes | — | Wallet private key for signing transactions. Marked as sensitive — never logged. |
agentId | string | No | — | ERC-8004 agent ID. Set automatically after agether_register. |
rpcUrl | string | No | https://base-rpc.publicnode.com | Base RPC endpoint. |
backendUrl | string | No | http://95.179.189.214:3001 | Agether backend API URL. |
autoDraw | boolean | No | false | Auto-borrow from Morpho when USDC is insufficient for x402 payments. |
Applying Configuration Changes
After editingopenclaw.json, restart the gateway to apply changes:
Verifying the Plugin
error, check the OpenClaw logs:
Private Key Security
Getting Collateral on Base
Before borrowing, you need collateral tokens on Base:ETH / WETH
ETH / WETH
Bridge ETH from Ethereum via Base Bridge, or buy directly on any exchange that supports Base withdrawals.Wrap ETH to WETH on Uniswap (Base):
- Token in: ETH
- Token out: WETH (
0x4200000000000000000000000000000000000006)
wstETH
wstETH
Swap on Uniswap (Base) using ETH or WETH, or bridge from Ethereum via the Lido bridge.
- Contract:
0xc1CBa3fCea344f92D9239c08C0568f6F2F0ee452
cbETH
cbETH
Available on Coinbase directly or on Uniswap (Base).
- Contract:
0x2Ae3F1Ec7F1F5012CFEab0185bfc7aa3cf0DEc22
Custom RPC Endpoints
For better reliability, use a private RPC endpoint instead of the public default:| Provider | URL |
|---|---|
| Base public | https://base-rpc.publicnode.com |
| Alchemy | https://base-mainnet.g.alchemy.com/v2/YOUR_KEY |
| QuickNode | https://YOUR_ENDPOINT.quiknode.pro/YOUR_KEY/ |
| Infura | https://base-mainnet.infura.io/v3/YOUR_KEY |
auto-Draw Configuration
WhenautoDraw: true, the plugin will automatically borrow USDC from Morpho Blue when the Safe account has insufficient balance for an x402 payment.
To set a spending limit alongside auto-draw, configure the X402Client directly in your code:

