-
Notifications
You must be signed in to change notification settings - Fork 25
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
Add a claimable balance feature #16
Comments
@ElliotFriend can I work on this |
Hi @CollinsC1O! |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedI am a Full Stack developer with 6 years of experience in the industry, I am super excited to be able to contribute to Web 3 projects, this to continue paving my way as an Open Source Contributor. I am from Dojo Coding Community How I plan on tackling this issueDetect Missing Trustline Before Payment: Offer to Create Claimable Balance: Fallback to Claimable Balance Creation: Provide Clear User Feedback: |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedI would like to take this task, and it will be delivered within (26, September, 2024-30, September, 2024). I am a programmer who has intensive knowledge in Python and Javascript. I have worked on a lot of problems which has given me insights in detecting problems and coming up with optimized solutions. How I plan on tackling this issueI would use an if statement to check if the user's contact doesn't have a trustline and if this is the case; the if block would handle it by creating a claimable for the user. |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedHello @ElliotFriend I am Joseph I am a Software developer and blockchain developer and I am also an active contributor here on only dust here is my profile https://app.onlydust.com/u/josephchimebuka. This is my first time to contribute to this repo ill appreciate the opportunity to contribute. How I plan on tackling this issueI will ensure the issue is solved by adding a claimable balance feature I will complete this in 2-3 days |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedI am a blockchain developer and technical writer with vast experiences with languages like css, react, typescript and javascript. How I plan on tackling this issueI will implement a check before processing the payment to verify if the contact has a trustline for the asset; if not, prompt the user with an option to create a claimable balance for the contact, ensuring a smoother transaction experience and preventing payment failures. |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedI am a smart blockchain developer. I can leverage on my background to solve this issue by implementing an automated trustline check and Claimable Balance creation system. Design a smart contract that verifies the recipient's trustline status before initiating a payment, and if absent, automatically generate a Claimable Balance. This approach combines your knowledge of state management and conditional execution from smart contract development with the Stellar network's Claimable Balance feature, providing a seamless and efficient solution to the trustline problem How I plan on tackling this issueI will take the following steps;
|
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedPlease can I be assigned this issue? I'll love to contribute to this project please. I am a blockchain Developer, and my experience includes html, css, react, JavaScript,TypeScript and solidity, python and Cairo. How I plan on tackling this issueTo solve this issue, I'd take the following steps:
Please assign me. |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedHi my name is Joseph Gimba a computer engineer graduate that has passion for web3 and blockchain development, I have experience in writing smart contracts as well as using Javascript to a create Frontend for my projects built. How I plan on tackling this issueUsing try & catch if the user does not have a Trustline then the catch block prompts the user to create a claimable balance to be able to receive payment. another approach would be asking the user if he wants us to automatically create a trustline for him automatically to receive the funds. |
@ElliotFriend Hi, can you give me more details about this issue? Steps to reproduce the use case? |
Hi, there @PabloVillaplana! Thanks for taking the issue on! Hope all this info helps, and if not feel free to reach out and ask more questions! The current state of BasicPay allows sending a regular So, we should do something like the following:
Helpful Docs and Links
|
When sending a payment to a user's contact, if the contact doesn't have a trustline for that asset the transaction will fail. That's because we're only using the
payment
operation. We should detect this case, and offer to create a claimable balance for the user.The text was updated successfully, but these errors were encountered: