diff --git a/.changeset/rotten-toes-doubt.md b/.changeset/rotten-toes-doubt.md new file mode 100644 index 000000000..45a146a8a --- /dev/null +++ b/.changeset/rotten-toes-doubt.md @@ -0,0 +1,5 @@ +--- +'@xchainjs/xchain-cosmos': patch +--- + +Mintscan as explorer. diff --git a/packages/xchain-cosmos/__tests__/client.test.ts b/packages/xchain-cosmos/__tests__/client.test.ts index 7e8e5f0e5..f55d0a9a5 100644 --- a/packages/xchain-cosmos/__tests__/client.test.ts +++ b/packages/xchain-cosmos/__tests__/client.test.ts @@ -29,16 +29,16 @@ describe('Cosmos client', () => { client = new Client() }) it('Should get explorer url', () => { - expect(client.getExplorerUrl()).toBe('https://bigdipper.live/cosmos') + expect(client.getExplorerUrl()).toBe('https://www.mintscan.io/cosmos') }) it('Should get address url', () => { expect(client.getExplorerAddressUrl('cosmos1p9axwnsmnzhn0haaerzae9y2adv8q2nslnyzz3')).toBe( - 'https://bigdipper.live/cosmos/accounts/cosmos1p9axwnsmnzhn0haaerzae9y2adv8q2nslnyzz3', + 'https://www.mintscan.io/cosmos/accounts/cosmos1p9axwnsmnzhn0haaerzae9y2adv8q2nslnyzz3', ) }) it('Should get transaction url', () => { expect(client.getExplorerTxUrl('D31925DD10D19AE2FEA4E8C88273238198B3503032540DBDB43080730B971DE4')).toBe( - 'https://bigdipper.live/cosmos/transactions/D31925DD10D19AE2FEA4E8C88273238198B3503032540DBDB43080730B971DE4', + 'https://www.mintscan.io/cosmos/transactions/D31925DD10D19AE2FEA4E8C88273238198B3503032540DBDB43080730B971DE4', ) }) }) @@ -71,16 +71,16 @@ describe('Cosmos client', () => { }) }) it('Should get explorer url', () => { - expect(client.getExplorerUrl()).toBe('https://bigdipper.live/cosmos') + expect(client.getExplorerUrl()).toBe('https://www.mintscan.io/cosmos') }) it('Should get address url', () => { expect(client.getExplorerAddressUrl('cosmos1p9axwnsmnzhn0haaerzae9y2adv8q2nslnyzz3')).toBe( - 'https://bigdipper.live/cosmos/accounts/cosmos1p9axwnsmnzhn0haaerzae9y2adv8q2nslnyzz3', + 'https://www.mintscan.io/cosmos/accounts/cosmos1p9axwnsmnzhn0haaerzae9y2adv8q2nslnyzz3', ) }) it('Should get transaction url', () => { expect(client.getExplorerTxUrl('D31925DD10D19AE2FEA4E8C88273238198B3503032540DBDB43080730B971DE4')).toBe( - 'https://bigdipper.live/cosmos/transactions/D31925DD10D19AE2FEA4E8C88273238198B3503032540DBDB43080730B971DE4', + 'https://www.mintscan.io/cosmos/transactions/D31925DD10D19AE2FEA4E8C88273238198B3503032540DBDB43080730B971DE4', ) }) }) diff --git a/packages/xchain-cosmos/src/utils.ts b/packages/xchain-cosmos/src/utils.ts index d9bb790d4..5baa25cc6 100644 --- a/packages/xchain-cosmos/src/utils.ts +++ b/packages/xchain-cosmos/src/utils.ts @@ -6,7 +6,7 @@ import { ATOM_DENOM, AssetATOM } from './const' import { CompatibleAsset } from './types' // Explorer URLs for Mainnet and Testnet -const MAINNET_EXPLORER_URL = 'https://bigdipper.live/cosmos' +const MAINNET_EXPLORER_URL = 'https://www.mintscan.io/cosmos' const TESTNET_EXPLORER_URL = 'https://explorer.theta-testnet.polypore.xyz' /**