Skip to content
This repository was archived by the owner on Jul 3, 2024. It is now read-only.
nftstoragePublic archive

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

 
 

Repository files navigation

Install

npm i -D eip721-subgraph

use

install subgraph-deploy

npm i -D subgraph-deploy

in your package.json you can add a script to deploy that subgraph in your running graph-node

{
  "scripts": {
    "deploy:eip721-subgraph": "subgraph-deploy -s nftstorage/eip721-subgraph -f eip721-subgraph -i http://localhost:5001/api -g http://localhost:8020"
  }
}

example graphQL query

{
  tokens {
    contract
    tokenID
    owner
    tokenURI
  }
}

or

{
  tokens(orderBy: mintTime) {
    contract
    tokenID
    owner
    tokenURI
    mintTime
  }
  
  tokenContracts {
    id
  }
}

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages