Environment
Base URL:https://deposit-addresses.eco.com
In this quickstart, you will:
Step 1: Generate a Deposit Address
Call the API to generate a deposit address for your Solana wallet.| Field | Type | Description |
|---|---|---|
chainId | number | Source chain ID. Currently only Base (8453) is supported |
solanaAddress | string | Your Solana wallet address (base58, 32-44 characters) |
depositor | string | EVM address authorized to claim refunds if the intent expires unfulfilled |
evmDepositAddress is your deposit address. This is where you’ll send tokens. The address is deterministic: repeating the same request always returns the same address, and you can share it before the contract is deployed onchain.
The solanaAddress in the response is the hex encoding of the base58 address you submitted (a 32-byte public key).
Step 2: Send Tokens
Transfer USDC to your deposit address on Base. The sender makes a normal ERC-20 transfer. No special app or bridge UI required.Step 3: Automatic Processing
Once tokens arrive at the deposit address, the routing logic executes automatically:- Detects the deposit: Balance monitoring detects the incoming tokens
- Deploys the contract: If not already deployed, the contract is deployed via the factory
- Executes the action: For cross-chain deposits,
createIntent()is called - Publishes to Portal: The intent is published to the Routes Portal
- Solver fulfillment: Solvers compete to fulfill the intent on Solana
Step 4: Check Status
Query the deposit address to check its status.| Field | Description |
|---|---|
isDeployed | true once the contract is deployed |
lastCheckedBalance | Current token balance at the address |
deploymentTxHash | Transaction hash of the contract deployment |
Validation rules
The API validates input parameters:- solanaAddress: Must be a valid base58 Solana address (32-44 characters)
- depositor: Must be a valid Ethereum address
- chainId: Must be a number >= 1
Error handling
Validation failures return400 with a validationErrors map:
400, with an error envelope. If the factory is not configured for the specified chain:
