Skip to content

wayphantomme/soldoway

Repository files navigation

Soldoway 🚀

The Decentralized Task Management & Sales Payout Platform

Soldoway is a Web3 platform built on the Solana blockchain designed to revolutionize how businesses manage and pay their sales force. By leveraging Yield-Bearing Escrows, businesses can deploy marketing campaigns where deposited funds don't sit idle—they generate real-time yield in DeFi protocols (Kamino/Jito) while awaiting sales claim verification.


✨ Key Features

  • Yield-Bearing Escrow: Deposits for sales missions are automatically routed to Kamino Finance or Jito vaults via CPI (Cross-Program Invocation) to earn interest for the business owner.
  • Privy Wallet Integration: Provides a seamless, mobile-friendly onboarding experience with support for email, social, and gasless Solana transactions.
  • Mobile-First Dashboard: A fully responsive UI designed specifically for the mobile-active workforce in regions like Bali and beyond.
  • Hybrid Data Architecture: Combines the security of On-chain Solana transactions with the speed of Off-chain PostgreSQL (Prisma) metadata for a fast and reliable user experience.
  • Real-time Partner Marketplace: A dedicated sales page where partners can browse active missions, strategies, and payout capacities directly from the database.

🛠️ Tech Stack

  • Frontend: Next.js 16 (Turbopack), Tailwind CSS.
  • Blockchain: Solana, Anchor Framework (Rust).
  • Authentication & Wallet Management: Privy.
  • Database & ORM: PostgreSQL, Prisma.
  • Deployment: Vercel.

🚀 Getting Started

Prerequisites

  • Node.js 18+
  • Solana CLI & Anchor (for contract development)
  • PostgreSQL Instance

Local Installation

  1. Clone the repository:

    git clone https://github.com/wayphantomme/soldoway.git
    cd soldoway
  2. Install dependencies:

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

    DATABASE_URL="your_postgresql_url"
    NEXT_PUBLIC_PRIVY_APP_ID="your_privy_id"
    NEXT_PUBLIC_SOLANA_RPC="your_rpc_url"
  4. Initialize Prisma:

    npx prisma generate
  5. Run Development Server:

    npm run dev

🏗️ Deployment Note (Vercel)

This project uses Prisma. To ensure successful builds on Vercel, the package.json includes a postinstall script to prevent client initialization errors:

"scripts": {
  "postinstall": "prisma generate",
  "build": "next build"
}

📜 License

Distributed under the MIT License. See LICENSE for more information.

About

A decentralized Task Management & Sales Payout platform using Anchor Framework (Solana). Features include PDA-based vaults for secure deposits, on-chain referral tracking, and a real-time partner marketplace.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors