Blog

/

Bridging the Gap: A Guide to t...

Bridging the Gap: A Guide to the ICP-EVM Proxy

February 7, 2025

3 min read


The ICP-EVM Proxy is a PoC bridging ICP and Ethereum ecosystems. It translates ICP canister data into Ethereum-compatible formats, enabling cross-chain interaction and use of tools. Opeing doors for cross-chain dApps and simplified on-chain event tracking.

Ever wished you could seamlessly blend the power of the Internet Computer with the Ethereum ecosystem? We get it. Blockchain interoperability is a huge challenge, but it's also where some of the most exciting innovation happens. That's why we're glad to talk about the ICP-EVM Proxy, a proof-of-concept (PoC) that's paving the way for exactly that kind of cross-chain magic.

Why This Matters 


Working across different blockchain platforms can feel like trying to speak a dozen different languages. The ICP-EVM Proxy acts as a translator, allowing ICP canisters to "talk" to Ethereum. Thanks to the translation of ICP canister data into Ethereum RPC methods, users can leverage familiar DEX tools like Dexscreener to analyze and interact with this data.. No need to completely rewrite your codebase or learn a whole new stack – that's a win for everyone.

Under the Hood: How the Magic Works


The ICP-EVM Proxy solves a real problem. It's built on a solid foundation of interconnected components:

  1. The Counter Canister: A simple Rust-based canister that demonstrates core ICP functionality. Every action (like incrementing a counter) triggers an ICRC-3 event, giving you a clear way to track what's happening.

  2. The DEX Canister: A mini decentralized exchange (DEX) built on ICP using Rust. It lets you create currency pairs, mint and burn tokens, and logs every transaction with ICRC-3 events. It's a great example of how to build DeFi applications on ICP.

  3. The Logger Canister: This is the central hub for all event logs. It captures and stores the ICRC-3 logs from both the Counter and DEX Canisters, making it easy to access and analyze data.

  4. The EVM Adapter Proxy: This is the real MVP. Written in Go, it bridges the gap between ICP and Ethereum. It grabs those ICRC-3 logs and translates them into a format Ethereum understands. It also exposes Ethereum RPC methods, allowing your Ethereum tools to seamlessly communicate with ICP.

  5. The SubQuery Indexer: Built with Node.js, this service indexes and organizes all the EVM-compatible data. Thanks to its GraphQL API, querying blockchain events becomes incredibly simple. Think of it as your personal blockchain data librarian.

The Workflow: From ICP to Ethereum


Imagine a developer interacting with the DEX Canister, maybe minting some tokens. Here's what happens behind the scenes:

  1. The DEX operation triggers an ICRC-3 log.

  2. The Logger Canister stores this log.

  3. The EVM Adapter Proxy picks up the log and translates it into an Ethereum-friendly event.

  4. The SubQuery Indexer processes and indexes this data, making it available for querying via GraphQL.

Why Should You Care?


This PoC opens up a world of possibilities:

  • ICP dApps can integrate with existing Ethereum analytics tools.

  • Truly cross-chain applications become a reality.

  • Standardized logging makes on-chain event tracking a breeze.

What's Next?


This is a PoC, so there are some limitations:

  • Basic ICRC-3 logging and limited error handling are in place.

  • Throughput isn't optimized for production-level applications (yet!).

  • In-memory log storage isn't ideal for long-term data.

  • The DEX is still basic (no order matching, for example).

But don't let that discourage you! This is just the beginning. The ICP-EVM Proxy is a significant step towards a truly interconnected blockchain world. As the project matures, we can expect improvements in scalability, security, and performance. For more information on this and other developments visit our website, follow us on X, LinkedIn.  

Read More


Unlocking Privacy: The New Zcash Shielded App for Ledger

The Zcash Shielded App, developed by Zondax, enables users to manage shielded transactions directly on Ledger devices, enhancing privacy and simplifying Zcash management.


Wrapping Up the Year: Zondax 2024 in 12 Highlights

As 2024 ends, Zondax celebrates milestones like the Polkadot Universal App, Paseo upgrades, and Orbit events. From groundbreaking tools to community growth, we're excited for innovation in 2025!


La nueva app de Polkadot: una experiencia ininterrumpida

Para desarrolladores y usuarios de Polkadot, las actualizaciones de runtime son un obstáculo conocido que interrumpe la funcionalidad de las aplicaciones y parachains, aunque son esenciales para la seguridad.

Other Articles


67347acc04a66e00aa89fdaf

Security

November 13, 2024

Unlocking Privacy: The New Zcash Shielded App for Ledger

The Zcash Shielded App, developed by Zondax, enables users to manage shielded transactions directly on Ledger devices, enhancing privacy and simplifying Zcash management.

6710ee28526e0c00aab62892

October 17, 2024

Making the Most Out of the Beryx API: Your Ally for Filecoin Development

For over a year, Zondax has developed the Beryx Explorer and API. With over 90 endpoints, it streamlines interactions with the FVM and FEVM.

67a62c4696ac8500ab5a3dd7

February 7, 2025

Bridging the Gap: A Guide to the ICP-EVM Proxy

The ICP-EVM Proxy is a PoC bridging ICP and Ethereum ecosystems. It translates ICP canister data into Ethereum-compatible formats, enabling cross-chain interaction and use of tools. Opeing doors for cross-chain dApps and simplified on-chain event tracking.

Making the Most Out of the Beryx API: Your Ally for Filecoin Development

For over a year, Zondax has developed the Beryx Explorer and API. With over 90 endpoints, it streamlines interactions with the FVM and FEVM.

6710ee28526e0c00aab62892
Bridging the Gap: A Guide to the ICP-EVM Proxy

The ICP-EVM Proxy is a PoC bridging ICP and Ethereum ecosystems. It translates ICP canister data into Ethereum-compatible formats, enabling cross-chain interaction and use of tools. Opeing doors for cross-chain dApps and simplified on-chain event tracking.

67a62c4696ac8500ab5a3dd7