pezkuwichain 164a9b4920 fix(noter): use the fs import instead of require in the heartbeat helpers (#3)
This module is ESM, so `require` is not defined at runtime. `node --check`
only parses, so it passed while both helpers would have thrown: the write
was swallowed by its catch, and the read fell through to `Infinity`, which
the watchdog reads as a permanently stale heartbeat — it would have exited
the process a minute after every scan and left the bot restarting in a loop.

`fs` is already imported at the top of the file; use it.
2026-08-05 14:16:26 -07:00

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

S
Description
No description provided
Readme Apache-2.0 6.6 MiB
Languages
TypeScript 52.3%
JavaScript 27.9%
Python 15.5%
Shell 3.9%
Dockerfile 0.4%