From cdd34f5d704128eb5418557c69146e6c7f80d04b Mon Sep 17 00:00:00 2001 From: John Williams Date: Mon, 26 Aug 2024 10:45:41 -0400 Subject: [PATCH] add explored api sdk to config, for use in future siacentral phase out --- apps/explorer/config/explored.ts | 4 ++++ apps/explorer/config/index.ts | 1 + apps/explorer/config/testnet-zen.ts | 1 + 3 files changed, 6 insertions(+) create mode 100644 apps/explorer/config/explored.ts diff --git a/apps/explorer/config/explored.ts b/apps/explorer/config/explored.ts new file mode 100644 index 000000000..278096c09 --- /dev/null +++ b/apps/explorer/config/explored.ts @@ -0,0 +1,4 @@ +import { Explored } from '@siafoundation/explored-js' +import { exploredApi as api } from '.' + +export const explored = Explored({ api }) diff --git a/apps/explorer/config/index.ts b/apps/explorer/config/index.ts index e5c5e6fd3..3edc9c5b4 100644 --- a/apps/explorer/config/index.ts +++ b/apps/explorer/config/index.ts @@ -10,3 +10,4 @@ export const isMainnet = true // APIs export const faucetApi = 'https://api.siascan.com/zen/faucet' export const siaCentralApi = 'https://api.siacentral.com/v2' +export const exploredApi = 'https://explored.test.sia.tools/api' diff --git a/apps/explorer/config/testnet-zen.ts b/apps/explorer/config/testnet-zen.ts index 0b1acb448..76a328597 100644 --- a/apps/explorer/config/testnet-zen.ts +++ b/apps/explorer/config/testnet-zen.ts @@ -10,3 +10,4 @@ export const isMainnet = false // APIs export const faucetApi = 'https://api.siascan.com/zen/faucet' export const siaCentralApi = 'https://api.siacentral.com/v2/zen' +export const exploredApi = 'https://explored.test.sia.tools/zen/api' // Zen support may not exist at the time of this comment and/or this address may not be correct nor final.