An application for purchasing Coffee using crypto while including a personalized message ☕️
Deployment Link: https://buyadiacoffee.vercel.app
Contract Address (Deployed on NeoX T4 Testnet): 0x546494491acF698C610513d231e0cB35c1fC59b9 Contract Address (Deployed on Linea Sepolia Testnet): 0x5405d3e877636212CBfBA5Cd7415ca8C26700Bf4 Contract Address (Deployed on EDU Chain Testnet): 0x31c13bed4969a135bE285Bcb7BfDc56b601EaA43
To get this Buy Adi a Coffee - DApp running, follow the steps below:
git clone https://github.com/adisuyash/buy-me-a-coffee.git
-
Install dependencies:
npm install
-
Compile the contracts:
npx hardhat compile
-
Create a
.env
file similar to:NEO_X_URL=https://neoxt4seed1.ngd.network/ PRIVATE_KEY=
-
Deploy the smart contract:
npx hardhat run scripts/finalDeploy.js --network neoxt4
-
Ensure you have MetaMask installed in your browser.
-
Navigate to the
client
directory:cd client
-
Install frontend dependencies:
npm install
-
Start the frontend server:
npm start
Once the Buy Adi a Coffee dApp is set up:
- Connect your MetaMask wallet to the DApp.
- Send cryptocurrency to purchase Coffee.
- Write a sweet message to accompany your purchase.
- Enjoy your Coffee!