eip721-subgraph

0.1.10 • Public • Published

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 wighawag/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
  }
}

Readme

Keywords

none

Package Sidebar

Install

npm i eip721-subgraph

Weekly Downloads

0

Version

0.1.10

License

AGPL-3.0-only

Unpacked Size

87 kB

Total Files

14

Last publish

Collaborators

  • wighawag