Skip to content

Commit

Permalink
Oasis Sapphire: update explorers (#2231)
Browse files Browse the repository at this point in the history
  • Loading branch information
pro-wh committed May 9, 2024
1 parent e509503 commit e097b26
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/old-onions-cover.md
@@ -0,0 +1,5 @@
---
"viem": patch
---

Updated Sapphire and Sapphire Testnet chains.
8 changes: 6 additions & 2 deletions src/chains/definitions/sapphire.ts
Expand Up @@ -13,9 +13,13 @@ export const sapphire = /*#__PURE__*/ defineChain({
},
blockExplorers: {
default: {
name: 'Oasis Explorer',
url: 'https://explorer.oasis.io/mainnet/sapphire',
},
blockscout: {
name: 'Oasis Sapphire Explorer',
url: 'https://explorer.sapphire.oasis.io',
apiUrl: 'https://explorer.sapphire.oasis.io/api',
url: 'https://old-explorer.sapphire.oasis.io',
apiUrl: 'https://old-explorer.sapphire.oasis.io/api',
},
},
contracts: {
Expand Down
8 changes: 6 additions & 2 deletions src/chains/definitions/sapphireTestnet.ts
Expand Up @@ -13,9 +13,13 @@ export const sapphireTestnet = /*#__PURE__*/ defineChain({
},
blockExplorers: {
default: {
name: 'Oasis Explorer',
url: 'https://explorer.oasis.io/testnet/sapphire',
},
blockscout: {
name: 'Oasis Sapphire Testnet Explorer',
url: 'https://testnet.explorer.sapphire.oasis.dev',
apiUrl: 'https://testnet.explorer.sapphire.oasis.dev/api',
url: 'https://testnet.old-explorer.sapphire.oasis.dev',
apiUrl: 'https://testnet.old-explorer.sapphire.oasis.dev/api',
},
},
testnet: true,
Expand Down

0 comments on commit e097b26

Please sign in to comment.