Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: L1 <> L2 messaging with Bridge example #186

Open
julio4 opened this issue May 23, 2024 · 10 comments · May be fixed by #253
Open

Feature: L1 <> L2 messaging with Bridge example #186

julio4 opened this issue May 23, 2024 · 10 comments · May be fixed by #253
Assignees

Comments

@julio4
Copy link
Contributor

julio4 commented May 23, 2024

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.

@julio4 julio4 added the ODHack label May 23, 2024
@muheebyusufbaba1
Copy link

muheebyusufbaba1 commented May 23, 2024

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

@kamuik16
Copy link

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.

@VictoriaAde
Copy link

I am interested in working on this.
I have a good idea how I can go about this.
Please assign me.

@julio4
Copy link
Contributor Author

julio4 commented May 23, 2024

Hello everyone and thank you for your interest!
@muheebyusufbaba1 @kamuik16 @VictoriaAde Before being assigned, could you share what idea you have in mind?

@muheebyusufbaba1
Copy link

Hello @julio4 check previous comment please, just did that

@julio4
Copy link
Contributor Author

julio4 commented May 24, 2024

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.

@muheebyusufbaba1
Copy link

Just to update you about my progress. I will be creating the PR soon. Still working on the implementation.

@julio4 julio4 removed the ODHack label Jun 3, 2024
@julio4
Copy link
Contributor Author

julio4 commented Jun 3, 2024

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!

@julio4
Copy link
Contributor Author

julio4 commented Jun 27, 2024

Updated with specific use cases: Bridge

@julio4 julio4 changed the title Feature: L1 <> L2 messaging Feature: L1 <> L2 messaging with Bridge example Jun 27, 2024
@0xNeshi
Copy link
Contributor

0xNeshi commented Oct 21, 2024

I'd be interested to work on this

@0xNeshi 0xNeshi linked a pull request Oct 23, 2024 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants