Deploy The Graph subgraphs with Mobula on any blockchain.
Deploying a subgraph on Mobula is as easy as deployed to The Graph hosted services.
1
Install Mobula CLI
First, install our CLI tool using npm:
Copy
Ask AI
npm i mobula-cli
2
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.
Copy
Ask AI
mob apikey set
3
Deploy your subgraph
Deploy your subgraph using the Mobula CLI:
Copy
Ask AI
mob deploy -n subgraphName
Regarding auth, please read this section.If you’re not familiar to The Graph, please explore their documentation to get started.