pezkuwichain 676f2f7474 fix(noter): use the public endpoints and fail loudly when scans stop (#1)
The bot pointed at the block-producing nodes' RPC ports. Those bind to
localhost, so once they stopped being exposed to the internet the bot lost
every chain at once and has submitted nothing since. `staking_score` gates
the entire trust score, so a noter that cannot reach the chains does not
degrade the score — it zeroes it for every tracked account.

Point it at the public endpoints instead, which is what an external client
should use and what the code already defaulted to. They are TLS-terminated
rather than plaintext ws:// across the internet, and this drops a hardcoded
node address from the repository.

Reaching the chains again is not enough on its own: the outage lasted three
weeks because reconnecting forever looks identical to working. The bot now
writes a heartbeat when a scan *completes*, a container healthcheck reads it,
and a watchdog exits once it goes stale so the restart policy turns a silent
stall into a visibly crash-looping container.
2026-08-05 12:45:25 -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%