A decentralized savings smart contract built with Solidity.
This project enables users to deposit and withdraw crypto assets securely, while optionally earning interest or rewards based on staking or time-locked savings models.
- Deposit and withdraw ERC-20 tokens
- Optional time-locked or flexible savings
- Automatic reward calculation for savers
- Transparent and on-chain balance tracking
- Fully compatible with Hardhat and Ethers.js for testing and deployment
- Solidity — Smart contract development
- Hardhat — Testing, compilation, and deployment
- Ethers.js — Interaction with the contract
- OpenZeppelin — Secure smart contract libraries
git clone project_url
cd crypto-savings-contract
npm install
npx hardhat test