Difference between revisions of "EVM RPC Canister"

From Internet Computer Wiki
Jump to: navigation, search
(Created page with "== Overview == The [https://github.com/internet-computer-protocol/evm-rpc-canister EVM RPC Canister] is a canister that enables the communication between canisters on the Inte...")
 
 
Line 6: Line 6:
 
The cycles ledger (canister ID: <code>7hfb6-caaaa-aaaar-qadga-cai</code>) runs on the [https://dashboard.internetcomputer.org/subnet/pzp6e-ekpqk-3c5x7-2h6so-njoeq-mt45d-h3h6c-q3mxf-vpeq5-fk5o7-yae pzp6e fiduciary subnet].
 
The cycles ledger (canister ID: <code>7hfb6-caaaa-aaaar-qadga-cai</code>) runs on the [https://dashboard.internetcomputer.org/subnet/pzp6e-ekpqk-3c5x7-2h6so-njoeq-mt45d-h3h6c-q3mxf-vpeq5-fk5o7-yae pzp6e fiduciary subnet].
  
== Architecture | ==
+
== Architecture ==
 
The following figure depicts the involved components and their interactions at a high level.
 
The following figure depicts the involved components and their interactions at a high level.
 
[[File:EVM RPC Canister - Page 2.png|center|thumb|600x600px|High-level overview of the EVM RPC Canister.]]
 
[[File:EVM RPC Canister - Page 2.png|center|thumb|600x600px|High-level overview of the EVM RPC Canister.]]
  
  
The EVM RPC Canister accepts requests from canisters and interacts with JSON-RPC providers via [https://internetcomputer.org/https-outcalls HTTPS outcalls] to obtain data from and submit data to Ethereum or other EVM-based blockchains.
 
  
Currently, the following JSON-RPC providers are supported: CloudFlare, Alchemy, Ankr, and BlockPI.
+
The EVM RPC Canister accepts requests from canisters and interacts with JSON-RPC providers via [https://internetcomputer.org/https-outcalls HTTPS outcalls] to obtain data from and submit data to Ethereum or other EVM-based blockchains. Multiple JSON-RPC providers are queried to ensure that the response does not come from a single centralized party. At the same time, this mechanism guarantees that there is no single point of failure.Currently, the following JSON-RPC providers are supported: CloudFlare, Alchemy, Ankr, and BlockPI.
  
Information about the available endpoints and code samples can be found in the [https://internetcomputer.org/docs/current/developer-docs/multi-chain/ethereum/evm-rpc/overview developer docs].
+
Detailed information about the available endpoints and code samples can be found in the [https://internetcomputer.org/docs/current/developer-docs/multi-chain/ethereum/evm-rpc/overview developer docs].

Latest revision as of 15:56, 24 May 2024

Overview

The EVM RPC Canister is a canister that enables the communication between canisters on the Internet Computer and smart contracts on Ethereum and other EVM (Ethereum Virtual Machine) blockchains.

Canisters can send requests to the EVM RPC Canister, which forwards the request to multiple JSON-RPC services using HTTPS outcalls and returns a response to the canister that sent the request.

The cycles ledger (canister ID: 7hfb6-caaaa-aaaar-qadga-cai) runs on the pzp6e fiduciary subnet.

Architecture

The following figure depicts the involved components and their interactions at a high level.

High-level overview of the EVM RPC Canister.


The EVM RPC Canister accepts requests from canisters and interacts with JSON-RPC providers via HTTPS outcalls to obtain data from and submit data to Ethereum or other EVM-based blockchains. Multiple JSON-RPC providers are queried to ensure that the response does not come from a single centralized party. At the same time, this mechanism guarantees that there is no single point of failure.Currently, the following JSON-RPC providers are supported: CloudFlare, Alchemy, Ankr, and BlockPI.

Detailed information about the available endpoints and code samples can be found in the developer docs.