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

add explored api sdk to config, for use in future siacentral phase out #698

Merged
merged 1 commit into from
Aug 26, 2024
Merged
Show file tree
Hide file tree
Changes from all 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
5 changes: 5 additions & 0 deletions .changeset/lovely-clocks-juggle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'explorer': minor
---

Added base explored API for future Siacentral phase out.
4 changes: 4 additions & 0 deletions apps/explorer/config/explored.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { Explored } from '@siafoundation/explored-js'
import { exploredApi as api } from '.'

export const explored = Explored({ api })
1 change: 1 addition & 0 deletions apps/explorer/config/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.siascan.sia.dev/api'
1 change: 1 addition & 0 deletions apps/explorer/config/testnet-zen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.zen.siascan.sia.dev/api'
Loading