A decentralized savings application built for Rootstock and Ethereum networks. Create goal-based savings jars with automatic recurring deposits and real-time price tracking.
- Savings Jars: Create personalized savings goals with target amounts and timeframes
- Multiple Tokens: Support for tRBTC, PYUSD, and other ERC-20 tokens
- Auto Deposits: Set up recurring deposits on daily, weekly, or monthly schedules
- Price Feeds: Real-time price tracking powered by Pyth Network
- Cross-Chain: Works on Rootstock and Ethereum Sepolia testnets
- Frontend: React, TypeScript, Vite
- Blockchain: Wagmi, Viem
- Smart Contracts: Solidity, Hardhat
- Price Data: Pyth Network
- Deployment: Vercel
- Node.js 18+
- npm 8+
- MetaMask or compatible wallet
# Clone the repository
git clone https://github.com/imaad666/Piggy-Bit.git
cd Piggy-Bit
# Install dependencies
npm install
# Start development server
npm run dev# Navigate to contracts directory
cd contracts
# Install dependencies
npm install
# Compile contracts
npx hardhat compile
# Deploy to testnet
npx hardhat run scripts/deploy.ts --network sepolia- Connect your wallet (MetaMask recommended)
- Switch to Rootstock or Ethereum Sepolia network
- Create a new savings jar with your target amount
- Set up automatic recurring deposits
- Track your progress with real-time price updates
- Rootstock: Main deployment network
- Ethereum Sepolia: Testnet for development
MIT License - Built for ETHGlobal Delhi