ensure you have a node running on 8545 with contract deployed to it
setup a graph-node
git clone https://github.com/graphprotocol/graph-node/
cd graph-node/docker
docker-compose up
make sure you are in the subgraph folder, then
yarn
then generate code for graph
yarn codegen-graph
create graph
yarn create-local-graph
deploy graph
yarn deploy-local-graph
{
landSaleStats {
id
totalETHSpent
totalDAISpent
numDAIPurchases
numETHPurchases
numLandsFromDAIPurchase
numLandsFromETHPurchase
numUniquePurchaser
numUniqueReceiver
numNewUniquePurchaser
numNewUniqueReceiver
num1x1Purchases
num3x3Purchases
num6x6Purchases
num12x12Purchases
num24x24Purchases
}
}