Setting up a subgraph on Zora with Mobula’s infrastructure is an easy process. This tutorial will guide you through each step to get your subgraph operational on the Zora network.Documentation Index
Fetch the complete documentation index at: https://docs.mobula.io/llms.txt
Use this file to discover all available pages before exploring further.
What you’ll need
- Basic knowledge of The Graph and subgraphs.
- Your subgraph project files
- The Graph CLI installed
- A Mobula API key (for authentication)
Walkthrough
Prepare Your Subgraph
Configure your subgraph for Zora. Adjust your
subgraph.yaml file to reference Zora’s specific contracts and events. If you don’t have a subgraph yet, you can clone the Uniswap V2 subgraph template and tailor it for Zora:Authenticate
When requested, input your Mobula API key for authentication. Check the authentication section for detailed instructions on obtaining and using your API key.
Best Practices
- Ensure your subgraph is consistently updated to stay compatible with the latest Zora network changes.
- Perform thorough testing on a testnet before deploying to the mainnet.
- Regularly monitor its performance and optimize queries for improved efficiency.
Troubleshooting
If you face issues during deployment:- Review your
subgraph.yamlfile carefully. - Ensure the network name and Mobula node URLs are correct.
- Check that your API key is valid and has the appropriate permissions.
Support
Telegram
Support
Slack
Support
Discord
Email Support
Email