Architecture
System Overview
Personas is built on a modern, scalable architecture that leverages the Bitcoin Cash ecosystem while providing a seamless user experience.
Core Components
Frontend Layer
- Nuxt.js Framework: Server-side rendered Vue.js application
- Vite Build Tool: Fast development and optimized production builds
- Tailwind CSS: Utility-first CSS framework for responsive design
Smart Contract Layer
- CashScript v0.11.5: Bitcoin Cash smart contract scripting
- Account Abstraction: Enables gasless transactions and enhanced UX
- Paymaster System: Handles transaction fees for users
Authentication & Security
- WebAuthn/Passkeys: Passwordless authentication standard
- Social Recovery: Decentralized account recovery mechanism
- Multi-signature: Enhanced security for high-value transactions
Data Flow
- User Input: Natural language commands processed by AI layer
- Intent Recognition: AI interprets user intent and maps to blockchain operations
- Transaction Construction: Smart contracts construct appropriate transactions
- Signing: User approves transaction with passkey authentication
- Execution: Transaction broadcast to Bitcoin Cash network
- Confirmation: User receives confirmation and updated state