@unirep/subgraph
The subgraph is used to query data from Unirep smart contract.
๐ฝ Compile
๐ผ Deploy
To deploy, you'll need your auth token from thegraph dashboard.
graph auth --product hosted-service <AUTH_TOKEN_HERE>Then run
๐ป Demo
The subgraph is presently deployed here.
This query
{
userEntities(first: 5) {
id
createdAt
identityCommitment
attesterId
}
reputationEntities(first: 5) {
id
createdAt
posRep
negRep
}
}will return this as result
๐ฏ Contributing
Contributions are always welcome! See CONTRIBUTING.md for ways to get started.
Please adhere to this Unirep's code of conduct.
Last updated
Was this helpful?