Skip to content

Kayleexx/Decentralized-atm

Repository files navigation

Decentralized-atm

This is a decentralized ATM application that allows users to deposit and withdraw ether from an Ethereum blockchain.

dapp screenshot

Prerequisites

  • Node.js (v14.0.0 or higher)
  • MetaMask wallet extension installed in your browser

Getting Started

  1. Clone the repository:
git clone https://github.com/Kayleexx/Decentralized-atm.git
  1. Install the dependencies ( IF THE DEPENDENCIES DOES NOT INSTALL CORRECTLY THEN USE --force ):
cd creating-my-own-atm
npm i
  1. Open two additional terminals in your VS code.

  2. In the second terminal type: npx hardhat node.

  3. In the third terminal, type: npx hardhat run --network localhost scripts/deploy.js.

  4. Back in the first terminal, type npm run dev to launch the front-end

  5. Open the application in your browser, the project will be running on your localhost. Typically at:

http://localhost:3000
  1. Connect your MetaMask wallet and interact with the ATM interface.

How to use

  1. Open the application in your web browser.
  2. Connect your Ethereum wallet to the application.
  3. Enter the amount of ether you want to deposit or withdraw.
  4. Click the "Deposit" or "Withdraw" button.

Contributing

Contributions to this repository are not accepted as it is for personal assignments. However, if you have suggestions or feedback, feel free to open an issue.

Author

Mitali Sinha

License

This project is licensed under the MIT License. You are free to modify and distribute the code for personal and educational purposes.