Skip to content

Commit

Permalink
Merge pull request #2109 from oasisprotocol/mz/explorer
Browse files Browse the repository at this point in the history
Switch to Oasis Explorer when Nexus backend is used
  • Loading branch information
buberdds authored Jan 8, 2025
2 parents b755ffa + 99d8ebe commit cb3e5df
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 cb3e5df

Please sign in to comment.