The friendly way to accept tips in ETH. It's free, and no setup required. cryptip.me/your-ens-or-wallet-address
Project structure:
- hardhat (smart contract)
- next-app (front-end)
- graph (event indexing)
git clone https://github.com/web3slinger/cryptip.me.git
Setup environment variables. See .env.example
cd next-app
yarn dev
See https://thegraph.com/en/ on how to create a subgraph.
cd hardhat
hh deploy
Testing:
hh test
- Setup environment variables
- Get ETH or testnet ETH
- Deploy
hh deploy --network rinkeby
If you appreciated this, feel free to follow me or tip me!
- cryptip.me/web3slinger.eth
- twitter.com/web3slinger