Repo for The Graph containing Dap.ps data
Go to file
Andy Tudhope 9be7a47cf9
Merge pull request #4 from dap-ps/fix/minimist-vuln
Fixes minimist security vuln by bumping to 1.2.2
2020-03-19 10:19:03 +02:00
abis initial setup 2020-02-14 14:05:25 +02:00
generated initial setup 2020-02-14 14:05:25 +02:00
src handling legacy hashes 2020-03-16 18:00:42 +01:00
.gitignore initial setup 2020-02-14 14:05:25 +02:00
README.md handling legacy hashes 2020-03-16 18:00:42 +01:00
package.json Initial commit 2020-02-14 13:05:08 +02:00
schema.graphql handling legacy hashes 2020-03-16 18:00:42 +01:00
subgraph.yaml initial setup 2020-02-14 14:05:25 +02:00
yarn.lock Fixes minimist security vuln by bumping to 1.2.2 2020-03-19 10:17:58 +02:00

README.md

discover

A subgraph for dapps which are put on https://dap.ps to be curated by community. Currently hosted at https://thegraph.com/explorer/subgraph/nanspro/discover

Installation

yarn install
yarn codegen
yarn deploy

Example Query

Get metadata of latest 5 dapps

{
  dappMetas(first: 5) {
    id
    ipfsHash
    hash
    status
    details {
      id
      name
      description
      url
      uploader
      image
      category
      dateAdded
    }
  }
}

Get first 10 dapps

{
dappMetas(first: 10) {
    id
    ipfsHash
    hash
    details {
      id
    }
  }
}

Get first 10 dapp's details (not all just few like name, uploader, id)

{
details(first: 5) {
	 id
	 identifier {
	   id
	 }
	 name
	 uploader
  }
}