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.
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
yarn
Now you can compile, test and deploy the contract.
in the root directory, run the following command:
npx hardhat compile
in the root directory, run the following command:
npx hardhat test
in 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 abi
To 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
yarn
To start it:
npm run dev
## or
yarn dev
Under construction.