Before you begin, ensure you have met the following requirements:
- Node.js and npm (or yarn)
- Graph CLI
- Run graph-node on locally
Clone the Repository:
git clone https://github.com/nexm-io/hackathon-thegraph.git
cd hackathon-thegraphnpm install
# or
yarn installyarn codegenyarn buildgraph create --node http://127.0.0.1:8020 <SUBGRAPH_NAME>graph deploy <SUBGRAPH_NAME> --ipfs http://localhost:5001 --node http://127.0.0.1:8020graph auth --studio <YOUR_DEPLOY_KEY>graph deploy --studio <SUBGRAPH_SLUG>- TheGraph: https://thegraph.com/docs/en/
- Graph Node: https://github.com/graphprotocol/graph-node