Introduction

Welcome to the official StyxPay documentation. This repository contains comprehensive documentation for the StyxPay platform - the leading authorization-based onchain neobank.


πŸ“š Documentation Sections

New to StyxPay? Start here!

Quick guides to get you up and running with development.

Perfect for: New developers, product managers, designers


Deep technical implementation details.

Comprehensive guides on cryptography, blockchain, and architecture.

Perfect for: Blockchain developers, cryptography researchers, senior engineers


Quick reference for components and APIs.

Practical guides for day-to-day development.

Perfect for: Frontend developers, backend developers, integrators


βš™οΈ Operations

Deployment and contribution guides.

Everything you need for production and open source contributions.

Perfect for: DevOps engineers, contributors, maintainers

Path 1: Frontend Developer

  1. Getting Started β†’ Understand the basics

  2. Frontend Architecture β†’ Learn implementation

  3. Components Guide β†’ Build interfaces

Total time: ~2 hours

Path 2: Blockchain Developer

  1. Project Overview β†’ Understand the system

  2. Solana Program Architecture β†’ Learn smart contracts

  3. ZK Proof System β†’ Master cryptography

Total time: ~3.5 hours

Path 3: Full-Stack Understanding

Complete all sections in order for comprehensive understanding.

Total time: ~8 hours


πŸš€ Quick Start

Visit http://localhost:3000


πŸ“– About StyxPay

StyxPay is an enterprise-grade onchain neobank with programmable security, built on Solana. We provide authorization-based banking infrastructure that gives users complete control over their digital assets.

Key Features

  • Authorization-Based Security - Pull-based payment model with cryptographic signatures

  • Zero-Knowledge Privacy - ZK-SNARK proofs keep transactions private

  • Virtual Cards - Create instant virtual cards for spending anywhere

  • Programmable Logic - Define custom spending rules and authorization policies

  • Instant Settlement - Sub-second transaction finality on Solana

πŸ› οΈ Tech Stack

Frontend

  • Framework: Next.js 15 (App Router)

  • Language: TypeScript

  • Styling: Tailwind CSS

  • UI Components: shadcn/ui, Lucide Icons

  • Fonts: Inter (body), Space Grotesk (display)

Blockchain

  • Network: Solana (Mainnet)

  • Smart Contracts: Anchor Framework

  • ZK Proofs: Groth16 (BN254 curve)

  • Hash Function: Poseidon

  • Commitments: Pedersen

Cryptography

  • Proof System: Groth16 ZK-SNARKs

  • Curve: BN254 (128-bit security)

  • Hash: Poseidon (ZK-friendly)

  • Commitments: Pedersen

  • Merkle Trees: Sparse Merkle Trees (depth 20)

πŸ“ Documentation Structure

πŸ”’ Security

StyxPay implements multiple layers of security:

  1. Zero-Knowledge Proofs: Transactions are verified without revealing amounts or parties

  2. Authorization Logic: Programmable spending rules prevent unauthorized transactions

  3. Nullifier Tracking: Prevents double-spending attacks

  4. Merkle Trees: Efficient state commitment and verification

  5. Solana Security: Leverages Solana's security model and finality

Cryptographic Guarantees

  • Privacy: Transaction details remain confidential

  • Integrity: Cannot forge valid proofs

  • Non-repudiation: Transactions are cryptographically signed

  • Finality: Irreversible after ~30 seconds

πŸ“Š Performance Metrics

Transaction Processing

  • Proving Time: 52.3ms per transaction

  • Verification Time: 2.1ms on-chain

  • Throughput: 476 tx/sec (single validator)

  • Latency: < 240ms end-to-end

On-Chain Efficiency

  • Proof Size: 128 bytes

  • Gas Cost: ~50,000 CU

  • Account Size: 512 bytes (user account)

  • Tree Depth: 20 (supports 1M accounts)

πŸ§ͺ Testing

Coverage

  • Unit tests for all cryptographic primitives

  • Integration tests for settlement flow

  • End-to-end tests for user journeys

  • Fuzzing for edge cases

Audit Status

  • Smart contract audit: Pending

  • ZK circuit audit: Pending

  • Frontend security review: Pending

πŸ†˜ Support

Documentation Feedback

Found an error? Have a suggestion? Open an issue

Technical Support

Question Type
Contact

Community


πŸ“ˆ Version History

v1.0.0 (Current) - January 2026

  • βœ… Initial documentation release

  • βœ… Complete technical architecture

  • βœ… ZK proof system documentation

  • βœ… Transaction settlement guide

  • βœ… Solana program architecture

  • βœ… Organized section structure with navigation


πŸ“„ License

Proprietary - All rights reserved Β© 2025 StyxPay


Last Updated: January 2026 | Documentation Version: 1.0.0 | Platform Version: 1.0.0 (Private Beta)

Last updated