Skip to content

Commit d196bb2

Browse files
Merge pull request #158 from moleculeprotocol/feature/ipn-8-migrate-ipnft-subgraphs-to-satsuma
IPN-8 migrate ipnft subgraphs to satsuma
2 parents ae71cec + e056b73 commit d196bb2

File tree

4 files changed

+10
-11
lines changed

4 files changed

+10
-11
lines changed

.github/workflows/test.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ jobs:
1616

1717
- name: Install Foundry
1818
uses: foundry-rs/foundry-toolchain@v1
19-
with:
20-
version: nightly-a117fbfa41edbaa1618ed099d78d65727bff4790
2119

2220
- name: Use Node.js 20
2321
uses: actions/setup-node@v4

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ IP-NFTs allow their users to tokenize intellectual property. This repo contains
1818

1919
#### Subgraph
2020

21-
API: https://api.thegraph.com/subgraphs/name/moleculeprotocol/ip-nft-mainnet
22-
Playground: https://api.thegraph.com/subgraphs/name/moleculeprotocol/ip-nft-mainnet/graphql
21+
API: https://subgraph.satsuma-prod.com/742d8952ab24/molecule--4039244/ip-nft-mainnet/api
22+
Playground: https://subgraph.satsuma-prod.com/molecule--4039244/ip-nft-mainnet/playground
2323

2424
tokenizer implementation 1.2: 0xE8701330F196FeFe415b28dAA767AB076F42557A
2525
tokenizer implementation 1.1: 0x9C70FA8c87D7e94Fd63eeCCcA657D5c4224a36f3
@@ -28,7 +28,7 @@ ipnft implementation 2.4: 0x6B179Dffac5E190c670176606f552cB792847f80
2828

2929
#### Defender Relayer
3030

31-
signs off minting requests from our side: 0x3D30452c48F2448764d5819a9A2b684Ae2CC5AcF
31+
Deprecated after migrating to Defender 2 (was 0x3D30452c48F2448764d5819a9A2b684Ae2CC5AcF). We're using a key signoff with 0x8626c6293B5101E5E534B5B60F411a37294D8cBE.
3232

3333
---
3434

@@ -46,14 +46,14 @@ signs off minting requests from our side: 0x3D30452c48F2448764d5819a9A2b684Ae2CC
4646

4747
#### Subgraphs
4848

49-
on Satsuma, Tech Account
49+
on Satsuma, Techprod Account
5050

51-
API: https://subgraph.satsuma-prod.com/techs-team--4017766/moleculexyz-ipnft-sepolia/version/v0.0.1/api
52-
Playground: https://subgraph.satsuma-prod.com/techs-team--4017766/moleculexyz-ipnft-sepolia/playground
51+
API: https://subgraph.satsuma-prod.com/742d8952ab24/molecule--4039244/ip-nft-sepolia/api
52+
Playground: https://subgraph.satsuma-prod.com/molecule--4039244/ip-nft-sepolia/playground
5353

5454
#### Defender Relayer
5555

56-
signs off minting requests from our side: 0xd7B298c9fB0377124d01D4E826d9D5beFB7CD6FE
56+
Deprecated after migrating to Defender 2 (was 0xd7B298c9fB0377124d01D4E826d9D5beFB7CD6FE). We're using a key signoff with 0x8626c6293B5101E5E534B5B60F411a37294D8cBE.
5757

5858
#### Tokens
5959

periphery/dune/cumulative_bids.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ FROM
66
LEFT JOIN ipnft_{{chain}}.StakedLockingCrowdSale_evt_Bid
77
AS previous_bids
88
ON previous_bids.evt_block_time <= bids.evt_block_time
9+
AND previous_bids.saleId = cast('{{saleId}}' as uint256)
910
WHERE
1011
bids.saleId = cast('{{saleId}}' as uint256)
1112
GROUP BY

subgraph/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"prepare:local": "mustache config/local.js subgraph.template.yaml > subgraph.yaml",
99
"prepare:sepolia": "mustache config/sepolia.js subgraph.template.yaml > subgraph.yaml",
1010
"prepare:mainnet": "mustache config/mainnet.js subgraph.template.yaml > subgraph.yaml",
11-
"deploy:sepolia": "env-cmd -x -f ../.env graph deploy moleculexyz-ipnft-sepolia --version-label v0.0.1 --node https://subgraphs.alchemy.com/api/subgraphs/deploy --ipfs https://ipfs.satsuma.xyz --deploy-key \\$SATSUMA_DEPLOY_KEY",
12-
"deploy": "graph deploy --product hosted-service moleculeprotocol/ip-nft-mainnet",
11+
"deploy:sepolia": "env-cmd -x -f ../.env graph deploy ip-nft-sepolia --version-label 1.0.0 --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.0.0 --node https://subgraphs.alchemy.com/api/subgraphs/deploy --ipfs https://ipfs.satsuma.xyz --deploy-key \\$SATSUMA_DEPLOY_KEY",
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
"deploy:local": "graph deploy --node http://localhost:8020/ --ipfs http://localhost:5001 moleculeprotocol/ipnft-subgraph",

0 commit comments

Comments
 (0)