Read the full tutorial here: >> How to Build an Answer to Earn (A2E) Platform with NextJs, TypeScript, Tailwind CSS, and Solidity
This example shows How to Build an Answer to Earn (A2E) Platform with NextJs, TypeScript, Tailwind CSS, and Solidity:
Questions Creating Questions Questions DetailsThis demo uses:
- Metamask
- Hardhat
- Infuira
- NextJs
- TypeScript
- Tailwind CSS
- Solidity
- EthersJs
- Faucet
To run the demo follow these steps:
-
Clone the project with the code below.
# Make sure you have the above prerequisites installed already! git clone https://github.com/Daltonic/answer_to_earn answerToEarn cd answerToEarn # Navigate to the new folder.
-
Create a
.env
file to include the following details.NEXT_APP_RPC_URL=http://127.0.0.1:8545/
-
On one terminal, run the app using:
yarn install yarn hardhat run scripts/deploy.js
-
On a second terminal, run the app using
yarn dev
to launch on the browser.
If your confuse about the installation, check out this TUTORIAL to see how you should run it.
Questions about running the demo? Open an issue. We're here to help โ๏ธ