Wolf Pack is a token based gig economy that provides an accessible labor market, identification, work history, personalized wallet, wage theft protection, and financial empowerment to the homeless.
This subgraph tracks all employers, workers, vendors profile information along with various jobs created by them and also different food items created by vendors. Subgraph is deployed here https://thegraph.com/explorer/subgraph/nanspro/wolf-pack, you can run queries there and also use the apis in your dapp.
yarn install
yarn codegen
yarn deploy
The subgraph can be queried using graphQL queries and the endpoint for that is https://api.thegraph.com/subgraphs/name/nanspro/wolf-pack.
The following entities are present in this subgraph, below are few example queries that can be made on them
Employer
You can query our subgraph to obtain list of all employers on wolf pack.
{
employers(first: 5) {
id
name
city
state
account
}
}
id
: id of that employername
: Name of the employercity
: City of the employerstate
: State of the employeraccount
: Ethereum address of the employer
Worker
You can query our subgraph to obtain list of all workers on wolf pack.
{
workers(first: 5) {
id
name
account
}
}
id
: id of that workername
: Name of the workeraccount
: Ethereum address of the worker
Food
You can query our subgraph to obtain list of all food items present on our graph.
{
foods(first: 5) {
id
description
price
vendor
vendorAccount
}
}
id
: IDdescription
: description of the food itemprice
: price per unit of the itemvendor
: vendor's namevendoAccount
: vendor's ethereum address