diff --git a/spot-staking-subgraph/README.md b/spot-staking-subgraph/README.md index 6bb96bd6..8645e7dc 100644 --- a/spot-staking-subgraph/README.md +++ b/spot-staking-subgraph/README.md @@ -1,13 +1,15 @@ # spot-staking-subgraph -Ancillary subgraphs to keep track of spot staking. +Ancillary subgraphs to keep track of spot staking. +You should have your own Goldsky API key to use with the Goldsky CLI. +Note you must set the (new) version to deploy to, and then update the tag separately. +``` +goldsky subgraph deploy spot-staking/ --path . ``` -yarn codegen - -yarn build -export GRAPH_AUTH="SET_KEY" -yarn deploy -``` \ No newline at end of file +Once deployed, update the tag that frg-web-api looks for. +``` +goldsky subgraph tag create spot-staking/ --tag prod +```