https://github.com/allwin199/smart-accounts
https://github.com/allwin199/smart-accounts
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/allwin199/smart-accounts
- Owner: allwin199
- Created: 2024-03-10T06:45:24.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-17T10:13:59.000Z (about 1 year ago)
- Last Synced: 2025-01-13T22:19:12.502Z (5 months ago)
- Language: Solidity
- Size: 1.75 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ERC 4337
## The five roles of ERC 4337
1. User
2. Bundler
3. Entry Point
4. Paymaster
5. Smart Contract Account- User authenticates the transaction
- Bundler will sign and submit this transaction
- Entry point will calculate how much gas this transaction will cost and check whether paymaster has the required gas.
- If the paymaster has required gas, tx will go through
- If the paymaster dosen't have enough gas, then
- Entry point will interact with the account and will subtract the accounts balance
- Paymaster will pay the gas (sponsor)
- Account will validate and execute the transaction
