Skip to content

agentwilx/universal-trust

Repository files navigation

UniversalTrust Custodial Platform 🛡️🏦

The Ultimate Continuity Protocol for the Pi Network

UniversalTrust is a premium, PiOS-compatible custodial inheritance application designed specifically for the Pi Network ecosystem. It provides Pioneers with a secure, mathematically enforced way to protect their assets and ensure a seamless legacy transition for future generations.


🚀 Key Features

  • Atomic 3-Step Remittance: Utilizes a hardened blockchain bridge (create -> submit -> complete) for secure App-to-User (A2U) Pi transfers.
  • Lazarus Continuity Protocol: A sophisticated "Proof of Life" system using inactivity timers to automate asset distribution.
  • Vault Security: Implements a 12-word Master Recovery Key architecture with SHA-256 cryptographic hashing.
  • Protocol Lockdown: Emergency "Panic Mode" to freeze asset mobility in the event of suspected account compromise.
  • Immutable Ledger: A comprehensive server-side ledger that mirrors blockchain activity for full financial transparency.

🛠️ Technical Stack

  • Framework: Next.js 14 (App Router)
  • Language: TypeScript
  • Database: Prisma ORM with SQLite (Easily portable to PostgreSQL)
  • Styling: Vanilla CSS with Tailwind-inspired design principles and Rich Aesthetics.
  • Blockchain: Pi Network SDK & Stellar SDK integration.

⚙️ Installation & Setup

  1. Clone the Repository:

    git clone https://github.com/your-username/universal-trust.git
    cd universal-trust
  2. Install Dependencies:

    npm install
  3. Configure Environment Variables: Create a .env file in the root directory:

    # Pi Network Credentials
    PI_API_KEY=your_server_api_key
    PI_WALLET_PRIVATE_SEED=S_your_app_wallet_seed
    PI_ENVIRONMENT=sandbox # Set to 'production' for Mainnet
    
    # Database
    DATABASE_URL="file:./dev.db"
  4. Initialize Database:

    npx prisma generate
    npx prisma db push
  5. Run Locally:

    npm run dev

📜 PiOS License

UniversalTrust is proudly PiOS Compatible. This project is intended to contribute to the growth and security of the Pi Network ecosystem. Developers are encouraged to fork, improve, and deploy this protocol within the Pi Browser.


🛡️ Security Disclaimer

UniversalTrust is a custodial application. Users are solely responsible for safeguarding their 4-digit PIN and 12-word Master Recovery Key. UniversalTrust cannot recover lost master keys. Always test your integration in the Pi Sandbox before moving to Mainnet.


🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

UniversalTrust • Safeguarding Digital Legacies for the Global Medium of Exchange. 🚀🏦🦾

About

The first secure continuity and inheritance protocol for the Pi Network.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages