← Back to home

the-bridge-message-standard

PoC for TheBridge Message Standard connecting Polygon Toucan protocol with Regen Ledger

Problem Statement

Presentation and solution description: https://hackmd.io/IZ0ta7_UQ1GUYl4WI__aKQ?viewWe propose a bridge message standard to be applied across different bridges and chains. For a proof of concept we:bridge Toucan protocol (deployed on Polygon) TCO2 tokens with Regen Eco Creditsusing a bridge controller smart contract to connect with a Axelar bridge service connecting Polygon and Regen LedgerRegen Ledger as a Cosmos SDK with it's own token registry.Code:https://github.com/regen-network/toucan-the-bridge: Bridge controller implementing The Bridge Message Standardhttps://github.com/robert-zaremba/ethamsterdam-the-bridge: fork of Regen Ledger (Cosmos SDK chain) with:x/axelarbridgemodule implementing the The Bridge Message Standard.x/ecocredits handlerwith custom logic handling the message to process TCO2 token registration.regen-ledger code diff: https://github.com/robert-zaremba/ethamsterdam-the-bridge/compare/regen-master...masterThe solution can be also applied to any smart contract chain or Layer-2 (Evmos, Optimism, Juno, Agoric, Solana ....).

Solution

Details about the solution: https://hackmd.io/IZ0ta7_UQ1GUYl4WI__aKQ?viewSummary:we define a Message Protocol for Blockchain bridges.we implement it on Polygon using Solidity and Cosmos SDK (in Regen Ledger)we use Axelar as a transport (bridge) layerwe utilize AxelarcallContractfunctionality to send messages between EVM chainswe utilizeInterchain Accountsfor recording message in Cosmos Chains.

Hackathon

ETHAmsterdam

2024

Prizes

  • 🏆

    🧩 Toucan — 🥇 Best Integration

Contributors