Introduction to Web3 and Blockchain Challenges
Web3 and blockchain technology promise a decentralized, trustless digital future by replacing intermediaries with smart contracts and peer-to-peer systems. However, security and usability challenges persist, particularly with Externally Owned Accounts (EOAs).
The EOA Dilemma: Security vs. Usability
- Private Key Risks: Losing keys means losing access to assets.
- Usability Trade-offs: Hardware wallets and seed phrases enhance security but complicate user experience.
- MPC Limitations: Multi-party computation wallets often involve complex setups.
Solution: Portkey’s social recovery mechanism balances security and usability for abstracted accounts.
What Is Portkey?
Portkey is the first account abstraction (AA) wallet on aelf blockchain featuring:
- Decentralized Identity (DID): Links Web3 accounts to Web2 identities (e.g., email, Google).
- Social Recovery: Replaces seed phrases with human guardians for account recovery.
How Social Recovery Works
1. Overcoming EOA Limitations
- Abstracted Accounts: Governed by smart contracts, enabling customizable recovery logic.
- Guardians: Trusted Web2 accounts (family, friends) validate identity via approvals.
2. The Guardian Approval Process
- Threshold-Based: Requires approvals from a subset of guardians (e.g., 3/5).
- Intuitive: Leverages social connections instead of cryptographic complexity.
Example Flow:
- User requests login/recovery.
- Guardians receive approval requests.
- Transaction executes upon reaching the approval threshold.
Portkey Verifiers: Enabling Flexible Recovery
Verifiers provide authentication methods (Email, SMS, Google, Apple) and ensure decentralization:
Registration Scenarios
Email/Phone:
- Select verifier → Receive OTP → Verify → Register AA account.
Google/Apple:
- Authenticate via provider → Verify token → Register account.
Adding Guardians
- New guardians require approval from existing ones.
- Enhances security through multi-factor validation.
Social Recovery Rules
Default Thresholds:
- ≤3 Guardians: All must approve.
- ≥4 Guardians: Approvals needed = ⌈(3/5 * total) + 1⌉.
Example:
- 4 guardians → 3 approvals required.
- 5 guardians → 4 approvals required.
FAQs
1. What if I lose access to my guardians?
Portkey allows recovery via alternate guardians or time-delayed fallback methods.
2. How secure are verifiers?
Verifiers use cryptographic proofs and adhere to Web3’s decentralized principles.
3. Can I change my guardians?
Yes, but existing guardians must approve additions/removals.
4. Is social recovery slower than seed phrases?
Approvals are near-instantaneous for active guardians.
Conclusion
Portkey’s social recovery redefines Web3 accessibility by:
- Eliminating seed phrases.
- Leveraging trusted social connections.
- Maintaining security via customizable thresholds.