Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/adding_kreivo #281

Merged
merged 4 commits into from
Jun 10, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ services:

subquery-node:
container_name: "node-${PROJECT_PATH}"
image: onfinality/subql-node:latest
image: onfinality/subql-node:v3.10.1
depends_on:
postgres:
condition: service_healthy
Expand All @@ -33,8 +33,8 @@ services:
command:
- -f=/app/${PROJECT_PATH}
- --disable-historical=true
# - --local #remove
# - --batch-size=50
- --worker=1
- --batch-size=10

graphql-engine:
container_name: "query-${PROJECT_PATH}"
Expand Down
1 change: 1 addition & 0 deletions ipfs-cids/.kreivo-cid
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
QmVmKixXdSfd3QeiSxM5r26vBvBHNiBxZ6zKphFN8gyzYo
51 changes: 51 additions & 0 deletions kreivo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
specVersion: 1.0.0
name: subquery-nova-kreivo
version: 1.0.0
runner:
node:
name: '@subql/node'
version: '*'
query:
name: '@subql/query'
version: v1.5.0
description: Nova SubQuery project
repository: https://github.com/nova-wallet/subquery-nova
schema:
file: ./schema.graphql
network:
chainId: '0xc710a5f16adc17bcd212cff0aedcbf1c1212a043cdc0fb2dcba861efe5305b01'
endpoint: wss://kreivo.io
dataSources:
- name: main
kind: substrate/Runtime
startBlock: 1
mapping:
file: ./dist/index.js
handlers:
- handler: handleHistoryElement
kind: substrate/CallHandler
- handler: handleParachainRewarded
kind: substrate/EventHandler
filter:
module: parachainStaking
method: Rewarded
- handler: handleTransfer
kind: substrate/EventHandler
filter:
module: balances
method: Transfer
- handler: handleAssetTransfer
kind: substrate/EventHandler
filter:
module: assets
method: Transferred
- handler: handleCurrencyTransfer
kind: substrate/EventHandler
filter:
module: currencies
method: Transferred
- handler: handleTokenTransfer
kind: substrate/EventHandler
filter:
module: tokens
method: Transfer
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
"@frequency-chain/api-augment": "1.7.4",
"@peaqnetwork/type-definitions": "0.0.4",
"@polymeshassociation/polymesh-types": "^5.4.1",
"@subql/cli": "^3.3.3",
"@subql/types": "^1.7.2",
"@subql/cli": "^4.12.0",
"@subql/types": "^3.6.0",
"@subsocial/types": "^0.6.8",
"@types/jest": "^29.5.1",
"@zeitgeistpm/type-defs": "^0.8.0",
Expand Down
Loading