Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add graph publish command #1650

Closed
azf20 opened this issue May 7, 2024 · 0 comments · Fixed by #1670
Closed

add graph publish command #1650

azf20 opened this issue May 7, 2024 · 0 comments · Fixed by #1670

Comments

@azf20
Copy link
Contributor

azf20 commented May 7, 2024

Publish a subgraph directly to The Graph Network from graph-cli

graph publish --subgraph subgraph.yaml --metadata metadata.json --account <MNEMONIC> --signal <GRT_AMOUNT> --publishNetwork arbitrum-one

Steps:

  1. Upload metadata image to IPFS
  2. Upload metadata file to IPFS
  3. Upload subgraph to IPFS
  4. Create, sign and broadcast Publish transaction
  • Indicate progress
  • Log failures
  • On success - return transaction hash and Explorer link for published subgraph
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant