> ## Documentation Index
> Fetch the complete documentation index at: https://docs.agentwallex.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 支持的链

> AgentWallex 支持的区块链网络 — 已上线的链、测试网和即将添加的网络。

## 已上线的链

AgentWallex 目前支持以下区块链网络的代理钱包和交易：

| 链               | Chain ID         | 类型     | 支持的代币                 |
| --------------- | ---------------- | ------ | --------------------- |
| Ethereum        | `eip155:1`       | EVM 主网 | ETH, USDC, USDT, DAI  |
| Base            | `eip155:8453`    | EVM L2 | ETH, USDC             |
| Polygon         | `eip155:137`     | EVM L2 | MATIC, USDC, USDT     |
| BNB Smart Chain | `eip155:56`      | EVM 主网 | BNB, USDC, USDT, BUSD |
| Tron            | `tron:mainnet`   | 非 EVM  | TRX, USDT             |
| Bitcoin         | `bip122:mainnet` | UTXO   | BTC                   |

## 测试网

使用测试网进行开发和测试 — 不涉及真实资金风险：

| 链                | Chain ID          | 水龙头                                                                          |
| ---------------- | ----------------- | ---------------------------------------------------------------------------- |
| Base Sepolia     | `eip155:84532`    | [Coinbase 水龙头](https://www.coinbase.com/faucets/base-ethereum-goerli-faucet) |
| Ethereum Sepolia | `eip155:11155111` | [Sepolia 水龙头](https://sepoliafaucet.com)                                     |
| Polygon Amoy     | `eip155:80002`    | [Polygon 水龙头](https://faucet.polygon.technology)                             |

<Tip>
  使用 `environment: "sandbox"` 初始化 SDK 时，所有操作会自动使用测试网 Chain ID。
</Tip>

## x402 支持的链

x402 微支付协议目前支持以下链进行支付协商和结算：

| 链                 | Chain ID       | 结算代币 |
| ----------------- | -------------- | ---- |
| Base Sepolia（测试网） | `eip155:84532` | USDC |
| Base              | `eip155:8453`  | USDC |
| Ethereum          | `eip155:1`     | USDC |
| Polygon           | `eip155:137`   | USDC |

通过编程方式查询支持的链：

```bash theme={null}
curl -X GET https://api.agentwallex.com/api/v1/x402/facilitator/supported
```

## 即将上线

以下链在路线图上：

| 链                 | Chain ID         | 预计时间      | 备注       |
| ----------------- | ---------------- | --------- | -------- |
| Solana            | `solana:mainnet` | 2026 年 Q2 | SPL 代币支持 |
| Avalanche C-Chain | `eip155:43114`   | 2026 年 Q2 | EVM 兼容   |
| Arbitrum One      | `eip155:42161`   | 2026 年 Q3 | EVM L2   |

<Info>
  需要这里未列出的链？请通过 [support@agentwallex.com](mailto:support@agentwallex.com) 联系 AgentWallex 团队，或通过仪表盘提交请求。
</Info>

## Chain ID 格式

AgentWallex 使用 [CAIP-2](https://github.com/ChainAgnostic/CAIPs/blob/main/CAIPs/caip-2.md) 链标识符：

* **EVM 链**：`eip155:<chain_id>`（例如 `eip155:1` 表示 Ethereum 主网）
* **Bitcoin**：`bip122:mainnet`
* **Tron**：`tron:mainnet`
* **Solana**（即将上线）：`solana:mainnet`

创建代理或交易时，请始终使用完整的 CAIP-2 Chain ID：

```typescript theme={null}
const agent = await aw.agents.create({
  name: "my-agent",
  chain: "eip155:8453", // Base mainnet
});
```
