Secure, low-risk savings for your crypto
Yield Vault is a crypto savings platform that solves the treasury management problem by providing a simple, bank-like savings account experience for digital assets. Born from the founders' own struggle to confidently allocate their treasury across DeFi protocols, Yield Vault allows users to deposit USDC, ETH, or BTC into risk-managed vaults that automatically diversify across multiple low-risk yield strategies.
- Multi-Asset Support: Deposit USDC, ETH, or BTC into dedicated vaults
- Automated Diversification: Funds are automatically allocated across multiple low-risk yield strategies
- Conservative Yield Strategies:
- Lending protocols (Aave, Compound)
- Liquid staking (Lido, Rocket Pool)
- DEX liquidity provision (Uniswap, Curve)
- Other conservative DeFi approaches
- ERC-4626 Standard: Built on the robust vault standard for maximum compatibility
- Transparent Risk Management: Comprehensive protocol risk assessments
- Instant Withdrawals: Access your funds whenever needed
- Bank-like UX: User-friendly interface that abstracts DeFi complexity
Managing treasury across DeFi protocols is complex and risky. Yield Vault provides:
- Simplified Access: No need to research dozens of protocols
- Risk Mitigation: Professional diversification across vetted strategies
- Operational Efficiency: One interface for all your yield-generating assets
- Peace of Mind: Transparent operations with instant liquidity
Built with modern web3 technologies:
- Frontend: NextJS, TypeScript, TailwindCSS
- Smart Contracts: Solidity, Hardhat, ERC-4626 Vaults
- Web3 Integration: Alchemy AccountKit, Wagmi, Viem
- Blockchain: Ethereum (Sepolia Testnet)
- Connect Wallet: Use any wallet or create a smart account with AccountKit
- Choose Asset: Select from USDC, ETH, or BTC vaults
- Deposit Funds: Your assets are automatically deployed to risk-managed strategies
- Earn Yield: Watch your savings grow through diversified DeFi protocols
- Withdraw Anytime: Access your funds instantly whenever needed
Before you begin, you need to install the following tools:
- Node (>= v22.0)
- Yarn (v1 or v2+)
- Git
To get started with Yield Vault, follow these steps:
- Clone the repository:
git clone https://github.com/FELT-Labs/token2049-origins-hackathon.git
cd token2049-origins-hackathon- Install dependencies:
yarn install- Deploy the smart contracts:
yarn deployThis deploys the vault contracts to Sepolia testnet (configured in packages/hardhat/hardhat.config.ts)
- Start the development server:
yarn startVisit your app at: http://localhost:3000
- USDCVault.sol: Main vault contract implementing ERC-4626 standard
- StrategyBase.sol: Base class for yield strategy implementations
- MockYieldStrategy.sol: Demo strategy for testing yield generation
- Strategy Management: Automated fund allocation and rebalancing
Run the comprehensive test suite:
# Run all tests
yarn test
# Run specific test files
yarn test test/Vault.ts
yarn test test/VaultStrategyIntegration.tsTry the live application: Yield Vault Demo
We welcome contributions! Please see our Contributing Guidelines for details on how to:
- Report bugs
- Suggest features
- Submit pull requests
- Follow our coding standards
This project is licensed under the MIT License - see the LICENSE file for details.
- Built with Scaffold-Alchemy
- Powered by Alchemy
- ERC-4626 Vault Standard
- OpenZeppelin Contracts
Disclaimer: This is a proof-of-concept built for Token2049 Origins Hackathon. Not audited for production use.