BuyMeACoffee-DeFi Tailwind Templates

Buymeacoffee Defi

Decentralized "Buy me a coffee" App

Buy me a Coffee - DeFi

This project is a decentralized 'Buy Me A Coffee' smart contract that allows visitors to leave tips and messages for the owner, utilizing Solidity, Hardhat, Ethers.js, Next.js and Alchemy.

This includes 3 main functions:

buyCoffee(name, message) : to send 0.001 ETH(test) to the deployed smart contract
withdrawCoffee() : for the owner to withdraw the tips sent
getMemos() : to retrieve the memos left by the visitors

Contract owner view:

Visitor view:

Top categories

Loading Svelte Themes