mirror of
https://github.com/pezkuwichain/pezkuwi-subquery.git
synced 2026-04-21 23:37:56 +00:00
45784e11960c04ca38cb00a4b3bd30d6a2a5d28d
When SubQuery restarts and the last processed block's state has been pruned by the RPC node, fetchEventsRange would crash the indexer in a loop. Now returns empty events for pruned blocks so the indexer can skip forward gracefully.
Pezkuwi SubQuery
SubQuery indexer for Pezkuwi blockchain - provides staking rewards, NominationPools, transfers and era validator data for PezWallet.
Projects
- pezkuwi.yaml - Pezkuwi Relay Chain staking indexer
- pezkuwi-assethub.yaml - Pezkuwi Asset Hub NominationPools and transfers indexer
Features
- Staking rewards (Reward/Rewarded events)
- Nomination Pool rewards (PaidOut events)
- Slashing events (Slash/Slashed, PoolSlashed, UnbondingPoolSlashed)
- Native transfers (balances.Transfer)
- Asset transfers (assets.Transferred) - Asset Hub only
- Era validator information (StakersElected/StakingElection)
- Full transaction history (signed extrinsics)
Get Started
Install dependencies
yarn install
Build
yarn build
Local Development
sh local-runner.sh pezkuwi.yaml
Deploy to SubQuery Network
./node_modules/.bin/subql publish -f pezkuwi.yaml
./node_modules/.bin/subql publish -f pezkuwi-assethub.yaml
Endpoints
- Pezkuwi Relay: wss://rpc.pezkuwichain.io
- Pezkuwi Asset Hub: wss://asset-hub-rpc.pezkuwichain.io
License
Apache 2.0 - Based on Nova SubQuery implementation
Description
Languages
TypeScript
55.4%
JavaScript
23.6%
Python
16.4%
Shell
4.2%
Dockerfile
0.4%