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 Celo. Adjust your
subgraph.yaml file to reference Celo-specific contracts and events. If you don’t have a subgraph yet, you can clone the Uniswap V2 subgraph template and tailor it for Celo:Setup API Key
Configure your API key with the CLI. You can get your API key from the Dashboard.
Please refer to the authentication section for detailed steps on obtaining your API key.
Best Practices
- Ensure your subgraph is consistently updated to stay compatible with the latest Celo 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