Feature: L1 <> L2 messaging with Bridge example
Description
In Starknet, it is possible to interact with Ethereum by using the L1 <> L2 messaging system.
In this example, we want to demonstrate the usage of this messaging system to send and receive messages from L1 to L2 for a token bridge.
Criteria:
- Bridge example for a token between L1 and L2
- Provide both Solidity and Cairo contracts, deployed and verified on testnets.
- Focus more on the implementation. Do not reuse the content of the Cairo book for the explanation, but give a succinct overview.
Resources:
ODHack
To be eligible for additional rewards, be sure to review and follow the ODHack Common Guidelines and Contributing Guidelines. Be sure to join the telegram group and introduce yourself.
I am a blockchain engineer and I have built a couple of smart contracts both on Ethereum and Starknet. I was fully into Solidity before I started building on Starknet.
- In order to work on this, I will first explore and obtain a deep understanding of what L1<>L2 messaging by exploring the resources provided in the issue description, and this resource as well: https://docs.starknet.io/documentation/architecture_and_concepts/Network_Architecture/messaging-mechanism/ which gives more details as it is from the official documentation.
- Next, I will write the solidity code, test and verify to ensure it works as expected
- And then write the equivalent Cairo code and also verify that it works as expected.
- I will then create a content explaining how it works and verify that the content is correct and meets the standard of StarknetByExample.
- I will create a PR and prepare for review
Hey! I want to work on this issue. The estimated timeline to complete this issue is 5-7 days. I have been working with rust for quite a while and have majorly contributed to Foundry and Reth, which are rust-based open-source projects. Can you assign me another one if you are assigning this issue to anyone else?
You can check out my public profile here.
I am interested in working on this. I have a good idea how I can go about this. Please assign me.
Hello everyone and thank you for your interest! @muheebyusufbaba1 @kamuik16 @VictoriaAde Before being assigned, could you share what idea you have in mind?
Hello @julio4 check previous comment please, just did that
I would've liked to have a more specific ideas of messaging use cases for this example. But I'll assign you @muheebyusufbaba1! Keep in mind that you have two days to atleast open a draft PR so I can track progress and help you if needed.
Just to update you about my progress. I will be creating the PR soon. Still working on the implementation.
Just to update you about my progress. I will be creating the PR soon. Still working on the implementation.
Thank you very much. ODHack hackathon has already finished, so today will be the last day if you want to be eligible!
Updated with specific use cases: Bridge
I'd be interested to work on this