跳到主要内容

用户指南

提示

This guide will help user connect their metamask wallet to Conflux eSpace.

简介

MetaMask是一个便捷访问以太坊兼容链(如ConfluxeSpace)的应用接口 基于本指南的目的,我们将假定您已熟悉 MetaMask 并已安装它。 If you need help getting started with MetaMask itself, check out Metamask documentation and Ethereum documentation.

In this tutorial we will walk through connecting MetaMask to the Conflux eSpace Testnet.

备注

Screenshots in this tutorial are taken from the MetaMask browser extension version 10.8.1.

Connecting MetaMask to Conflux eSpace

Add eSpace through Chainlist

You can add the Conflux eSpace network to your MetaMask wallet by following these steps:

  1. 打开您的浏览器,访问 https://chainlist.org。
  2. Search for "Conflux eSpace".
  3. Click "Connect Wallet" under "Conflux eSpace" to allow this site to send requests to Metamask.
  4. Click "Add to Metamask" under "Conflux eSpace".
  5. 当 MetaMask 提示“允许此站点添加网络?”时,点击“批准”。
  6. 当 MetaMask 提示“允许此站点切换网络?”时,点击“批准”。

Your MetaMask wallet is now connected to Conflux eSpace. 您可以随时通过Metamask中的网络选择菜单切换到其他网络。

Add eSpace manually

Alternatively, you can add Conflux eSpace to MetaMask manually by selecting "Add Network" (or "Custom RPC") in the network selection drop-down menu:

For the eSpace mainnet, please use the following configuration values:

  • Network Name: Conflux eSpace
  • New RPC URL: https://evm.confluxrpc.com
  • Chain ID: 1030
  • Currency Symbol: CFX
  • Block Explorer URL: https://evm.confluxscan.io

For the eSpace testnet, please use the following configuration values:

  • Network Name: Conflux eSpace (Testnet)
  • New RPC URL: https://evmtestnet.confluxrpc.com
  • Chain ID: 71
  • Currency Symbol: CFX
  • Block Explorer URL: https://evmtestnet.confluxscan.io
备注

All the Conflux eSpace RPC endpoint URLs and chain IDs can be found on our Networks page.

Click Save, and you should see Conflux eSpace is now the network selected in MetaMask. 为了让您体验 MetaMask操作情况,我们将把它连接到 Remix 并执行一些交易。 The rest of this guide will assume your MetaMask is connected to Conflux eSpace (Testnet).

水龙头

To interact with our testnet, you first need to receive testnet CFX on eSpace Testnet. You can get testnet CFX from our espace faucet. Paste your wallet address in the address input box, input the captcha and click Claim to receive testnet CFX.