This package runs two processors on Subsquid archive nodes which indexes any Grapes NFT transfers and Token Seeder withdraws. It will run a GraphQL server you can query.
The data.json
file is a file with data returned by this query:
query TransfersAndWithdraws {
ticketsBoughts {
wallet
}
transfers {
to
}
withdraws {
amount
bonusAmount
investor
}
}
The npm test
script will output analyzed data from analysis.js
.
With current source code in place the only things you should need to do are:
npm run build
npm start
Roughly follow the steps outlined on Subsquid's docs page "Indexer from Scratch"