Overview
Conflux has a virtual machine that is similar to the EVM. However, there are still some considerable differences between Conflux and Ethereum. Conflux uses a different transaction format and a different rule for generating addresses from public keys. These differences often make it hard to port EVM compatible dApps to Conflux. Replacing CIP-72 and CIP-80, CIP-90 introduces a transaction execution environment called the Conflux eSpace. eSpace achieves full EVM compatibility without changing the existing accounts and transactions.
CIP-90 introduces a new fully EVM-compatible space. The new space is called Conflux eSpace, while the current space is called Conflux Core space. Conflux eSpace follows the same rule as Ethereum's EVM and supports RPCs like eth_getBalance
. As a result, existing tooling from the Ethereum ecosystem (MetaMask, Truffle, Remix, Hardhat, web3.js, ethers.js) can be used on Conflux eSpace directly.
Accounts in Conflux Core and Conflux eSpace are separated. This means that Conflux transactions can only be sent between core space accounts (using their CIP-37 base32 addresses), while Ethereum-compatible EIP-155 transactions can only be sent between eSpace accounts (using their EIP-55 hex addresses). Assets and data can be transferred across the two spaces using the new CrossSpaceCall
internal contract. Unlike cross-chain operations, cross-space operations are atomic and they have layer-1 security.
Refer to tutorials for cross chain and wallet usage tutorials.