Skip to content

Commit

Permalink
add rhala pointed to our own archive
Browse files Browse the repository at this point in the history
  • Loading branch information
Tbaut committed Jul 10, 2023
1 parent bec67a4 commit 9b610fe
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion squid/assets/envs/.env.rhala
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ BLOCK_START=0
PREFIX=30
RPC_WS="wss://rhala-node.phala.network/ws"
ARCHIVE_NAME=""
ARCHIVE_URL="http://localhost:8888/graphql"
ARCHIVE_URL="https://api.multix.chainsafe.io/archive/graphql"
CHAIN_ID='rhala'
10 changes: 10 additions & 0 deletions squid/commands.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,16 @@
"lib/main",
"dotenv_config_path=assets/envs/.env.khala"
]
},
"start-rhala": {
"description": "starts the indexer with rhala",
"cmd": [
"node",
"-r",
"dotenv/config",
"lib/main",
"dotenv_config_path=assets/envs/.env.rhala"
]
}
}
}
2 changes: 2 additions & 0 deletions squid/squid.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ deploy:
cmd: ['sqd', 'start-phala']
- name: khala-processor
cmd: ['sqd', 'start-khala']
- name: rhala-processor
cmd: ['sqd', 'start-rhala']
api:
cmd: ['npx', 'squid-graphql-server', '--subscriptions']
scale:
Expand Down

0 comments on commit 9b610fe

Please sign in to comment.