-
Docker
-
Node Modules
npm install
-
Start hardhat node in contracts
npx hardhat node --hostname 0.0.0.0
-
Deploy contracts and generate events
npx hardhat run scripts/deployMocks.ts --network localhost
-
Start the graph node
cd docker/graph-node docker-compose up
Note: - remove docker/graph-node/data folder when you re run docker container
-
Create subgraph and deploy
npm run codegen npm run create-local npm run deploy-local