https://github.com/thirdweb-example/youtube-buy-me-a-coffee
https://github.com/thirdweb-example/youtube-buy-me-a-coffee
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/thirdweb-example/youtube-buy-me-a-coffee
- Owner: thirdweb-example
- Created: 2024-04-30T19:28:55.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-30T19:41:16.000Z (almost 2 years ago)
- Last Synced: 2025-01-20T05:38:28.571Z (about 1 year ago)
- Language: TypeScript
- Size: 92.8 KB
- Stars: 0
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Web3 Buy Me A Coffee
Web3 Buy Me A Coffee app allows a user to send a tip in native token attached with a message.
## Getting Started
To use the Buy Me A Coffee app, you'll need to clone this repository, install dependencies, set up environment variables and contract addresses, and deploy the application. Below are the steps to follow:
### Cloning the Repository
To get started, clone the repository to your local machine:
```
git clone https://github.com/thirdweb-example/youtube-buy-me-a-coffee.git
```
```
cd youtube-buy-me-a-coffee
```
### Buy Me A Coffee smart contract
Follow to YouTube tutorial on creating your own smart contract or deploy here:
[Buy Me A Coffee smart contract](https://thirdweb.com/0xEe29620D0c544F00385032dfCd3Da3f99Affb8B2/BuyMeACoffee)
### Installing Dependencies
This application requires several dependencies to function, including thirdweb Connect SDK. Install them using npm or yarn:
```
npm install
```
or
```
yarn install
```
### Video Tutorial
For a detailed setup and deployment guide, watch our video tutorial on YouTube:
[Web3 Buy Me A Coffee - How to web3 developer tutorial](https://youtu.be/n7zo7-DMRmQ)
### Setting Environment Variables
Set the following variables in the `.env` file
- `NEXT_PUBLIC_CLIENT_ID`: thirdweb API key.
## Learn More
To learn more about thirdweb and Next.js, take a look at the following resources:
- [thirdweb docs Documentation](https://portal.thirdweb.com) -
- [thirdweb dashboard](https://thirdweb.com)
You can check out [the thirdweb GitHub organization](https://github.com/thirdweb-dev) - your feedback and contributions are welcome!
## Join our Discord!
For any questions, suggestions, join our discord at [https://discord.gg/thirdweb](https://discord.gg/thirdweb).