mirror of
https://github.com/pezkuwichain/pezkuwi-subquery.git
synced 2026-04-22 21:48:01 +00:00
0812cf9e7a
- 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
55 lines
1.2 KiB
Markdown
55 lines
1.2 KiB
Markdown
# 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
|
|
|
|
```shell
|
|
yarn install
|
|
```
|
|
|
|
### Build
|
|
|
|
```shell
|
|
yarn build
|
|
```
|
|
|
|
### Local Development
|
|
|
|
```shell
|
|
sh local-runner.sh pezkuwi.yaml
|
|
```
|
|
|
|
### Deploy to SubQuery Network
|
|
|
|
```shell
|
|
./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
|