A blockchain-based payroll platform using a stablecoin backed by gold, BTC, and ETH ETFs for secure, efficient, and innovative payroll processing.
A blockchain-based payroll platform using a stablecoin backed by gold, BTC, and ETH ETFs for secure, efficient, and innovative payroll processing.
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
Frontend: Next.js 14, React, TypeScript
Styling: Tailwind CSS, Shadcn UI
Blockchain: Ethereum, Web3.js
Smart Contracts: Solidity
Animations: Framer Motion
Node.js 18.0.0 or higher
PNPM package manager
MetaMask or compatible Web3 wallet
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
The project includes the following smart contracts:
SPAYStablecoin.sol
: ERC20 stablecoin implementation
ETFToken.sol
: ETF token implementation
PayrollProcessor.sol
: Handles payroll operations
CollateralManager.sol
: Manages ETF backing
InvestmentManager.sol
: Handles investment operations
SavingsManager.sol
: Manages savings lock functionality
├── 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
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
100
zero