Skip to content

My implementation of a DeFi Mini Savings Account using Solidity and Foundry.

Notifications You must be signed in to change notification settings

ivan-kyu/mini-savings-account

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mini Savings Account

My implementation of a Mini Savings Account using Solidity and Foundry. Current variant allows users to deposit their tokens and earn interest from them. Users can also check their current rewards, claim their rewards or withdraw their tokens at any time. Interest rate applied every second.

Installation

To install with Foundry

forge install

Testing

forge test

To-Do

  • Implement a factory pattern, allowing the users to manage multiple accounts with different ERC20 tokens.

Decisions

  • It's not a time deposit account
  • Version 1 uses 2 separate tokens for simplicity

About

My implementation of a DeFi Mini Savings Account using Solidity and Foundry.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published