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

Features/sma 329 improve repo #49

Merged
merged 19 commits into from
Nov 29, 2023
Merged

Conversation

Aboudjem
Copy link
Contributor

@Aboudjem Aboudjem commented Nov 9, 2023

Add Audits folder

Improved Readme

Add contributions / Readme/ Licenses

Copy link

linear bot commented Nov 9, 2023

SMA-329 Improve repo

  • Add Audits folder
  • Improved Readme
  • Add contributions / Readme/ Licenses

README.md Outdated

1. Singleton Verifying Paymaster: Acts as a sponsorship paymaster and lets Dapps manage deposit without deploying a new one for each Dapp.
## What is Biconomy Paymasters? 🤔
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is -> are

would be good to talk about ERC4337 paymasters on the high level maybe with some flow diagrams.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

README.md Outdated

2. Token Paymaster: Extended version of Verifying Paymaster which can accept fees from user by withdrawing ERC20 tokens
Biconomy Paymasters are smart contracts that abstract away the complexity of gas fees for end-users. By utilizing these contracts, developers can offer their users gasless transactions or the ability to pay for gas in ERC20 tokens. 🚀
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can just limit to gas abstraction. then talk about kind of paymaster we already have or we plan to have with gas abstraction (how) aspect of each


- ERC20 Token Paymaster helps users pay for their transactions using ERC20 tokens.
- Users initiate a transaction using an ERC20 token.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

refer to ERC20 paymaster design notion doc

Copy link
Collaborator

@livingrockrises livingrockrises left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reviewed

@livingrockrises
Copy link
Collaborator

in one of the diagrams it's not clear what SmartAccount is and how it would return signedUserOp

@livingrockrises
Copy link
Collaborator

resolve conflicts

CONTRIBUTING.md Outdated Show resolved Hide resolved

#### Other WIP
- **Sponsorship Paymaster**: Allows transactions without end-users needing to pay for gas, enhancing UX.
- **Token Paymaster**: Provides the ability to pay for transactions with ERC20 tokens.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe highlight, that users still pay by themselves with token paymaster and token paymaster allows not having native token

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nvm, I see that this is explained later

README.md Outdated

- ERC20 Token Paymaster helps users pay for their transactions using ERC20 tokens.
- Users initiate a transaction using an ERC20 token.
- Paymaster validates the transaction and forwards it to the network while handling necessary fee conversions.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically Paymaster doesn't forward the transaction. It just pays for the userOp.

README.md Outdated

#### In order to add/udpate git submodule account-abstraction: ####
.gitmodules file is already added. two submodules are being used in this project
- Sponsorship Paymaster covers transaction fees for users.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest changing txns to userOps everywhere

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe I'm missing something, but I find it a bit confusing, that we have it named 'Sponsorship Paymaster', however I can't find Sponsorship Paymaster in the repo.
I understand Verifying Paymaster is not the best name, Sponsorship Paymaster is much better , but I think need some consistency between readme and file names here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right @filmakarov, I found the references to 'Sponsorship Paymaster' in both Biconomy blog and official documentation.

I agree 'Sponsorship Paymaster' sounds like a better name to me too. Let's bring this up with the team for further discussion.

README.md Outdated
.gitmodules file is already added. two submodules are being used in this project
- Sponsorship Paymaster covers transaction fees for users.
- The process starts with the user initiating a transaction.
- Paymaster takes over and sponsors the fees, so users don't have to bear the gas costs.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we describe that to sponsor a userOp, paymaster still needs signature by verifying party that reviews userOps before agreeing to pay for it

Copy link
Collaborator

@filmakarov filmakarov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving to allow for the renewed Readme to be displayed for users.
However please consider iterating on my suggestions

@Aboudjem Aboudjem changed the base branch from main to develop November 15, 2023 20:38
@Aboudjem Aboudjem merged commit 33d5249 into develop Nov 29, 2023
3 checks passed
@Aboudjem Aboudjem deleted the features/SMA-329-improve-repo branch November 29, 2023 14:06
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 this pull request may close these issues.

3 participants