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

feat: implement paymaster #4

Open
machuwey opened this issue Nov 3, 2024 · 30 comments
Open

feat: implement paymaster #4

machuwey opened this issue Nov 3, 2024 · 30 comments

Comments

@machuwey
Copy link
Collaborator

machuwey commented Nov 3, 2024

Implement AVNU paymaster sponsored transactions

AVNU is a decentralized exchange build on top of starknet, aside from dex services they offer and Api and SDK to build transactions to be executed through OutsideCall.

Goal

Provide customer gasless transactions for enhanced user experience.

You can find more on how to implement AVNU gasless transactions: https://doc.avnu.fi/starknet-paymaster/guides-and-examples

Instructions to apply

  1. Introduce yourself, tell about your background, etc.
  2. Describe shortly how you plan to tackle the issue
@PedroCo3lho
Copy link

Hello @machuwey, can I work on this issue? I plan to handle the API calls in frontend/src/app/api so we can easily use these API routes through the frontend.

@ikemHood
Copy link

ikemHood commented Nov 21, 2024

Hello, I'm Ikem, a blockchain developer with over 3 years of experience in smart contract development.

I would love to help implement the AVNU paymaster sponsored transactions.
My proposed approach:
Integrate AVNU SDK for transaction building
Implement paymaster verification logic using AVNU's API
Create wrapper functions for sponsored transaction execution through Outside Call
Add comprehensive testing for gasless transaction flows

Looking forward to contributing to this enhancement! 🚀

@ShantelPeters
Copy link

I am a frontend and blockchain developer with a strong background in HTML, TYPESCRIPT, JAVASCRIPT, REACT , CAIRO,SOLIDITY ETC.

I will tackle this issue by implementing AVNU Paymaster-sponsored transactions: integrate the AVNU SDK, build transaction payloads in the OutsideCall format, configure the Paymaster for gas sponsorship, sign and send transactions using the SDK, and handle responses for successful execution.
Validate the implementation on a testnet for a seamless user experience.

@manlikeHB
Copy link

Hi, I am a Cairo developer with great experience contributing to lots of other projects.

I will go through the provided resources to understand how to integrate ANVU paymester, then apply my skills from there to complete the task.

@suhas-sensei
Copy link

gm @machuwey, Suhas here, having worked in the last od, where I’ve worked on integrating on-chain mechanics into games and have contributed to optimizing user experience with tools like SPV wallets and Web3 integrations.

To tackle this issue, I plan to leverage the AVNU paymaster API to seamlessly sponsor user gas fees by integrating their SDK for gasless transactions. This involves verifying user account compatibility, retrieving gas token prices, building typed data for user signatures, and executing transactions, ensuring smooth deployment and enhanced user experience.

Draft PR : 24 hours

@mexes20
Copy link

mexes20 commented Nov 21, 2024

May I pick this up? I have three years experience in Software development and have contributed to some projects on OD here.

I've worked previously with the implementation of AVNu's Paymaster

ETA: 10 hours.

@JoE11-y
Copy link

JoE11-y commented Nov 21, 2024

I'd like to handle this task.

@Benjtalkshow
Copy link

Would love to tackle this!

@Unickhub
Copy link

I’d like to work on this.

@PedroCo3lho
Copy link

Hello @machuwey, can I work on this issue? I plan to handle the API calls in frontend/src/app/api so we can easily use these API routes through the frontend.

Can I try solving this issue?

@josephpdf
Copy link

Hi! @machuwey
I'm Joseph Poveda, I'm a member of the Dojo Coding community.
A bit about my background is that I'm just starting out with Only Dust and I want to contribute as much as I can to the project. My knowledge of different programming languages ​​will allow me to better solve problems.
To solve this issue I will:

  1. Familiarize with AVNU Documentation:
  • Review the AVNU documentation on implementing gasless transactions to understand the API and SDK.
  1. Set Up the Development Environment:
  • Ensure the development environment is configured to integrate with the AVNU SDK.
  1. Implement the Paymaster Logic:
  • Develop the logic to handle gasless transactions using the AVNU paymaster.
  • Use the OutsideCall functionality to execute transactions.
  1. Integrate with the Application:
  • Integrate the paymaster logic into the existing application to enable gasless transactions for users.
  1. Test the Implementation:
  • Thoroughly test the gasless transaction feature to ensure it works correctly and provides a seamless user experience.
  1. Optimize and Refine:
  • Optimize the implementation for performance and reliability.
  • Refine the user interface to clearly indicate gasless transactions.

