Monorepo setup using:
- Solidity Template by @TomAFrench and @paulrberg
- NextJS with Typescript and EsLint
- theGraph
The contracts, with tests and tasks to publish new content, using Solidity Template
The UI for the website, to interact with the protocol and publish new content, using NextJS
The subgraph code to track new posts, using TheGraph
yarn hardhat
yarn next
yarn subgraph
yarn hardhat deploy
yarn next dev
Rename .env.example
to .env
and fill in the details
Rename YOU_GITHUB/SUB_GRAPHNAME
in subgraph/package.json