mirror of
https://github.com/pezkuwichain/pezkuwi-subquery.git
synced 2026-10-20 18:56:24 +00:00
01a4903337698a90f2fc400d030b2d2a686525d2
@pezkuwi/rpc-provider lists @bizinikiwi/connect as an optional dependency, so npm installed it, with smoldot, into both images. Both are GPL-3.0, and the bots never load them: they reach the chains over WsProvider. The images now install with --omit=optional; with that install both bots load and read the relay, Asset Hub and People chains. The lockfiles still list the packages, so Dependency Review, which denies GPL-3.0, flagged them on the new payout-bot lockfile (the noter's had them before). It allows exactly those three packages, and the bots job fails if an image contains @bizinikiwi or smoldot, so the allowance cannot outlive the reason for it.
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
Languages
TypeScript
49.7%
JavaScript
43.5%
Shell
6%
Dockerfile
0.8%