StablePay ETF
A blockchain-based payroll platform using a stablecoin backed by gold, BTC, and ETH ETFs for secure, efficient, and innovative payroll processing.
Videos
Description
StablePay ETF
A blockchain-based payroll platform using a stablecoin backed by gold, BTC, and ETH ETFs for secure, efficient, and innovative payroll processing.
Features
Blockchain-Based Payroll: Secure and transparent payroll processing using smart contracts
ETF-Backed Stablecoin: SPAY token backed by a diversified portfolio:
50% Gold
25% BTC
25% ETH
Employee Dashboard: Manage payroll, investments, and savings
Investment Management: Direct investment in ETF tokens
Savings Lock: Lock savings for fixed periods
Real-time Analytics: Track balances and investment performance
Web3 Integration: Connect with MetaMask and other Web3 wallets
Responsive Design: Modern UI with dark mode support
Tech Stack
Frontend: Next.js 14, React, TypeScript
Styling: Tailwind CSS, Shadcn UI
Blockchain: Ethereum, Web3.js
Smart Contracts: Solidity
Animations: Framer Motion
Prerequisites
Node.js 18.0.0 or higher
PNPM package manager
MetaMask or compatible Web3 wallet
Installation
Clone the repository:
git clone https://github.com/0xkid-root/StablePay-ETF
cd stablepay-etf
Install dependencies:
pnpm install
Set up environment variables:
cp .env.example .env.local
# Edit .env.local with your configuration
Start the development server:
pnpm dev
Open http://localhost:3000 in your browser
Smart Contracts
The project includes the following smart contracts:
SPAYStablecoin.sol
: ERC20 stablecoin implementationETFToken.sol
: ETF token implementationPayrollProcessor.sol
: Handles payroll operationsCollateralManager.sol
: Manages ETF backingInvestmentManager.sol
: Handles investment operationsSavingsManager.sol
: Manages savings lock functionality
Project Structure
├── app/ # Next.js app directory
├── components/ # React components
├── contracts/ # Smart contracts
├── hooks/ # Custom React hooks
├── providers/ # Context providers
├── public/ # Static assets
├── styles/ # Global styles
└── config/ # Configuration files
Contributing
Fork the repository
Create your feature branch:
git checkout -b feature/my-feature
Commit your changes:
git commit -am 'Add new feature'
Push to the branch:
git push origin feature/my-feature
Submit a pull request
Progress During Hackathon
100
Tech Stack
Fundraising Status
zero