A React component to add ETH tipping functionality to website styled with Tailwind CSS.
The popup is only displayed if the user has a wallet, though the popup could be easily modified to popup all the time too.
When the user enters an amount in the tip form and clicks Send Tip, their browser based ETH wallet creates a transaction. The user then approves or rejects the transaction. If approved, the ETH is sent from the user's account to the receivingAccount in EthTipJar.jsx.
- Fork and clone this repository.
- Copy or move the
EthTipJar.jsxfile into your project. - In the
EthTipJar.jsxfile, on Line 12, change thereceivingAccountconstant to the Ethereum account you want to receive tips at. - Ensure that you have the dependencies below installed. Packages can be managed with
npmoryarn.

