Original README.md is moved to: README.
cd docker
docker compose up
build from srouce step by step
An example is developed at: http://103.101.129.136:8000/subgraphs/name/gzliudan/bad-token-subgraph-apothem, you can use below query command:
{
erc20Contracts(first: 5) {
id
name
symbol
decimals
totalSupply {
value
valueExact
}
}
blackLists(first: 5) {
id
members {
account {
id
}
}
}
accounts(first: 5) {
id
isErc20
blackLists {
id
}
Erc20balances {
id
value
valueExact
}
}
}
This example is deployed on subgraph hosted service also: https://thegraph.com/hosted-service/subgraph/gzliudan/bad-token-mumbai.