Initial commit: Pezkuwi SubQuery indexer

- pezkuwi.yaml: Relay chain staking indexer (rewards, slashes, pools, transfers, era info)
- pezkuwi-assethub.yaml: Asset Hub indexer (NominationPools, asset transfers)
- GraphQL schema for staking data entities
- Handler mappings from Nova SubQuery base
This commit is contained in:
2026-02-12 23:55:13 +03:00
commit 0812cf9e7a
38 changed files with 16433 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
#!/bin/bash
# Get a list of YAML files in alphabetical order
yamlFiles=($(ls ../*.yaml | sort))
for file in "${yamlFiles[@]}"; do
outputFileName=".$(basename "$file" .yaml)-cid"
# Execute subql publish command
subql codegen -f "$file" && subql publish -f "$file"
# Move or create the output file in the ipfs-cids folder
mv "../$outputFileName" "../ipfs-cids/$outputFileName"
echo "Command executed for $file. Output file: $outputFileName"
done
echo "All project published successfully."