This is a decentralized ATM application that allows users to deposit and withdraw ether from an Ethereum blockchain.
- Node.js (v14.0.0 or higher)
- MetaMask wallet extension installed in your browser
- Clone the repository:
git clone https://github.com/Kayleexx/Decentralized-atm.git
- Install the dependencies ( IF THE DEPENDENCIES DOES NOT INSTALL CORRECTLY THEN USE --force ):
cd creating-my-own-atm
npm i
-
Open two additional terminals in your VS code.
-
In the second terminal type: npx hardhat node.
-
In the third terminal, type: npx hardhat run --network localhost scripts/deploy.js.
-
Back in the first terminal, type npm run dev to launch the front-end
-
Open the application in your browser, the project will be running on your localhost. Typically at:
http://localhost:3000
- Connect your MetaMask wallet and interact with the ATM interface.
- Open the application in your web browser.
- Connect your Ethereum wallet to the application.
- Enter the amount of ether you want to deposit or withdraw.
- Click the "Deposit" or "Withdraw" button.
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.
Mitali Sinha
This project is licensed under the MIT License. You are free to modify and distribute the code for personal and educational purposes.