A modern DeFi application that enables users to boost their yield on 1sDAI deposits through an innovative exchange rate mechanism.
Harmony Yield Boost is a decentralized finance application that allows users to enhance their yield returns on 1sDAI deposits. The protocol works by converting 1sDAI to boostDAI at a dynamic exchange rate that increases over time, effectively generating additional yield for users.
- 🚀 Enhanced APY through yield boosting mechanism
- 💱 Dynamic exchange rate system
- ⚡ Instant deposits and withdrawals
- 🔒 No lock-up periods
- 💰 No minimum deposit requirements
- 📈 Transparent yield tracking
The core of the yield boost system is based on an exchange rate mechanism:
- Initial rate: 1 boostDAI = 1.05 1sDAI
- The exchange rate increases over time, generating yield
- Users maintain a constant boostDAI balance while its 1sDAI value grows
- Current APY: 11.8%
- Deposit Fee: 0.1%
- Withdrawal Fee: 0.1%
The protocol integrates with:
- Sky Protocol (MakerDAO) for 1sDAI
- Harmony blockchain for transactions
- Treasury system for yield distribution
node >= 18.0.0
npm >= 8.0.0
# Clone the repository
git clone https://github.com/harmony/yield-boost.git
# Install dependencies
cd yield-boost
npm install
# Start development server
npm run dev
src/
├── components/ # React components
│ ├── ui/ # Reusable UI components
│ └── theme/ # Theme configuration
├── hooks/ # Custom React hooks
├── lib/ # Utility functions and constants
└── types/ # TypeScript type definitions
YieldBoost
: Main application componentuseYieldBoost
: Core hook managing yield boost logicBalanceCard
: Displays user balances and APYYieldTabs
: Handles deposit/withdraw interactions
VITE_RPC_URL=https://api.harmony.one
VITE_CHAIN_ID=1666600000
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature
) - Commit changes (
git commit -m 'Add amazing feature'
) - Push to branch (
git push origin feature/amazing-feature
) - Open a Pull Request
# Run unit tests
npm run test
# Run E2E tests
npm run test:e2e
# Build for production
npm run build
# Preview production build
npm run preview
- React 18 with TypeScript
- Vite for build tooling
- TailwindCSS for styling
- shadcn/ui for components
- Lucide React for icons
- React hooks for local state
- Custom hooks for business logic
- Context for global state
This project is licensed under the MIT License - see the LICENSE file for details.