@Amarjeet325
Copy link

Hi , I am a proficient MERN stack developer with experience in full-stack development. I believe I can contribute effectively to this project. Could you kindly assign this issue/task to me?

@TheSQLguy
Copy link

i am a typescript dev, a newcomer here, and willing to contribute. My solution includes

I plan to use the AVNU Paymaster API to sponser user gas fees and enable gasless txns. This involves integrating their SDK, verifying user accounts, checking gas token prices, generating data for user signatures, and executing txns. This approach ensures smooth deployment and a better user experience.

@Supa-mega
Copy link

Can I take this issue?

@0xLemonn
Copy link

I'd love to give this a go. i am a newcomer here and willing to contribute.

@aniruddhaaps
Copy link

Hey @machuwey, Aniruddha here. So I'm a typescript dev and also contributed in last odHack. Want to take up the issue and solve right away.

First integrate the paymaster service from AVNU into the transaction flow by using their API and SDK to make users use gasless transactions. Use the OutsideCall mechanism to sponsor the gas fees when users come to the StarkNet-based decentralized exchange, thereby improving the user experience. Refer to AVNU's documentation for implementation and thus ensure extensive testing for smooth integration.

@hossamanany
Copy link

Can I contribute to this one?

@0xdevcollins
Copy link

My Background
I am a Full Stack Blockchain Developer with proficiency in Solidity/Rust, Next.js, TypeScript, React, and Node.js. I've demonstrated my ability to adjust to a variety of requirements, perform well under pressure, and reliably produce user-centric blockchain solutions with 46 significant contributions spread over 12 OnlyDust projects.

I'll use the AVNU SDK to create a utility function or service that makes it easier to create sponsored transactions. This will consist of:

Setting up the AVNU client
Putting the transaction together
signing the agreement
Using OutsideCall to submit the transaction for execution

@mimisavage
Copy link

I'd be happy to do this.

@caxtonacollins
Copy link

I am a fullStack developer transitioning into the web3 space.
This will be my first time contributing to this project, please assign me

@abdegenius
Copy link

I’d like to work on this.

@martinvibes
Copy link

hey sir i would like to work on this issue
i'm a frontend dev, blockchain
kindly assign and i would get to work right away

@emarc99
Copy link

emarc99 commented Nov 25, 2024

May I be assigned to this? ETA - 2 days

@CEOliam
Copy link

CEOliam commented Nov 25, 2024

Is it okay if I take this?

@stoemelinkz
Copy link

Hello, I'd be interested in this one>
My background is web2 and I'm growing more and more fond of web3.
I looked at the paymaster, great concept, I would like to try to tackle it.

@blessingbytes
Copy link

Hey @machuwey, Blessing here. So i'm a frontend and Blockchain developer.

So first i will call the GET /gasless/v1/gas-token-prices endpoint to retrieve the list of supported tokens and their prices in ETH and USD. I will have to call this endpoint regularly to know the current prices. Once the user is connected, you can verify if the account is compatible with the gasless service by calling the GET. Then call the POST /gasless/v1/build-typed-data endpoint to retrieve the typed data that the user will have to sign.

@baitcode
Copy link

I'd like to handle this task.

@7-falseparfait
Copy link

I’d like to help with this.

@emarc99
Copy link

emarc99 commented Dec 1, 2024

I'm Emarc and I'm part of the Web3Bridge Community. I recently contributed to Open Source Projects in ODhack. I have skills in Solidity, Zksync, Cairo, integrating FE to deployed contracts using Reown, Wagmi, ThirdWeb, and implemented IPFS. Here's my GitHub profile https://github.com/emarc99 and OnlyDust profile https://app.onlydust.com/u/emarc99.

I know about paymaster as a solution to provide good UX. I will study the codebase to identify where gasless transactions are needed. Then, I implement paymaster accordingly using the AVNU docs. Would love to contribute.

@machuwey machuwey removed the ODHack10 label Dec 3, 2024
@josephpdf
Copy link

Hi @machuwey
Why did you unassign this issue from me?
I was ready to start!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests