This project demonstrates a basic Hardhat use case. It comes with a sample contract, a test for that contract, a sample script that deploys that contract, and an example of a task implementation, which simply lists the available accounts.
Try running some of the following tasks:
npx hardhat accounts
npx hardhat compile
npx hardhat clean
npx hardhat test
npx hardhat node
node scripts/sample-script.js
npx hardhat help
See the full tutorial here -> https://www.pointer.gg/tutorials/create-a-web3-forum-with-polygon/1cb8f005-08f4-48a2-9d82-cd963e16f7f1
To us at Pointer, one of the most interesting aspects of web3 is that it facilitates developers to build and share composable behaviors around databases.
Anyone can dig up a smart contract on GitHub, deploy it, and have their own microservice running in seconds.
Not only that, but the stable API exposed by a smart contract is a blank canvas on top of which any frontend developer in the community can build and share components.
In that spirit, today we're going to build a deployable smart contract and an accompanying React component to add comment threads to your dapps.
In theory this could be open sourced and published as an npm package to allow any developer to quickly add a forum to their dapp.
Here's what we're going to build:
forum-demo.mov
Visit the tutorial to get started https://www.pointer.gg/tutorials/create-a-web3-forum-with-polygon/1cb8f005-08f4-48a2-9d82-cd963e16f7f1