1. Conflux IDE Environment Configuration
A guide on how to create a Conflux project and configure the Conflux wallet to get tokens
Choose "New Project" to create Binance, Chain33, Ethereum, Fabric, Conflux, Dfinity, and other chain projects. For this tutorial, we'll use Conflux IDE.
Then click the New Project button, select Conflux on the left, and select a project template on the right to create a Conflux project.
Conflux is currently divided into two types of networks: Conflux eSpace and Conflux Core. Conflux introduces a new fully EVM compatible space called Conflux eSpace, while the current space is called Conflux Core. Conflux eSpace follows the same rules as EVM and supports eth RPC like eth_getBalance. Therefore tools from the Ethereum ecosystem can be used directly in Conflux.
After entering the project, click the Unconnected button in the upper right corner, select
Injected Web3 Provider, and then click
Metamask (Conflux eSpace)to connect
After Metamask (Conflux eSpace) is connected, open the bottom wallet and you can see that the wallet indicates that the current connection is not to the Conflux network. Click Switch to open the pop-up window and select Confflux eSpace (Testnet) to switch (add) the network
If Metamask has been configured with Conflux eSpace network, switch here; otherwise, Metamask will be requested to add the corresponding network
After the Conflux eSpace network is configured, it is also necessary to transfer money to the currently connected account; since the Conflux eSpace network does not have a dedicated faucet, we need to transfer money from the account on the Conflux Core network.
Click the Connect button in the upper right of the IDE and click Onload to uninstall the wallet connected above. Then select injected Web3 Provider and click on FluentWallet (Conflux Core) to connect, which evokes the browser plugin Fluent Wallet.
After transferring, switch back to Conflux eSpace according to step 2.1, and you can see that the account already has a CFX token.