Skip to content

Commit

Permalink
Merge pull request #663 from onflow/giovanni/add-evm-deployments
Browse files Browse the repository at this point in the history
Add EVM contract deployments
  • Loading branch information
turbolent authored Mar 14, 2024
2 parents 68c4d04 + b01a58a commit 632ddf9
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
32 changes: 32 additions & 0 deletions docs/build/core-contracts/13-evm.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
title: Flow EVM
sidebar_label: EVM
---

# 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](../../evm/using.mdx), 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](https://github.com/onflow/flips/pull/225/files).

<Callout type="information">

Full EVM equivalence is only available on PreviewNet at the moment. Deployments on Testnet and Mainnet currently only
support ABI encoding and decoding.

</Callout>

Mainnet/Testnet Source: [`EVM.cdc`](https://github.com/onflow/flow-go/blob/master/fvm/evm/stdlib/abiOnlyContract.cdc)

PreviewNet Source: [`EVM.cdc`](https://github.com/onflow/flow-go/blob/master/fvm/evm/stdlib/contract.cdc)

| Network | Contract Address |
| ----------------- | -------------------- |
| Emulator | `0xf8d6e0586b0a20c7` |
| PreviewNet | [`0xb6763b4399a888c8`](https://previewnet.flowdiver.io/contract/A.b6763b4399a888c8.EVM?tab=deployments) |
| Testnet/Crescendo | [`0x8c5303eaa26202d6`](https://contractbrowser.com/A.8c5303eaa26202d6.EVM) |
| Mainnet | [`0xe467b9dd11fa00df`](https://contractbrowser.com/A.e467b9dd11fa00df.EVM) |
1 change: 1 addition & 0 deletions docs/build/core-contracts/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ but are nevertheless important to developers on Flow:
- Staking Collection. ([StakingCollection](./11-staking-collection.md))
- NFT Storefronts. ([NFTStorefront](./10-nft-storefront.md))
- Account linking and Hybrid Custody. ([AccountLinking](./12-hybrid-custody.md))
- EVM interfacing contract. ([EVM](./13-evm.md))

0 comments on commit 632ddf9

Please sign in to comment.