Skip to content

Commit

Permalink
Update GraphQL endpoints (#398)
Browse files Browse the repository at this point in the history
  • Loading branch information
kingsleydon authored Feb 28, 2024
1 parent 6d3ad10 commit ad6d69e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions apps/analytics/src/lib/graphql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ export const phatSquidClient = new GraphQLClient(
)

export const phalaSquidClient = new GraphQLClient(
'https://subsquid.phala.network/phala-computation-next/graphql',
'https://subsquid.phala.network/phala-computation/graphql',
)

export const khalaSquidClient = new GraphQLClient(
'https://subsquid.phala.network/khala-computation-next/graphql',
'https://subsquid.phala.network/khala-computation/graphql',
)
4 changes: 2 additions & 2 deletions apps/app/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ export const KHALA_ENDPOINTS = [
'wss://khala.api.onfinality.io/public-ws',
]
export const KHALA_SUBSQUID_URL =
'https://subsquid.phala.network/khala-computation-next/graphql'
'https://subsquid.phala.network/khala-computation/graphql'
export const khalaSubsquidClient = new GraphQLClient(KHALA_SUBSQUID_URL)
export const PHALA_ENDPOINTS = [
'wss://phala-rpc.dwellir.com',
'wss://api.phala.network/ws',
'wss://phala.api.onfinality.io/public-ws',
]
export const PHALA_SUBSQUID_URL =
'https://subsquid.phala.network/phala-computation-next/graphql'
'https://subsquid.phala.network/phala-computation/graphql'
export const phalaSubsquidClient = new GraphQLClient(PHALA_SUBSQUID_URL)
export const WPHA_ASSET_ID = 10000

0 comments on commit ad6d69e

Please sign in to comment.