Skip to content

Commit 53ccace

Browse files
Merge pull request #175 from moleculeprotocol/fix/IP-1245/swap-to-goldsky
IP-1245-alchemy-subgraph-to-goldsky-move
2 parents 7346358 + e1aa5f3 commit 53ccace

File tree

3 files changed

+3
-21
lines changed

3 files changed

+3
-21
lines changed

.env.example

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ PRIVATE_KEY=0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80
1010

1111
#optional:
1212
ALCHEMY_KEY=
13-
THEGRAPH_API_TOKEN=
14-
SATSUMA_DEPLOY_KEY=
1513

1614
#these are deterministic when deployed in that order on a fresh node with hardhat (anvil) seed
1715
IPNFT_ADDRESS=0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512

subgraph/package.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"build:sepolia": "graph codegen && graph build --network sepolia",
99
"build:mainnet": "graph codegen && graph build --network mainnet",
1010
"deploy:local": "graph deploy --node http://localhost:8020/ --ipfs http://localhost:5001 moleculeprotocol/ipnft-subgraph",
11-
"deploy:sepolia": "env-cmd -x -f ../.env graph deploy ip-nft-sepolia --version-label 1.3.2 --node https://subgraphs.alchemy.com/api/subgraphs/deploy --ipfs https://ipfs.satsuma.xyz --deploy-key \\$SATSUMA_DEPLOY_KEY",
12-
"deploy:mainnet": "env-cmd -x -f ../.env graph deploy ip-nft-mainnet --version-label 1.3.2 --node https://subgraphs.alchemy.com/api/subgraphs/deploy --ipfs https://ipfs.satsuma.xyz --deploy-key \\$SATSUMA_DEPLOY_KEY",
11+
"deploy:sepolia": "goldsky subgraph deploy ip-nft-sepolia/1.3.2 --ipfs-gateway https://ipfs.satsuma.xyz",
12+
"deploy:mainnet": "goldsky subgraph deploy ip-nft-mainnet/1.3.2 --ipfs-gateway https://ipfs.satsuma.xyz",
1313
"create:local": "graph create --node http://localhost:8020/ moleculeprotocol/ipnft-subgraph",
1414
"remove:local": "graph remove --node http://localhost:8020/ moleculeprotocol/ipnft-subgraph",
1515
"test": "graph test"
@@ -19,8 +19,5 @@
1919
"@graphprotocol/graph-ts": "^0.35.1",
2020
"dotenv": "^16.0.3",
2121
"matchstick-as": "0.5.2"
22-
},
23-
"devDependencies": {
24-
"env-cmd": "^10.1.0"
2522
}
2623
}

subgraph/yarn.lock

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1182,11 +1182,6 @@ commander@^2.20.3:
11821182
resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33"
11831183
integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==
11841184

1185-
commander@^4.0.0:
1186-
version "4.1.1"
1187-
resolved "https://registry.yarnpkg.com/commander/-/commander-4.1.1.tgz#9fd602bd936294e9e9ef46a3f4d6964044b18068"
1188-
integrity sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==
1189-
11901185
11911186
version "0.0.1"
11921187
resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
@@ -1246,7 +1241,7 @@ create-require@^1.1.0:
12461241
resolved "https://registry.yarnpkg.com/create-require/-/create-require-1.1.1.tgz#c1d7e8f1e5f6cfc9ff65f9cd352d37348756c333"
12471242
integrity sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==
12481243

1249-
[email protected], cross-spawn@^7.0.0, cross-spawn@^7.0.3:
1244+
[email protected], cross-spawn@^7.0.3:
12501245
version "7.0.3"
12511246
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6"
12521247
integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==
@@ -1414,14 +1409,6 @@ [email protected]:
14141409
dependencies:
14151410
ansi-colors "^4.1.1"
14161411

1417-
env-cmd@^10.1.0:
1418-
version "10.1.0"
1419-
resolved "https://registry.yarnpkg.com/env-cmd/-/env-cmd-10.1.0.tgz#c7f5d3b550c9519f137fdac4dd8fb6866a8c8c4b"
1420-
integrity sha512-mMdWTT9XKN7yNth/6N6g2GuKuJTsKMDHlQFUDacb/heQRRWOTIZ42t1rMHnQu4jYxU1ajdTeJM+9eEETlqToMA==
1421-
dependencies:
1422-
commander "^4.0.0"
1423-
cross-spawn "^7.0.0"
1424-
14251412
err-code@^3.0.1:
14261413
version "3.0.1"
14271414
resolved "https://registry.yarnpkg.com/err-code/-/err-code-3.0.1.tgz#a444c7b992705f2b120ee320b09972eef331c920"

0 commit comments

Comments
 (0)