From 427e4f91b1696210c4f9d0c6db1a23ef4cd2552f Mon Sep 17 00:00:00 2001 From: nms-7 <57442379+nms-7@users.noreply.github.com> Date: Sun, 16 Nov 2025 08:45:57 -0500 Subject: [PATCH 1/2] Update README.md --- subgraph/README.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/subgraph/README.md b/subgraph/README.md index e901d00..3e3b3e8 100644 --- a/subgraph/README.md +++ b/subgraph/README.md @@ -4,7 +4,7 @@ The Graph is a tool for for indexing events emitted on the Ethereum blockchain. ``` Public graphql endpoint: -https://api.thegraph.com/subgraphs/name/aalavandhan/ampleforth +https://api.goldsky.com/api/public/project_cmgzjl03n004g5np20v5j3qpx/subgraphs/ampleforth-core/prod/gn ``` ## Getting started @@ -34,6 +34,9 @@ To build and deploy the subgraph to the graph hosted service: ./scripts/deploy.sh goerli ampleforth-core-goerli # production deployment -./scripts/deploy.sh mainnet ampleforth-core -./scripts/deploy.sh avalanche ampleforth-core-avalanche -``` \ No newline at end of file +./scripts/deploy.sh mainnet ampleforth-core +./scripts/deploy.sh avalanche ampleforth-core-avalanche +# once deployed, update the tag that frg-web-api looks for. +goldsky subgraph tag create ampleforth-core/ --tag prod +``` +``` From 27ad0547dce53a4c2438e01e9af7b93959b2e500 Mon Sep 17 00:00:00 2001 From: nms-7 <57442379+nms-7@users.noreply.github.com> Date: Sun, 16 Nov 2025 08:46:36 -0500 Subject: [PATCH 2/2] Update deploy.sh --- subgraph/scripts/deploy.sh | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/subgraph/scripts/deploy.sh b/subgraph/scripts/deploy.sh index 696b785..c974fc2 100755 --- a/subgraph/scripts/deploy.sh +++ b/subgraph/scripts/deploy.sh @@ -3,12 +3,4 @@ set -e yarn mustache ./configs/$1.json subgraph.template.yaml > ./subgraph.yaml -yarn codegen - -yarn build - -yarn graph deploy $2 \ - --node https://subgraphs.alchemy.com/api/subgraphs/deploy \ - --deploy-key $GRAPH_AUTH \ - --ipfs https://ipfs.satsuma.xyz - \ No newline at end of file +goldsky subgraph deploy $2/$3 --path .