Skip to content

Commit

Permalink
feat: Sepolia (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
fzavalia authored Aug 3, 2023
1 parent e8bd9c0 commit 1862c77
Show file tree
Hide file tree
Showing 7 changed files with 10,687 additions and 3,044 deletions.
28 changes: 16 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
# Decentraland collections graph

|Network|URL|Current|Previous|
|-|-|-|-|
|Mainnet (Satsuma)|https://subgraph.satsuma-prod.com/decentraland/collections-ethereum-mainnet/playground|QmcyYqqmE3egvtZReHk1aVxmZawxRSECuj1PcZLgMVzHSp|QmbzvX1C9aBbb1Z2nJc99JcmgmWmURQ9mPvjZV6Zb4gcx2|
|Mainnet (Hosted Services)|https://thegraph.com/explorer/subgraph/decentraland/collections-ethereum-mainnet|QmP2EQebbD9W8AaphRTzNUL7NLdMH8FdqNNWtqUiNg2VkB|QmPjcwU1HSxWAf9sMyAag6NGSYxP2Y2U2PAx4sPg15mmJZ|
|Goerli (Satsuma)|https://thegraph.com/explorer/subgraph/decentraland/collections-ethereum-goerli|QmUvtxgRKdFf1zcZZLrJ5nZ6HyoUYKPtByGQigP4rHxwSj|QmSSzDJBxX7Kj4EqszCUw3AHiznkt5W1fJEpLhiTsVdaqN|
|Goerli (Hosted Services)|https://thegraph.com/explorer/subgraph/decentraland/collections-ethereum-goerli|QmUvtxgRKdFf1zcZZLrJ5nZ6HyoUYKPtByGQigP4rHxwSj|QmTNQHzovP1WLp1zBmJvU72uRpHhmzeHe1wb1hwysaXx6F|
|Matic (Satsuma)|https://subgraph.satsuma-prod.com/decentraland/collections-matic-mainnet/playground|QmdavX3eGWLYCjjzYAZv924hyoLv8f9Rg6FxHD7kAJ4fXn|Qmf1ouGZcxBegEWodVy5fjFYFgQaB7wzw7j5rHwLcKeSXB|
|Matic (Hosted Services)|https://thegraph.com/explorer/subgraph/decentraland/collections-matic-mainnet|QmXEwSeNTT5xHRQPcTUDQJayjjfhcbaxYf2o7ycuYf8YF7|Qmf3igvJs24gozdwCwnDyPNz9DEBQMPQRFmEhUzEvgxZSq|
|Matic Temp (Hosted Services)|https://thegraph.com/explorer/subgraph/decentraland/collections-matic-mainnet-temp|Qmf3igvJs24gozdwCwnDyPNz9DEBQMPQRFmEhUzEvgxZSq|QmXyrt3tNkrnDRopnMdY7Na9y8jbKi1645gbR4cJTURbk5|
|Mumbai (Satsuma)|https://subgraph.satsuma-prod.com/decentraland/collections-matic-mumbai/playground|QmRpCReFLwhB4tATJhur1MEjsPY1Rgo2yVrd5oinnjCrAy|QmY4hQRkXCtKRGP3aCYn4ES8kv1MmeHfov5gSK4EvTbzwz|
|Mumbai (Hosted Service)|https://thegraph.com/explorer/subgraph/decentraland/collections-matic-mumbai|QmegTREYw1Li3DYMAcCVJDcoBuquoCFKDUCzxrxyGhWwUW|QmdwRWh1FeGi3bJFYkD1Hu8w2uHvAHzJqbdCtszymfoqDS|
| Network | Provider | URL | Current | Previous |
| ---------- | --------------- | --------------------------------------------------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- |
| Mainnet | Satsuma | https://subgraph.satsuma-prod.com/decentraland/collections-ethereum-mainnet/playground | QmcyYqqmE3egvtZReHk1aVxmZawxRSECuj1PcZLgMVzHSp | QmbzvX1C9aBbb1Z2nJc99JcmgmWmURQ9mPvjZV6Zb4gcx2 |
| Mainnet | Hosted Services | https://thegraph.com/explorer/subgraph/decentraland/collections-ethereum-mainnet | QmP2EQebbD9W8AaphRTzNUL7NLdMH8FdqNNWtqUiNg2VkB | QmPjcwU1HSxWAf9sMyAag6NGSYxP2Y2U2PAx4sPg15mmJZ |
| Sepolia | Satsuma | https://subgraph.satsuma-prod.com/decentraland/collections-ethereum-sepolia/playground | QmWQZiMSV5AnUPN34NFmAYtxGntxewMUUwuS9r5vBpc5Ys | - |
| Sepolia | Graph Studio | https://api.studio.thegraph.com/query/49472/collections-ethereum-sepolia/version/latest | QmWQZiMSV5AnUPN34NFmAYtxGntxewMUUwuS9r5vBpc5Ys | - |
| Goerli | Satsuma | https://subgraph.satsuma-prod.com/decentraland/collections-ethereum-goerli/playground | QmUvtxgRKdFf1zcZZLrJ5nZ6HyoUYKPtByGQigP4rHxwSj | QmSSzDJBxX7Kj4EqszCUw3AHiznkt5W1fJEpLhiTsVdaqN |
| Goerli | Hosted Services | https://thegraph.com/explorer/subgraph/decentraland/collections-ethereum-goerli | QmUvtxgRKdFf1zcZZLrJ5nZ6HyoUYKPtByGQigP4rHxwSj | QmTNQHzovP1WLp1zBmJvU72uRpHhmzeHe1wb1hwysaXx6F |
| Matic | Satsuma | https://subgraph.satsuma-prod.com/decentraland/collections-matic-mainnet/playground | QmdavX3eGWLYCjjzYAZv924hyoLv8f9Rg6FxHD7kAJ4fXn | Qmf1ouGZcxBegEWodVy5fjFYFgQaB7wzw7j5rHwLcKeSXB |
| Matic | Hosted Services | https://thegraph.com/explorer/subgraph/decentraland/collections-matic-mainnet | QmXEwSeNTT5xHRQPcTUDQJayjjfhcbaxYf2o7ycuYf8YF7 | Qmf3igvJs24gozdwCwnDyPNz9DEBQMPQRFmEhUzEvgxZSq |
| Matic Temp | Hosted Services | https://thegraph.com/explorer/subgraph/decentraland/collections-matic-mainnet-temp | Qmf3igvJs24gozdwCwnDyPNz9DEBQMPQRFmEhUzEvgxZSq | QmXyrt3tNkrnDRopnMdY7Na9y8jbKi1645gbR4cJTURbk5 |
| Mumbai | Satsuma | https://subgraph.satsuma-prod.com/decentraland/collections-matic-mumbai/playground | QmRpCReFLwhB4tATJhur1MEjsPY1Rgo2yVrd5oinnjCrAy | QmY4hQRkXCtKRGP3aCYn4ES8kv1MmeHfov5gSK4EvTbzwz |
| Mumbai | Hosted Service | https://thegraph.com/explorer/subgraph/decentraland/collections-matic-mumbai | QmegTREYw1Li3DYMAcCVJDcoBuquoCFKDUCzxrxyGhWwUW | QmdwRWh1FeGi3bJFYkD1Hu8w2uHvAHzJqbdCtszymfoqDS |

Using [The Graph](https://thegraph.com) and [Satsuma](https://www.satsuma.xyz/)

Expand All @@ -28,7 +30,8 @@ Tests are defined inside the `./tests` directory and executed using:
npm test
```

> **Take into consideration:**
> **Take into consideration:**
>
>`Postgres 14` is required to run tests locally because `graph-node`, the underlying engine to index the subgraph, needs it.
An alternative to run tests locally without installing Postgres is through `Docker. To run them, use the following command:
Expand All @@ -38,6 +41,7 @@ npm run test:docker
```

> **CI Notice:**
>
> Tests are run on the CI using `npm test` because the `ubuntu-latest` image used in the CI contains Postgres 14.
More about how to write subgraph tests can be found on the [graph's unit testing documentation](https://thegraph.com/docs/en/developing/unit-testing-framework/).
Expand Down
27 changes: 27 additions & 0 deletions config/sepolia.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"network": "sepolia",
"address_fist_collection_v1": "0x11a970e744ff69db8f461c2d0fc91d4293914301",
"startBock_first_collections_v1": 3843982,
"address_marketplace": "0xccf0c17da6cd68041b1bf0f7e015767242077d8c",
"startBlock_marketplace": 3831225,
"address_factory": "0x0000000000000000000000000000000000000000",
"startBlock_factory": 3831225,
"address_factory_v3": "0x0000000000000000000000000000000000000000",
"startBlock_factory_v3": 3831225,
"address_old_committee": "0x0000000000000000000000000000000000000000",
"startBlock_old_committee": 3831225,
"address_committee": "0x0000000000000000000000000000000000000000",
"startBlock_committee": 3831225,
"address_marketplace_V2": "0x0000000000000000000000000000000000000000",
"startBlock_marketplace_V2": 3831225,
"address_bid": "0x0000000000000000000000000000000000000000",
"startBlock_bid": 3831225,
"address_bid_v2": "0x0000000000000000000000000000000000000000",
"startBlock_bid_v2": 3831225,
"address_rarity": "0x0000000000000000000000000000000000000000",
"startBlock_rarity": 3831225,
"address_rarities_with_oracle": "0x0000000000000000000000000000000000000000",
"startBlock_rarities_with_oracle": 3831225,
"address_collection_manager": "0x0000000000000000000000000000000000000000",
"startBlock_collection_manager": 3831225
}
Loading

0 comments on commit 1862c77

Please sign in to comment.