跳到主要内容

快速开始

几分钟内从零跑通第一笔交易。

1. 添加网络

点击下方按钮(EIP-3085),在钱包中确认即可。

想手动配置?用以下参数:

Network Name
Mo Chain Testnet
Chain ID
6688 (0x1a20)
Currency Symbol
MO
RPC URL
https://rpc-testnet.mo.fit
WebSocket
wss://wss-testnet.mo.fit
Block Explorer
https://scan-testnet.mo.fit

2. 领取测试币

打开水龙头领取测试 MO(用于 gas)和测试稳定币。

# 也可直接请求水龙头 API
curl -s "https://faucet-testnet.mo.fit/api/info" | jq .

3. 添加测试代币(可选)

4. 发送第一笔交易

使用 viem

import { createWalletClient, custom, defineChain, parseEther } from 'viem';

const moTestnet = defineChain({
id: 6688,
name: 'Mo Chain Testnet',
nativeCurrency: { name: 'Mo Coin', symbol: 'MO', decimals: 18 },
rpcUrls: { default: { http: ['https://rpc-testnet.mo.fit'] } },
});

const [account] = await window.ethereum.request({ method: 'eth_requestAccounts' });
const wallet = createWalletClient({ account, chain: moTestnet, transport: custom(window.ethereum) });
const hash = await wallet.sendTransaction({ to: account, value: parseEther('0.001') });
console.log('tx:', `https://scan-testnet.mo.fit/tx/${hash}`);

5. 在浏览器上确认

打开区块浏览器,粘贴你的地址或交易哈希。

下一步

  • 钱包 — 连接 MetaMask / OKX / TokenPocket / Trust / Rabby。
  • DEX — 交易与添加流动性。
  • SDK 与示例 — 复制即用的接入代码。