1. Conflux IDE Environment Configuration
A guide on how to create a Conflux project and configure the Conflux wallet to get tokens
Visit ChainIDE and click the "Try Now" button on the front page of ChainIDE as shown in the figure below.

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.
.png?alt=media&token=217b28bf-c1d4-470f-a9e8-9f74588f65cb)
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
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.
.png?alt=media&token=3e9bc436-0030-4637-8aa7-1d7d78bf2868)
.png?alt=media&token=44463dfc-cc29-455c-8c88-4e2d8fb9c46c)
Open Fluent Wallet, you can see the currently connected address and network Conflux Testnet. We open the testnet faucet and get a CFX for the current account.
After getting CFX, go back to Fluent Wallet, click Cross Space, it will open https://evm.fluentwallet.com/, where you can perform Assets Transfer between Conflux Core and Conflux eSpace
.png?alt=media&token=0c51cf1d-59f7-4691-90c5-ed681c7b73e0)
.png?alt=media&token=956cec20-2152-43a5-83d5-9934cc282530)
After transferring, switch back to Conflux eSpace according to step 2.1, and you can see that the account already has a CFX token.
Last modified 1yr ago