A saving platform that helps you to stash away your cash and resist the temptation to spend it all at once.
PiGHOBank is designed as a personal savings account using the GHO token. The purpose of this contract is to encourage and support disciplined savings by providing a platform where users can store and lock their GHO tokens over a period of time, preventing them from spending their funds all at once.
The contract provides a structured saving model, making users plan their withdrawals according to specified periods. This feature helps to reinforce financial discipline.
In case of emergencies, PiGHOBank has a thoughtful feature. When creating a deposit, users can assign a trusted family member or friend who can release the funds in emergency situations to handle unforeseen expenses. The act of requesting help to access the funds serves as a psychological barrier, deterring users from making impulsive withdrawals for unnecessary cases.
PiGHOBank merges the concepts of traditional savings accounts with the innovative power of blockchain technology, fostering prudent financial habits within the transparency and security of the Ethereum network.
The smart contract is built with Solidity and utilizes the GHO token to maintain savings accounts for users. Users deposit some amount of money that they would like to save, and they can withdraw portions of their money in 30-day periods. The frontend code leverages React, wagmi, and Family's ConnectKit. ConnectKit is easy to use and provides a proper UI/UX.