
Account Abstraction: ERC-4337, Smart Accounts, Paymasters และ Bundlers
Account Abstraction (AA) เปลี่ยน user experience ของ blockchain จาก seed phrases + gas fees ไปสู่ social recovery + gasless transactions ERC-4337 เป็น standard ที่ทำให้ทุก account เป็น smart contract account, Smart Accounts ให้ features เช่น social recovery, multi-sig, spending limits, Paymasters sponsor gas fees ให้ users และ Bundlers รวม UserOperations เข้าเป็น transactions เดียว
EOA (Externally Owned Account) ที่ใช้กันทั่วไปมี UX ที่แย่มาก: ต้องเก็บ seed phrase (สูญหาย = เสียเงินทั้งหมด), ต้องมี ETH จ่าย gas (ทุก chain), ทำ transaction ได้ทีละ 1 (ไม่ batch) Account Abstraction แก้ทุกปัญหาเหล่านี้ ทำให้ Web3 UX ใกล้เคียง Web2
EOA vs Smart Account
| Feature | EOA (Traditional) | Smart Account (AA) |
|---|---|---|
| Controlled By | Private key (seed phrase) | Smart contract logic (customizable) |
| Recovery | Seed phrase only (lost = lost forever) | Social recovery, guardians, email/phone |
| Gas Payment | Must hold ETH (pay own gas) | Paymaster sponsors gas (gasless for user) |
| Batching | 1 transaction at a time | Batch multiple actions in 1 transaction |
| Signing | ECDSA only (secp256k1) | Any signature scheme (passkeys, multisig) |
| Security | Single key = single point of failure | Multi-sig, spending limits, session keys, time locks |
| Upgradable | No (fixed logic) | Yes (upgrade account logic over time) |
ERC-4337 Architecture
| Component | Role | รายละเอียด |
|---|---|---|
| UserOperation (UserOp) | Pseudo-transaction | User’s intent (ไม่ใช่ real tx — bundler จะรวมเป็น tx จริง) |
| Bundler | Transaction builder | รวม UserOps หลายตัว → submit เป็น 1 transaction on-chain |
| EntryPoint | Singleton contract | On-chain contract ที่ verify + execute UserOps (global, shared) |
| Smart Account | User’s account | Smart contract ที่ hold assets + define validation logic |
| Paymaster | Gas sponsor | จ่าย gas แทน user (หรือ accept ERC-20 tokens เป็น gas payment) |
| Aggregator | Signature aggregator | Aggregate signatures จากหลาย UserOps (optimize gas) |
ERC-4337 Flow
| Step | Action |
|---|---|
| 1. User creates UserOp | User signs intent (e.g., “swap 100 USDC to ETH”) → UserOp |
| 2. Send to Alt Mempool | UserOp ถูกส่งไป alternative mempool (ไม่ใช่ regular mempool) |
| 3. Bundler picks up | Bundler เลือก UserOps → validate → bundle เข้าเป็น 1 transaction |
| 4. Submit to EntryPoint | Bundler submit bundled tx → EntryPoint contract on-chain |
| 5. Validation | EntryPoint calls account.validateUserOp() → verify signature + nonce |
| 6. Paymaster (optional) | ถ้ามี Paymaster → Paymaster จ่าย gas แทน user |
| 7. Execution | EntryPoint calls account.execute() → ทำตาม user’s intent |
Smart Account Features
| Feature | รายละเอียด |
|---|---|
| Social Recovery | กำหนด guardians (friends, family, hardware wallet) → ถ้า key หาย → guardians ช่วย recover |
| Multi-Signature | ต้อง 2/3 หรือ 3/5 signers approve ก่อน execute (team wallets, high-value txs) |
| Session Keys | Temporary keys สำหรับ specific actions (e.g., game ใช้ session key 1 ชม. สำหรับ moves only) |
| Spending Limits | กำหนด limit ต่อวัน/ต่อ transaction (e.g., max 1 ETH per day) |
| Batch Transactions | Approve + swap + stake ใน 1 transaction (ไม่ต้อง 3 separate txs) |
| Passkey Login | ใช้ fingerprint/Face ID แทน seed phrase (WebAuthn standard) |
| Gas Payment in ERC-20 | จ่าย gas ด้วย USDC, DAI แทน ETH (ผ่าน Paymaster) |
Paymaster Types
| Type | How | Use Case |
|---|---|---|
| Verifying Paymaster | Sponsor gas ตาม off-chain signature (app backend approves) | dApp sponsors gas สำหรับ users ของตัวเอง |
| ERC-20 Paymaster | Accept ERC-20 tokens เป็น gas payment (convert to ETH) | User จ่าย gas ด้วย USDC แทน ETH |
| Subsidized Paymaster | Sponsor gas ฟรีทั้งหมด (promotional) | Onboarding campaign, first N transactions free |
AA Infrastructure
| Provider | Type | จุดเด่น |
|---|---|---|
| Safe (formerly Gnosis Safe) | Smart Account | Most battle-tested, $100B+ secured, modular |
| Biconomy | Full stack (SDK + Bundler + Paymaster) | Easy integration, gasless transactions, session keys |
| ZeroDev (Kernel) | Smart Account + SDK | Modular kernel architecture, plugin system |
| Alchemy (aa-sdk) | SDK + Bundler + Paymaster | Lightweight, modular, developer-friendly |
| Pimlico | Bundler + Paymaster | Infra-focused, permissionless bundler, ERC-20 paymaster |
| Stackup | Bundler + Paymaster | Open-source bundler, easy self-host |
ERC-4337 vs Native AA
| Feature | ERC-4337 (Ethereum) | Native AA (zkSync, StarkNet) |
|---|---|---|
| Implementation | Smart contract level (no protocol change) | Protocol level (built into chain) |
| Mempool | Alternative mempool (separate from regular) | Regular mempool (native support) |
| EOA Still Exists | Yes (EOA + Smart Account coexist) | No (every account = smart account) |
| Gas Overhead | Higher (EntryPoint contract calls) | Lower (native, no extra contract calls) |
| Maturity | Growing (ERC standard, all EVM chains) | Mature on respective chains |
ทิ้งท้าย: Account Abstraction = Web2 UX for Web3
Account Abstraction Problem: EOA = seed phrases + ETH for gas + 1 tx at a time (terrible UX) ERC-4337: UserOps → Bundler → EntryPoint → Smart Account execution Smart Accounts: social recovery, multisig, session keys, spending limits, batch txs Paymasters: sponsor gas (gasless for users) or accept ERC-20 as gas payment Bundlers: aggregate UserOps into single on-chain transaction Infrastructure: Safe, Biconomy, ZeroDev, Alchemy, Pimlico Vision: login with passkey, no seed phrase, no gas token, batch operations = Web2 UX
อ่านเพิ่มเติมเกี่ยวกับ Intent-Centric Protocols Anoma และ ZK Rollups zkSync StarkNet ที่ siam2r.com หรือจาก icafeforex.com และ siamlancard.com
อ่านเพิ่มเติม: เทรดทองคำ XAU/USD | ดาวน์โหลด EA ฟรี
อ่านเพิ่มเติม: กราฟทอง TradingView | EA Semi-Auto ฟรี
อ่านเพิ่มเติม: สัญญาณเทรดทอง | XM Signal EA
อ่านเพิ่มเติม: กราฟทอง TradingView | EA Semi-Auto ฟรี
อ่านเพิ่มเติม: โค้ด EA Forex ฟรี | EA Semi-Auto ฟรี
อ่านเพิ่มเติม: กราฟทอง TradingView | EA Semi-Auto ฟรี
อ่านเพิ่มเติม: วิเคราะห์ทองคำ | ดาวน์โหลด EA ฟรี
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
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
สิ่งที่ควรรู้เพิ่มเติมเกี่ยวกับ 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


