RTW3-Week2-BuyMeACoffee-Website
RTW3-Week2-BuyMeACoffee-Website copied to clipboard
You can see a demo of this repo on Replit : https://replit.com/@thatguyintech/BuyMeACoffee-Solidity-DeFi-Tipping-app
Getting Started
npm install to install dependencies
First, run the development server:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.
Everything you need is inside pages/index.js.
To customize the website to load info from your own contract, change the following:
- Update
contractAddressinpages/index.jsto your own BuyMeACoffee contract on the Goerli testnet. - Update
utils/BuyMeACoffee.jsonto match the json artifact for your contract after compilation. - Update the name and footer text in
pages/index.jsto your own name and info.
Deploy on Vercel
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.