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: Bi-Directional Payment Channel #258

Open
julio4 opened this issue Nov 21, 2024 · 15 comments
Open

Feature: Bi-Directional Payment Channel #258

julio4 opened this issue Nov 21, 2024 · 15 comments
Assignees

Comments

@julio4
Copy link
Contributor

julio4 commented Nov 21, 2024

Description

A bi-directional payment channel implementation enable off-chain transactions between two parties (Alice and Bob). They allow both parties to exchange funds back and forth without creating on-chain transactions for each transfer.

Show an implementation of such channel on Starknet.

Criteria

  • Include integration tests

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.

@NueloSE
Copy link
Contributor

NueloSE commented Nov 21, 2024

Could I be assigned to this?

@bloomingpeach
Copy link

Hi, I've worked on several Cairo tasks in these projects: Shinigami, Raito, ArtPeace and have experience with both Solidity and Cairo development.

@ryzen-xp
Copy link

Hi, I am proficient Blockchain developer expert in Cairo , Rust and Solidity and also in web development.
I have contributed many cairo ,rust projects like chainevents , arkprojects etc . please /assign this issue .
Thank You

@Supa-mega
Copy link

Can I try solving this issue?

@saimeunt
Copy link
Contributor

Can I start working on this?

@Gerson2102
Copy link


Hey! I'm Gerson. 👋

Member of Dojo Coding. I have contributed before to other projects like:

  • kakarot-rpc
  • kakarot-ssj
  • ef-tests
  • Raito
  • Starknet-Phone
  • Madara
  • stark-cairo-nodes

Can I work on this issue?

Check my OnlyDust profile, I've contributed to many projects: Profile


Plan to Solve the Issue:

  1. Study the codebase to understand the current structure and functionality.
  2. Understand the problem that needs to be solved by thoroughly reading the issue details.
  3. Leverage all provided resources within the issue to get a better grasp of the task at hand.
  4. If I encounter roadblocks, I will ask questions ASAP in the Telegram group to move forward effectively.
  5. I will open a PR and wait for ur feedback

@ShantelPeters
Copy link

I will solve this issue by implementing a bi-directional payment channel on Starknet, next i will create a smart contract with functions for deposit, transfer, close, and settle.
I will then store each party's balance and handle off-chain transactions with cryptographic proofs. Allowing both parties to update balances off-chain, and finalize only when the channel is closed. Lastly i will integrate tests to ensure deposits, transfers, and dispute resolution work correctly, then deploy the contract to Starknet.
Kindly assign .

@sandragcarrillo
Copy link

Hi, I would love to contribute to this issue. I have been learning Cairo for the past 3 months and been creating guides for Starknet contracts during my internship at Nethermind (already completed), including ERC-720 and ERC-20. I started to contribute to Open Source projects during this ODHack, this issue would be an amazing opportunity to start my path as open source contributor in the Starknet ecosystem.

To solve this issue I would create an implementation of bi-directional payment channel and write integration tests using the resources you shared as the inspiration for it.

@augustin-v
Copy link

Hello Julio I'd like to work on this. I have experience in Cairo contributing to Kakarot-ssj, and I am confident in tackling this issue.
I'll make sure to communicate if I encounter any problem along the way.

@julio4
Copy link
Contributor Author

julio4 commented Dec 3, 2024

@Gerson2102 Did you made any progress on this?

@julio4 julio4 removed the ODHack10 label Dec 3, 2024
@Gerson2102
Copy link

Gerson2102 commented Dec 3, 2024

@julio4 hey Julio, I forgot to notify you on this, I'm sorry. I couldn't work on it because of other tasks that I was assigned during the Hackathon. And I asked a question on the Telegram group and no one replied. So when that happened I decided to move on to other tasks that I had to do in that moment.

@julio4
Copy link
Contributor Author

julio4 commented Dec 3, 2024

@julio4 hey Julio, I forgot to notify you on this, I'm sorry. I couldn't work on it because of other tasks that I was assigned during the Hackathon. And I asked a question on the Telegram group and no one replied. So when that happened I decided to move on to other tasks that I had to do in that moment.

My bad, I missed it. If you still want to work on it, I'll be able to help you. Let me know

@bloomingpeach
Copy link

Hi, I would love to attempt on this issue @julio4

@Gerson2102
Copy link

@julio4 hey Julio, I forgot to notify you on this, I'm sorry. I couldn't work on it because of other tasks that I was assigned during the Hackathon. And I asked a question on the Telegram group and no one replied. So when that happened I decided to move on to other tasks that I had to do in that moment.

My bad, I missed it. If you still want to work on it, I'll be able to help you. Let me know

Seems like a challenging issue, now I have time to work on it. So yeah, let me see what can I do. It would really helpful for me to start if you can answer that question in Telegram. Thanks mate.

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

No branches or pull requests