Contract
The EVM
contract is the entrypoint from Cadence to EVM on Flow. While many developers may choose to interact with EVM
via EVM-equivalent tooling paths, all access to Flow EVM ultimately interfaces via Cadence at
some level.
If you would like to interact with EVM directly from Cadence, you can use the EVM
contract and it's constructs. Read
more about the EVM contract and its role in Flow's EVM equivalence in FLIP
#223.
info
Full EVM equivalence is only available on PreviewNet at the moment. Deployments on Testnet and Mainnet currently only support ABI encoding and decoding.
Mainnet/Testnet Source: EVM.cdc
PreviewNet Source: EVM.cdc
Network | Contract Address |
---|---|
Emulator | 0xf8d6e0586b0a20c7 |
PreviewNet | 0xb6763b4399a888c8 |
Testnet/Crescendo | 0x8c5303eaa26202d6 |
Mainnet | 0xe467b9dd11fa00df |