Tip Tweet is hybrid dApp that allows users to tip a tweet with crypto currency without needing the author's wallet address or any other information but the tweet URL. The author can claim the tip just by logging with their Twitter account. It's under development and currently only supports Ethereum. At the moment it uses Rinkeby network.
- root: contains the smart contract development environment. It uses Hardhat.
- app: contains the app to interact with the contract developed with Next.js and Supabase.
The root directory contains the smart contract development environment. It uses Hardhat. as mentioned above. To set up the development environment, run the following command in the root directory:
npm install
## or
yarnNow you can compile, test and deploy the contract.
in the root directory, run the following command:
npx hardhat compilein the root directory, run the following command:
npx hardhat testin the root directory, run the following command:
npx hardhat run scripts/deploy.ts --network <network>Every time you compile a new version of the contract you will need to provide the ABI of the contract to the app. To do so, run the following command in the root directory:
make abiTo start the app to interact with the contract on the blockchain, you need to cd app and run the following command:
To install the dependencies, run:
npm install
## or
yarnTo start it:
npm run dev
## or
yarn devUnder construction.