https://github.com/rtomas/rekt-dogs-subgraph
Subgraph for Rekt dogs NFT Collection
https://github.com/rtomas/rekt-dogs-subgraph
subgraph thegraph typescript
Last synced: 10 months ago
JSON representation
Subgraph for Rekt dogs NFT Collection
- Host: GitHub
- URL: https://github.com/rtomas/rekt-dogs-subgraph
- Owner: rtomas
- Created: 2023-08-10T21:01:33.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-12T01:38:57.000Z (almost 3 years ago)
- Last Synced: 2025-02-12T23:48:33.399Z (over 1 year ago)
- Topics: subgraph, thegraph, typescript
- Language: TypeScript
- Homepage: https://thegraph.com/hosted-service/subgraph/rtomas/rekt-dogs
- Size: 101 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rekt dogs subgraph
This subgraph provide an standard erc-721 implementation deployed into Polygon.
**Link to the hosted service subgraph :**
https://thegraph.com/hosted-service/subgraph/rtomas/rekt-dogs
**query the subgraph :**
https://api.thegraph.com/subgraphs/name/rtomas/rekt-dogs/graphql?query=query+Info+%7B%0A++dogsInfos%28first%3A+1%29+%7B%0A++++numTokens%0A++++numOwners%0A++++numAccounts%0A++%7D%0A%7D
---
**Contract from the collection :**
https://polygonscan.com/address/0xace8187b113a38f83bd9c896c6878b175c234dcc
**Link to opensea colection :**
https://opensea.io/collection/rektdogs
---
**Deploy the subgraph**
1. generate code for the types of the schema:
`graph codegen`
2. build the subgraph
`yarn build`
3. authenticate with the graph
`graph auth --product hosted-service `
4. deploy in hosted service
`graph deploy --product hosted-service rtomas/rekt-dogs`