forked from jamesbayly/algorand-planet-watch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.yaml
31 lines (31 loc) · 1.09 KB
/
project.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
specVersion: 1.0.0
name: algorand-planet-watch
version: 1.0.0
runner:
node:
name: "@subql/node-algorand"
version: ">=1.0.0"
query:
name: "@subql/query"
version: "*"
description: >-
This project is a quick start guide for developing your Algorand SubQuery project, it indexes Algorand PlanetWatch token transfers
repository: "https://github.com/jamesbayly/algorand-planet-watch"
schema:
file: ./schema.graphql
network:
chainId: "SGO1GKSzyE7IEPItTxCByw9x8FmnrCDexi9/cOUJOiI="
# Must be a non-pruned archive node
endpoint: "https://algoindexer.testnet.algoexplorerapi.io"
dataSources:
- kind: algorand/Runtime
startBlock: 8712119 # Block that planet was created on https://algoexplorer.io/tx/G66KX3TLKXUI547DFB4MNVY7SJVADOJKGP4SWMRC632GFHSFX5KQ
mapping:
file: ./dist/index.js
handlers:
- handler: handleTransaction
kind: algorand/TransactionHandler
filter:
# payments from the Planet Watch Address for the PLANET asset
assetId: 27165954
sender: "ZW3ISEHZUHPO7OZGMKLKIIMKVICOUDRCERI454I3DB2BH52HGLSO67W754"