-
Notifications
You must be signed in to change notification settings - Fork 2
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
Let's make ethereum a bit more like Cosmos #4
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Haypierre
force-pushed
the
demo
branch
2 times, most recently
from
December 13, 2024 17:11
29e8a9b
to
2a9f690
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Within the same UserOp https://jiffyscan.xyz/userOpHash/0x805c9b034fa26aaa4e94e3003b5198d215a8a71383a8a1c42d7d77c897153805?network=base-sepolia§ion=logs
Account Deployment and NFT Purchase
The account is deployed on Base Sepolia enabling the user to purchase an NFT worth 500 MockERC20 tokens.
Paymaster-Backed Authorization
The Paymaster backend detected that the user owns the same account with locked funds in a vault on Optimism Sepolia. With this guarantee, the Paymaster signed an authorization to front the required funds on Base Sepolia.
Cross-Chain Refund Mechanism With Polymer
The Paymaster will be reimbursed on Optimism Sepolia by proving the execution of this UserOp. Specifically, the refund relies on verifying ONCHAIN the
InvoiceCreated
event emitted by the Paymaster’s_postOp
hook when the UserOp succeeds. No verification happens off-chain with Polymer ibc cross L2 event proving.