[General] Created a PR for SignatureBased Paymaster in paymaster-examples since few people are struggling here. Hope it helps :) #405
hoshiyari420
started this conversation in
Show and Tell
Replies: 4 comments 1 reply
-
hey @hoshiyari420 thanks for taking the time to work on this and sharing it 🤘 We'll review the PR and give you some feedback or merge it 🤙 Btw, I've moved it to the "Show & Tell" category. |
Beta Was this translation helpful? Give feedback.
0 replies
-
This is awesome. This opens up some interesting usecases. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Environment
Testnet
Provide a brief description of the functionality you're trying to implement.
matter-labs/paymaster-examples#22
I am sharing the pull request here so that few folks who are struggling with
innerInputs
encoding might find it useful.The PR is yet to be reviewed and merged, hence work in progress. Be cautious before using it in production as the contracts are examples and not designed for production.
I hope the unit tests and the
createSignatureData()
function help solving errors regarding signature validation issues.Functionality:
innerInputs
whether or not the user's transaction shall be allowed to proceed or not.(user address, last timestamp, nonces)
.innerInputs
in paymaster params.transaction.from
,block.timestamp
andnonces
to ensure only valid users are allowed to use paymaster.Security Considerations:
transaction.from
to ensure correct user has sent transaction.What is the specific issue or error you're encountering?
Encoding issues
Can you share the error messages or logs you're receiving, if any?
Invalid signature validation
Have you made any recent changes to the contract before encountering this issue?
N/A
Are there any external libraries or contracts that your contract interacts with?
Openzeppelin
Can you provide the relevant portions of your contract code where the issue is occurring?
N/A
Have you tried to isolate the problem, and if so, what were the results?
N/A
What steps have you already taken to try to resolve the issue?
N/A
Repo Link (Optional)
matter-labs/paymaster-examples#22
Additional Details
Beta Was this translation helpful? Give feedback.
All reactions