Skip to content

Amarannaya/AmmyEth

Repository files navigation

This contract was updated from the contract deployed on the sepolia network with address,0x69a77E15eeE40278649E58C31f8640B17E804E03 by me. This contract was updated to ensure that users can't withdraw more than twice on a particular day.


AMMYETH

Bank your way to freedom
This is a simple application of the blockchain technology. with some basic functionalities:

One

This app allows users to deposit ether into their account, withdraw ether from their account, and to check their account balance. The amount to withdraw must be greater than zero, this condition ensures that a user cannot withdraw a negative amount.

two

The amount to withdraw must not exceed 80% of the user's available balance. This condition ensures that users cannot withdraw more than 80% of their account balance, which can help prevent a user from accidentally withdrawing more than they intended or from being targeted by attackers attempting to drain their entire account balance. The user must have sufficient balance to make the withdrawal. This condition ensures that the user has enough funds in their account to cover the withdrawal amount.


three

The user must have sufficient balance to make the withdrawal.

If any of these conditions are not met, the "withdraw" function will fail and the withdrawal will not be processed.

This condition ensures that the user has enough funds in their account to cover the withdrawal amount.

You can only withdraw twice a day too!!.



Please test with a sepoliai account.

FEEL FREE TESTING!!




FrontEnd

This is a wagmi + RainbowKit + Vite project bootstrapped with create-wagmi

Getting Started

Run npm run dev in your terminal, and then open localhost:5173 in your browser.

Once the webpage has loaded, changes made to files inside the src/ directory (e.g. src/App.tsx) will automatically update the webpage.

Learn more

To learn more about Vite, RainbowKit or wagmi, check out the following resources:

Smart Contract

Styled using Bulma CSS

🔧 Technology Stack & Tools



Project Website Link

Site Overview

Home Page

Screenshot (82)


Rainbow Wallet connect

Screenshot (85)


Rules of Engagement

Screenshot (84)


**Bank Section**

Screenshot (83)


Project Website Link

Project Authors


🤝 Contribute

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated. 😊

 1. Fork Project

 2. Create your Feature Branch (git checkout -b feature/AmazingFeature)

 3. Commit your changes(git commit -m "Add Some Amazing Feature" )

 4. Push to the Branch (git push origin feature/AmazingFeature)

 5. Open a Pull Request




License

MIT License

Copyright (c) [2023] [Amarannaya]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

A crptobank

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published