快速开始
几分钟内从零跑通第一笔交易。
1. 添加网络
点击下方按钮(EIP-3085),在钱包中确认即可。
想手动配置?用以下参数:
2. 领取测试币
打开水龙头领取测试 SUP(用于 gas)和测试稳定币。
# 也可直接请求水龙头 API
curl -s "https://faucet-testnet.superaichain.ai/api/info" | jq .
3. 添加测试代币(可选)
4. 发送第一笔交易
使用 viem:
import { createWalletClient, custom, defineChain, parseEther } from 'viem';
const superTestnet = defineChain({
id: 8848,
name: 'Super AI Chain Testnet',
nativeCurrency: { name: 'Super AI Coin', symbol: 'SUP', decimals: 18 },
rpcUrls: { default: { http: ['https://rpc-testnet.superaichain.ai'] } },
});
const [account] = await window.ethereum.request({ method: 'eth_requestAccounts' });
const wallet = createWalletClient({ account, chain: superTestnet, transport: custom(window.ethereum) });
const hash = await wallet.sendTransaction({ to: account, value: parseEther('0.001') });
console.log('tx:', `https://scan-testnet.superaichain.ai/tx/${hash}`);
5. 在浏览器上确认
打开区块浏览器,粘贴你的地址或交易哈希。