Using EVM On Flow
EVM Wallets
Applications deployed to EVM on Flow will work with popular EVM-compatible wallets such as MetaMask, all you need to do is add the correct RPC endpoint as a custom network.
MetaMask
Manual method: Add EVM on Flow as a custom network to MetaMask:
- Open the MetaMask browser extension
- Open the network selection dropdown menu by clicking the dropdown button at the top of the extension
- Click the
Add network
button - Click
Add a network manually
- In the
Add a network manually
dialog that appears, enter the following information:
Name | Value |
---|---|
Network Name | EVM on Flow |
Description | The public RPC url for Flow Mainnet |
RPC Endpoint | https://mainnet.evm.nodes.onflow.org |
Chain ID | 747 |
Currency Symbol | FLOW |
Block Explorer | https://evm.flowscan.io/ |
- Tap the Save button to save EVM on Flow as a network.
You should now be able to connect to the EVM on Flow by selecting it from the network selection dropdown menu.
To additionally add the EVM on Flow Testnet to MetaMask, follow the same steps as above, but use the following information:
Name | Value |
---|---|
Network Name | EVM on Flow Testnet |
Description | The public RPC url for Flow Testnet |
RPC Endpoint | https://testnet.evm.nodes.onflow.org |
Chain ID | 545 |
Currency Symbol | FLOW |
Block Explorer | https://evm-testnet.flowscan.io |
Use the Flow Testnet Faucet to fund your account for testing.
Flow Native Wallets
Flow Wallet
Flow Wallet is available on Android and iOS, with desktop support using the Flow Wallet Chrome extension. In addition to being able to transact in both EVM and Cadence environments, Flow Wallet will also allow you to view and move assets between EVM and Cadence, making it possible to manage all your assets in one place.
To use the Flow Wallet Chrome extension:
- Open the Flow Wallet browser extension and create your account.
- Connect to an app using Flow Wallet.
EVM Specification
- EVM on Flow is a virtual EVM-based blockchain using the latest EVM byte-code interpreter
Geth v1.13
- Utilizes
FLOW
token for transactions, with balances denominated inAtto-FLOW
(1FLOW
= 10^18Atto-FLOW
) - The EVM Gateway exposes the standard EVM API (Ethereum JSON-RPC)
- Read more about the implementation in FLIP 223: EVM integration interface
JSON-RPC Methods
Legend: ❌ = not supported. 🚧 = work in progress. ✅ = supported.
Read more about the EVM Gateway on Flow and how it implements the Ethereum JSON-RPC API.