Skip to content

pre22/crypto-saving-contract

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crypto Savings Smart Contract

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.

🚀 Features

  • 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

🛠️ Tech Stack

  • Solidity — Smart contract development
  • Hardhat — Testing, compilation, and deployment
  • Ethers.js — Interaction with the contract
  • OpenZeppelin — Secure smart contract libraries

📦 Setup

git clone project_url
cd crypto-savings-contract
npm install
npx hardhat test

About

A simple contract where users can deposit ETH and withdraw it later.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors