Skip to content

Commit

Permalink
Switch to Oasis Explorer when Nexus backend is used
Browse files Browse the repository at this point in the history
  • Loading branch information
buberdds committed Jan 7, 2025
1 parent b755ffa commit 99d8ebe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .changelog/2109.bugfix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Switch to Oasis Explorer when Nexus backend is used
8 changes: 4 additions & 4 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ export const config: BackendConfig = {
},
[BackendAPIs.Nexus]: {
explorer: 'https://nexus.oasis.io/v1',
blockExplorer: 'https://oasisscan.com/transactions/{{txHash}}',
blockExplorer: 'https://explorer.oasis.io/mainnet/consensus/tx/{{txHash}}',
blockExplorerParatimes: 'https://explorer.oasis.io/mainnet/{{runtimeId}}/tx/{{txHash}}',
blockExplorerAccount: 'https://www.oasisscan.com/accounts/detail/{{address}}',
blockExplorerAccount: 'https://explorer.oasis.io/mainnet/consensus/address/{{address}}',
},
},
testnet: {
Expand All @@ -84,9 +84,9 @@ export const config: BackendConfig = {
},
[BackendAPIs.Nexus]: {
explorer: 'https://testnet.nexus.oasis.io/v1',
blockExplorer: 'https://testnet.oasisscan.com/transactions/{{txHash}}',
blockExplorer: 'https://explorer.oasis.io/testnet/consensus/tx/{{txHash}}',
blockExplorerParatimes: 'https://explorer.oasis.io/testnet/{{runtimeId}}/transactions/{{txHash}}',
blockExplorerAccount: 'https://testnet.oasisscan.com/accounts/detail/{{address}}',
blockExplorerAccount: 'https://explorer.oasis.io/testnet/consensus/address/{{address}}',
},
},
local: {
Expand Down

0 comments on commit 99d8ebe

Please sign in to comment.