Skip to content

Ensuring that your funds/data are accessible in your absence

License

Notifications You must be signed in to change notification settings

NetSepio/rektsafe

Repository files navigation

rektSafe

Zero-Knowledge Crypto Inheritance & Private Transfers

For Cypherpunks, By Cypherpunks

License: MIT

A decentralized, zero-knowledge platform for crypto inheritance and private transactions. Split your keys with threshold signatures, encrypt sensitive data, and transfer assets privately—all client-side, no servers, no tracking.

Cypherpunk Theme Crypto Package Manager

🚀 Features

Feature Description
🔐 zkSig Threshold signatures—split keys, encrypt files, sign & verify messages
🕵️ zkSend Private transfers—shield, send, and unshield Solana assets
🔒 Zero-Knowledge AES-256-GCM + Ed25519, everything client-side
⏰ Dead Man's Switch Automated inactivity triggers for inheritance
👥 Multi-Party n-of-k threshold scheme for distributed trust
📁 File Encryption Secure any file type with threshold decryption
🌐 Fully Decentralized No servers, no accounts, no tracking
👛 Wallet Native Connect your Solana wallet, no new keys needed

🎨 Design

  • Dark cypherpunk aesthetic with neon accents
  • Pixar-level animations using Framer Motion
  • Cyberpunk/hacker narrative
  • Responsive design for all devices

🛠 Technology Stack

Technology Purpose
Next.js 15 React framework
React 19 UI library
TypeScript Type safety
Tailwind CSS Styling
shadcn/ui Component library
Framer Motion Animations
pnpm Package manager
Web Crypto API Cryptography (Ed25519, AES-256-GCM, SHA-256)
Privacy Cash SDK Private transactions on Solana
@lightprotocol/hasher.rs ZK proof generation

📁 Project Structure

rektsafe/
├── app/                   # Next.js app directory
│   ├── zksig/            # zkSig - Threshold signatures (TSS/DMS)
│   │   ├── components/   # Split, Encrypt, Decrypt, Sign, Verify tabs
│   │   └── context/      # TSS state management
│   ├── zksend/           # zkSend - Private transfers (shield/send/unshield)
│   ├── privacy/          # Privacy policy page
│   ├── terms/            # Terms of service page
│   ├── globals.css       # Global styles + cypherpunk theme
│   ├── layout.tsx        # Root layout
│   └── page.tsx          # Home page
├── components/           # React components
│   ├── navbar.tsx        # Navigation with glitch effects
│   ├── footer.tsx        # Minimal footer
│   ├── hero.tsx          # Animated hero section
│   ├── features.tsx      # Feature cards
│   ├── how-it-works.tsx  # Process steps
│   ├── tech-stack.tsx    # Technology showcase
│   ├── wallet-guard.tsx  # Wallet auth guard
│   ├── wallet-session-provider.tsx  # Session management
│   └── ui/               # shadcn/ui components
├── lib/                  # Utilities and polyfills
│   ├── browser-polyfills/ # Node.js polyfills for browser
│   ├── wallet-session.ts  # Wallet session management
│   └── utils.ts          # Utility functions
├── public/wasm/          # WASM files for ZK proofs
├── .github/workflows/    # GitHub Actions
│   └── deploy.yml        # Deploy to GitHub Pages
└── package.json

🚀 Getting Started

Prerequisites

  • Node.js 18+
  • pnpm (install via npm install -g pnpm)

Environment Variables

Create a .env file:

# Required: Get from https://cloud.reown.com
NEXT_PUBLIC_REOWN_PROJECT_ID=your_project_id

# Required: Get from https://helius.dev
NEXT_PUBLIC_HELIUS_RPC=https://mainnet.helius-rpc.com/?api-key=your_key

# Optional: Custom Solana RPC fallback
NEXT_PUBLIC_SOLANA_RPC=https://api.mainnet-beta.solana.com

Installation

# Install dependencies
pnpm install

# Run development server
pnpm dev

# Build for production
pnpm build

Open http://localhost:3000 to view the app.

📦 Deployment

GitHub Pages (Automated)

Push to main branch triggers automatic deployment via GitHub Actions.

  1. Go to Settings → Pages
  2. Set Source to "GitHub Actions"
  3. Push to main branch

🔐 Security

  • Client-Side Only: All crypto operations happen in your browser
  • Zero Knowledge: We never see your keys or data
  • Standard Primitives: Ed25519, AES-256-GCM, SHA-256 via Web Crypto API
  • ZK Privacy: Privacy Cash SDK for anonymous transactions
  • Open Source: Fully auditable code

⚠️ Warning: This is experimental software. Use at your own risk. Always test thoroughly before entrusting valuable assets.

📝 Pages

  • Home (/) - Landing page with features and how it works
  • zkSig (/zksig/) - Threshold signatures - split keys, encrypt, sign & verify
  • zkSend (/zksend/) - Private asset shielding and transfers
  • Privacy (/privacy/) - Privacy policy
  • Terms (/terms/) - Terms of service

🎨 Theme Colors

Color Hex Usage
Primary #00ff88 Neon green, main accent
Accent #ff006e Neon pink, highlights
Cyan #00d4ff Secondary accent
Background #0a0a0f Dark background
Card #12121a Card backgrounds

📄 License

MIT License - see LICENSE file for details.

⚠️ Disclaimer

This software is provided "as is" without warranty of any kind. The authors and contributors are not responsible for lost funds, data, or keys. Always maintain secure backups.


Built with 💚 for the cypherpunks.

[SECURE] [DECENTRALIZED] [TRUSTLESS]

About

Ensuring that your funds/data are accessible in your absence

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages