Skip to content
Stakz

Stakz

The child of Acorns + Mutual Funds/ETFs (if they loved crypto)

Created on 28th February 2025

β€’

Stakz

Stakz

The child of Acorns + Mutual Funds/ETFs (if they loved crypto)

The problem Stakz solves

🎯 The Problem

Traditional crypto investing is:🀯 Overwhelming with 20,000+ tokens,πŸ” Complex wallet management,🚫 High barriers to entry,⚠️ Security concerns, & πŸ’Έ has no easy way to make small deposits consistently

πŸ’‘ How Stakz Solves It

1. 🎯 Simplified Investment Options

  • Foundation - Blue-chip cryptos for stability
  • Frontier - Proven mid-cap projects
  • Moonshots - Curated emerging opportunities

2. πŸ”„ Automated Investing

  • Round up daily purchases to invest spare change (Example: $3.50 coffee β†’ 50Β’ auto-invested).
  • Build crypto portfolio without changing spending habits

3. πŸ›‘οΈ Institutional Security

  • Professional custody solutions, No seed phrases to manage, & Bank-grade security standards

4. πŸ’° Lower Barriers

  • Start with spare change, No minimum investment, Fractional token ownership

5. πŸ“± User-Friendly Experience

  • Clean, simple dashboard, Real-time portfolio tracking, & Automated rebalancing

πŸŽ‰ End Result

Turn everyday transactions into a crypto portfolio, without the complexity or large upfront investment typically required in crypto markets.

User Interaction and Data Flow

πŸ”„ User Journey & Data Flow

🎯 Getting Started

1. Simple Onboarding

  • Create account with email, Complete basic KYC verification, Connect bank account via Plaid or existing wallet, Choose risk asset group, & Watch it grow with recurring micro-deposits for everyday purchases!

πŸ’³ Banking Connection

2. Link Your Bank

  • Connect bank account securely, Enable round-ups feature, Set optional recurring investments, & Choose round-up multiplier (1x-10x)

πŸ“Š Portfolio Creation

3. Choose Your Strategy

  1. Foundation -> Conservative -> Blue-chip crypto
  2. Frontier -> Moderate -> Mid-cap projects
  3. Moonshots -> Aggressive -> Emerging tokens

πŸ” Daily Operations

4. Automated Investing

    A[Buy Coffee $3.50] --> B[Round-up 50Β’]
    B --> C[Pool with other round-ups (individual acct & user ID maintained]
    C --> D[Weekly Investment]
    D --> E[Auto-balanced Portfolio]

πŸ“± Dashboard Experience

5. Portfolio Management

  • Real-time portfolio value, Performance analytics, Transaction history, Asset allocation view, & One-click deposits/withdrawals

πŸ›‘οΈ Security Flow

6. Protection Measures

User Action ➜ 2FA Check ➜ Custody Verification ➜ Smart Contract Interaction
  • Two-factor authentication, Institutional custody, & Bank-level encryption

πŸ“ˆ Smart Features

7. Automated Features

  • Weekly investment batching, Auto-rebalancing, Price alerts, & Performance reports

πŸ’‘ Key Innovation: Stakz combines traditional banking convenience with crypto investing through automated micro-investments, making crypto accessible to everyone.

The project architecture and development process

Technical Infrastructure

Core Components

Frontend Architecture

  • Framework:
    • Astro v3.6.4 with React islands for interactive components, Server-side rendering with selective hydration, & TypeScript for type safety and developer experience
  • Styling:
    • TailwindCSS with custom design system, PostCSS for optimization, Custom utility patterns
  • State Management:
    • Wagmi for Web3 interactions, Viem for blockchain data handling, Zustand for local state, Supabase realtime subscriptions

Backend Infrastructure

  • Network: Unichain testnet integration
  • Node Providers:
    • Infura for primary RPC, Alchemy for fallback, & Local node for development
  • Hosting:
    • Vercel Edge Functions, Automatic SSL/TLS, & Global CDN distribution
  • Database & Auth:
    • Supabase PostgreSQL with Row Level Security (RLS), JWT authentication, Real-time subscriptions, and Automated backups

Security Architecture

Data Protection

  • Encryption:
    • AES-256-GCM for sensitive data, Field-level encryption, & Secure key management
  • Authentication:
    • JWT with refresh tokens for Session management & Rate limiting
  • Infrastructure:
    • CORS policies, CSP headers, XSS protection & SQL injection prevention
  • Smart Contracts:
    • Time-locked upgrades, Automated testing, & Continuous monitoring

Development Setup

Prerequisites

  • Node.js >= 18.0.0, PNPM >= 8.0.0, Foundry >= 0.2.0, & Hardhat >= 2.19.0

Environment Requirements

  • Supabase project, Mailtrap account, & Infura/Alchemy API keys

Product Integrations

Product Integrations

Authentication & User Management

  • Supabase Auth
    • Email authentication with JWT tokens, Session management and refresh tokens, & Row Level Security (RLS) policies

Email Services

  • Mailtrap
    • Transactional email handling, Email verification flow, Custom HTML templates, & Development/production environment separation

Development & Deployment

  • Vercel
    • Edge function deployment, Automatic SSL/TLS, CI/CD integration, & Environment variable management

Database & Storage

  • Supabase PostgreSQL
    • User profiles and KYC data, Encrypted sensitive information, Real-time subscriptions, Automated backups, & Custom types and enums

Frontend Framework

  • Astro.js
    • Server-side rendering, React islands for interactivity, Asset optimization, & TypeScript integration

Styling & UI

  • TailwindCSS
    • Custom design system, Responsive layouts, Dark mode support, & Performance optimization

Development Tools

  • TypeScript
    • Static type checking, Enhanced developer experience, Automated type generation, & Interface definitions

Security Services

  • AES-256-GCM Encryption
    • Sensitive data protection, Field-level encryption, & Secure key management

Blockchain Integration

  • Unichain
    • Smart contract deployment, Transaction handling, & Portfolio management

Monitoring & Analytics (Planned)

  • Error tracking, Performance monitoring, User analytics, & Smart contract monitoring

Each integration was chosen for its specific role in creating a secure, scalable, and maintainable platform. Our architecture allows for easy addition of future integrations while maintaining strict security standards.

Key differentiators and uniqueness of the project

Key Differentiators & Innovation

Automated Accessibility

Unlike traditional CeFi/DeFi platforms that require active management, Stakz introduces: Automated micro-investments through purchase round-ups, No minimum investment requirements, & a VERY Simplified onboarding for non-crypto users

Enhanced Security Architecture

Our multi-layered security approach surpasses standard platforms: AES-256-GCM encryption for all sensitive data, Field-level encryption for PII, Row Level Security (RLS) with granular permissions, Secure document storage with signed URLs, & Real-time session monitoring and fraud detection

User-Centric Design

While most platforms focus on experienced users, Stakz prioritizes: Progressive disclosure of complex features, Multi-step KYC with intuitive flow, Real-time transaction monitoring, Simplified portfolio management, & Clear risk categorization

Technical Innovation

Our architecture improves upon existing solutions: Server-side rendering for improved performance, Hybrid authentication system, Type-safe development environment, Automated testing and deployment, & Real-time data synchronization

Risk Management

Unlike other platforms, we implement: Three-tiered portfolio strategy system, Automated risk assessment, Clear investment categorization, Transaction rate limiting, & Portfolio diversification enforcement

Trade-offs and shortcuts while building

Development Trade-offs & Future Optimizations

Current Implementation Shortcuts

Banking Integration

  • Current State: Simulated Plaid integration using mock transaction data
  • Limitation: No real-time bank connection or transaction monitoring
  • Future Plan: Full Plaid API integration with: Real-time transaction monitoring, ACH transfer capabilities, Bank account verification, Balance checking, & Transaction history sync

Security Implementation

  • Current State: Basic AES encryption for sensitive data
  • Planned Improvements:
    • Hardware Security Module (HSM) integration, Enhanced key rotation system, Additional encryption layers for PII, & Improved audit logging

KYC Process

  • Current State: Document upload with basic verification
  • Future Enhancement:
    • Third-party KYC provider integration, Automated document verification, Biometric verification, & Enhanced fraud detection

Portfolio Management

  • Current State:
    • Manual portfolio creation
    • Basic asset allocation
    • Simulated transaction history
  • Planned Features:
    • Automated rebalancing, Smart order routing, Real-time price feeds, & Advanced portfolio analytics

Smart Contract Integration

  • Current State: Basic contract deployment on testnet
  • Future Development:
    • Gas optimization, Advanced security features, Multi-signature implementation, & Emergency shutdown mechanisms

Technical Debt

Database Structure

  • Need to implement proper indexing, Optimize query performance, Add materialized views, & Implement proper partitioning

Frontend Architecture

  • Implement proper error boundaries, Add comprehensive loading states, Enhance client-side validation, & Improve state management

Testing Coverage

  • Add end-to-end tests, Increase unit test coverage, Implement contract testing, Add performance testing

Additional Features

N/a

Tracks Applied (2)

DEFI, NFTS + GAMING

DeFi Innovation: User-First Approach Stakz reimagines DeFi onboarding by creating familiar pathways for traditional fin...Read More

DeFi Innovation on Unichain

Stakz revolutionizes DeFi investing by leveraging Unichain's infrastructure to enable automated micro-investments throug...Read More
Uniswap

Uniswap

Discussion

Builders also viewed

See more projects on Devfolio