
Account Abstraction (ERC-4337): Smart Accounts, Paymasters และ Bundlers
Account Abstraction (AA) เป็นการปฏิวัติ user experience บน Ethereum โดยเปลี่ยน accounts จาก EOA (Externally Owned Account) ที่ต้องใช้ private key ธรรมดา ไปเป็น Smart Accounts ที่มี programmable logic ERC-4337 เป็น standard ที่ทำให้ AA เป็นไปได้โดยไม่ต้องเปลี่ยน protocol layer, Paymasters จ่าย gas fees แทน users และ Bundlers รวม UserOperations เข้าเป็น transactions
ปัญหาใหญ่ที่สุดของ crypto UX คือ users ต้อง manage private keys + จ่าย gas ด้วย ETH ถ้าทำ key หาย = เงินหายถาวร, ถ้าไม่มี ETH = ทำ transaction ไม่ได้ Account Abstraction แก้ทุกปัญหา: social recovery (กู้คืน account), gasless transactions (Paymaster จ่ายให้), batched transactions (หลาย actions ใน 1 tx), session keys (auto-approve ไม่ต้อง sign ทุกครั้ง)
EOA vs Smart Account
| Feature | EOA (Traditional) | Smart Account (AA) |
|---|---|---|
| Control | Single private key | Programmable logic (multi-sig, social recovery, etc.) |
| Recovery | ไม่มี (lose key = lose funds forever) | Social recovery, guardian system |
| Gas Payment | ต้องจ่าย ETH เอง | Paymaster จ่ายแทน (gasless for user) |
| Batching | 1 action per transaction | Multiple actions in 1 transaction |
| Session Keys | ไม่มี (sign ทุก tx) | Approve once → auto-sign for session duration |
| Spending Limits | ไม่มี | Set daily/weekly spending limits |
| 2FA | ไม่มี | Add 2FA, biometrics, hardware key |
ERC-4337 Architecture
| Component | Role | รายละเอียด |
|---|---|---|
| UserOperation (UserOp) | Pseudo-transaction | User’s intent (sender, calldata, gas limits, signature) |
| Bundler | รวม UserOps → submit on-chain | Collect UserOps จาก alt mempool → bundle เป็น 1 transaction |
| EntryPoint | Singleton contract | Contract ที่ validate + execute UserOps (deployed once per chain) |
| Smart Account | User’s account contract | Contract wallet ที่มี custom validation logic |
| Paymaster | Gas sponsor | Contract ที่จ่าย gas แทน user (sponsor gasless txs) |
| Account Factory | Deploy accounts | Factory contract ที่ deploy smart accounts (CREATE2 for deterministic address) |
UserOperation Flow
| Step | Action |
|---|---|
| 1. User creates UserOp | User สร้าง UserOperation (intent + signature) |
| 2. Send to alt mempool | UserOp ถูกส่งไป alternative mempool (ไม่ใช่ regular mempool) |
| 3. Bundler picks up | Bundler เลือก UserOps จาก alt mempool |
| 4. Bundler submits bundle | Bundler รวม UserOps → call EntryPoint.handleOps() |
| 5. EntryPoint validates | EntryPoint call smart account.validateUserOp() → verify signature |
| 6. Paymaster check (optional) | ถ้ามี Paymaster → validatePaymasterUserOp() → approve gas payment |
| 7. Execute | EntryPoint call smart account.execute() → perform user’s action |
| 8. Gas settlement | Paymaster pays gas (or deducted from smart account) |
Paymasters
| Type | วิธีทำงาน | Use Case |
|---|---|---|
| Verifying Paymaster | Sponsor gas ตาม off-chain approval (signed message) | dApp sponsors gas สำหรับ users ของตัวเอง |
| ERC-20 Paymaster | User จ่าย gas ด้วย ERC-20 tokens (USDC, DAI) แทน ETH | Users ไม่ต้องถือ ETH |
| Subsidized Paymaster | ผู้ให้บริการจ่าย gas ทั้งหมด (free for user) | Onboarding new users, promotional |
| Conditional Paymaster | Sponsor gas ตามเงื่อนไข (first N txs, specific actions) | Free first 10 transactions, specific dApp actions |
Smart Account Features
| Feature | รายละเอียด |
|---|---|
| Social Recovery | กำหนด guardians (friends/family/hardware wallet) → ช่วยกู้คืน account |
| Multi-sig | ต้องการ N of M signatures เพื่อ approve transaction |
| Session Keys | Temporary keys ที่มี limited permissions (time-bound, action-bound) |
| Spending Limits | กำหนด max spend per day/week → ป้องกัน drain |
| Batched Transactions | Approve + Swap + Stake ใน 1 transaction (ลด gas + UX ดีขึ้น) |
| Passkey/Biometric Auth | ใช้ fingerprint, Face ID แทน seed phrase |
| Automated Actions | Auto-compound, auto-DCA, scheduled transfers |
AA Platforms
| Platform | จุดเด่น |
|---|---|
| Safe (Gnosis Safe) | Most trusted multi-sig + smart account (>$100B secured) |
| Biconomy | Modular smart accounts + SDK + Paymaster service |
| ZeroDev (Kernel) | Modular smart account framework (plugins for any feature) |
| Alchemy (aa-sdk) | Full AA infrastructure (bundler + paymaster + SDK) |
| Pimlico | Bundler + Paymaster infrastructure |
| Stackup | Open-source bundler + paymaster |
| Coinbase Smart Wallet | Passkey-based smart wallet (mainstream adoption) |
ทิ้งท้าย: Account Abstraction = Web2 UX for Web3
Account Abstraction (ERC-4337) Smart Accounts: programmable wallets (recovery, multi-sig, spending limits, session keys) Paymasters: sponsor gas → gasless transactions (pay with ERC-20 or free) Bundlers: collect UserOps → submit as batch transaction Flow: UserOp → alt mempool → Bundler → EntryPoint → validate → execute Features: social recovery, batched txs, passkey auth, automated actions Platforms: Safe, Biconomy, ZeroDev, Alchemy, Coinbase Smart Wallet
อ่านเพิ่มเติมเกี่ยวกับ MEV Frontrunning Sandwich Protection และ Cross-Chain Bridges Interoperability ที่ siam2r.com หรือจาก icafeforex.com และ siamlancard.com
อ่านเพิ่มเติม: โค้ด EA Forex ฟรี | EA Semi-Auto ฟรี
อ่านเพิ่มเติม: ราคาทอง Gold Price | XM Signal EA
อ่านเพิ่มเติม: สัญญาณเทรดทอง | กลยุทธ์เทรดทอง
อ่านเพิ่มเติม: โค้ด EA Forex ฟรี | Smart Money Concept
อ่านเพิ่มเติม: ราคาทอง Gold Price | EA Semi-Auto ฟรี
อ่านเพิ่มเติม: เทรดทองคำ XAU/USD | EA Semi-Auto ฟรี
อ่านเพิ่มเติม: ราคาทอง Gold Price | EA Semi-Auto ฟรี
อ่านเพิ่มเติม: สัญญาณเทรดทอง | Panel SMC MT5
อ่านเพิ่มเติม: โค้ด EA Forex ฟรี | กลยุทธ์เทรดทอง
อ่านเพิ่มเติม: TradingView ใช้ฟรี | Panel SMC MT5
อ่านเพิ่มเติม: สัญญาณเทรดทอง | Smart Money Concept
อ่านเพิ่มเติม: ราคาทอง Gold Price | ดาวน์โหลด EA ฟรี
อ่านเพิ่มเติม: โค้ด EA Forex ฟรี | กลยุทธ์เทรดทอง
อ่านเพิ่มเติม: ราคาทอง Gold Price | Smart Money Concept
อ่านเพิ่มเติม: โค้ด EA Forex ฟรี | Smart Money Concept
อ่านเพิ่มเติม: EA Forex ฟรี | กลยุทธ์เทรดทอง
อ่านเพิ่มเติม: เทรด Forex | Panel SMC MT5
FAQ
Account Abstraction (ERC-4337): Smart Accounts, Paymasters และ Bundlers คืออะไร?
Account Abstraction (ERC-4337): Smart Accounts, Paymasters และ Bundlers เป็นหัวข้อสำคัญในวงการเทคโนโลยีที่ช่วยให้การทำงานมีประสิทธิภาพมากขึ้น ไม่ว่าจะเป็นด้าน IT, Network หรือ Server Management
ทำไมต้องเรียนรู้เรื่อง Account Abstraction (ERC-4337): Smart Accounts, Paymasters และ Bundlers?
เพราะ Account Abstraction (ERC-4337): Smart Accounts, Paymasters และ Bundlers เป็นทักษะที่ตลาดต้องการสูง และช่วยให้คุณแก้ปัญหาในงานจริงได้อย่างมืออาชีพ การเรียนรู้ตั้งแต่วันนี้จะเป็นประโยชน์ในระยะยาว
Account Abstraction (ERC-4337): Smart Accounts, Paymasters และ Bundlers เหมาะกับผู้เริ่มต้นไหม?
ได้แน่นอนครับ บทความนี้เขียนให้เข้าใจง่าย เหมาะทั้งผู้เริ่มต้นและผู้มีประสบการณ์ มี step-by-step guide พร้อมตัวอย่างให้ทำตามได้ทันที
สิ่งที่คุณจะได้เรียนรู้จากบทความนี้
บทความ Account Abstraction (ERC-4337): Smart Accounts, Paymasters และ Bundlers นี้ครอบคลุมทุกอย่างที่คุณต้องรู้ ตั้งแต่พื้นฐานไปจนถึงการนำไปใช้จริง เขียนจากประสบการณ์จริง ไม่ใช่แค่ทฤษฎี มีตัวอย่างและ step-by-step guide ให้ทำตามได้ทันที
ทำไม Account Abstraction (ERC-4337): Smart Accounts, Paymasters และ Bundlers ถึงน่าสนใจ?
Account Abstraction (ERC-4337): Smart Accounts, Paymasters และ Bundlers เป็นหัวข้อที่กำลังได้รับความสนใจสูงมากในปี 2569 ทั้งจากมือใหม่และผู้เชี่ยวชาญ เพราะมีการเปลี่ยนแปลงและพัฒนาใหม่ๆ อยู่ตลอด การติดตามข้อมูลล่าสุดเป็นสิ่งสำคัญ
FAQ
Account Abstraction (ERC-4337): Smart Accounts, Paymasters และ Bundlers คืออะไร?
อ่านรายละเอียดทั้งหมดในบทความนี้ ครอบคลุมตั้งแต่พื้นฐานไปจนถึงขั้นสูง
iCafeForex | SiamLanCard | Siam2R | XM Signal
สิ่งที่คุณจะได้เรียนรู้จากบทความนี้
บทความ Account Abstraction (ERC-4337): Smart Accounts, Paymasters และ Bundlers นี้ครอบคลุมทุกอย่างที่คุณต้องรู้ ตั้งแต่พื้นฐานไปจนถึงการนำไปใช้จริง เขียนจากประสบการณ์จริง ไม่ใช่แค่ทฤษฎี มีตัวอย่างและ step-by-step guide ให้ทำตามได้ทันที
ทำไม Account Abstraction (ERC-4337): Smart Accounts, Paymasters และ Bundlers ถึงน่าสนใจ?
Account Abstraction (ERC-4337): Smart Accounts, Paymasters และ Bundlers เป็นหัวข้อที่กำลังได้รับความสนใจสูงมากในปี 2569 ทั้งจากมือใหม่และผู้เชี่ยวชาญ เพราะมีการเปลี่ยนแปลงและพัฒนาใหม่ๆ อยู่ตลอด การติดตามข้อมูลล่าสุดเป็นสิ่งสำคัญ
FAQ
Account Abstraction (ERC-4337): Smart Accounts, Paymasters และ Bundlers คืออะไร?
อ่านรายละเอียดทั้งหมดในบทความนี้ ครอบคลุมตั้งแต่พื้นฐานไปจนถึงขั้นสูง
iCafeForex | SiamLanCard | Siam2R | XM Signal
สิ่งที่ควรรู้เพิ่มเติมเกี่ยวกับ Account Abstraction (ERC-4337): Smart Accounts, Paymasters และ Bundlers
Account Abstraction (ERC-4337): Smart Accounts, Paymasters และ Bundlers ยังมีมิติอื่นที่น่าสนใจ การศึกษาเพิ่มเติมจะช่วยให้เข้าใจภาพรวมได้ดีขึ้น แนะนำให้อ่านบทความที่เกี่ยวข้องเพิ่มเติมและฝึกปฏิบัติจริง
อ่านเพิ่มเติม: iCafeForex | XM Signal EA ฟรี | SiamLanCard | Siam2R
สิ่งที่ควรรู้เพิ่มเติมเกี่ยวกับ Account Abstraction (ERC-4337): Smart Accounts, Paymasters และ Bundlers
Account Abstraction (ERC-4337): Smart Accounts, Paymasters และ Bundlers ยังมีมิติอื่นที่น่าสนใจ การศึกษาเพิ่มเติมจะช่วยให้เข้าใจภาพรวมได้ดีขึ้น แนะนำให้อ่านบทความที่เกี่ยวข้องเพิ่มเติมและฝึกปฏิบัติจริง
อ่านเพิ่มเติม: iCafeForex | XM Signal EA ฟรี | SiamLanCard | Siam2R
สิ่งที่ควรรู้เพิ่มเติมเกี่ยวกับ Account Abstraction (ERC-4337): Smart Accounts, Paymasters และ Bundlers
Account Abstraction (ERC-4337): Smart Accounts, Paymasters และ Bundlers ยังมีมิติอื่นที่น่าสนใจ การศึกษาเพิ่มเติมจะช่วยให้เข้าใจภาพรวมได้ดีขึ้น แนะนำให้อ่านบทความที่เกี่ยวข้องเพิ่มเติมและฝึกปฏิบัติจริง
อ่านเพิ่มเติม: iCafeForex | XM Signal EA ฟรี | SiamLanCard | Siam2R


