From 7bb243f694cdd56f99d959425f7654ec5d2b69d5 Mon Sep 17 00:00:00 2001 From: 0xp3gasus <0xp3gasus@proton.me> Date: Wed, 2 Oct 2024 13:12:16 +0200 Subject: [PATCH 1/3] Atoscam explorer --- packages/xchain-cosmos/__tests__/client.test.ts | 12 ++++++------ packages/xchain-cosmos/src/utils.ts | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/xchain-cosmos/__tests__/client.test.ts b/packages/xchain-cosmos/__tests__/client.test.ts index 7e8e5f0e5..01c4381ed 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://atomscan.com') }) it('Should get address url', () => { expect(client.getExplorerAddressUrl('cosmos1p9axwnsmnzhn0haaerzae9y2adv8q2nslnyzz3')).toBe( - 'https://bigdipper.live/cosmos/accounts/cosmos1p9axwnsmnzhn0haaerzae9y2adv8q2nslnyzz3', + 'https://atomscan.com/accounts/cosmos1p9axwnsmnzhn0haaerzae9y2adv8q2nslnyzz3', ) }) it('Should get transaction url', () => { expect(client.getExplorerTxUrl('D31925DD10D19AE2FEA4E8C88273238198B3503032540DBDB43080730B971DE4')).toBe( - 'https://bigdipper.live/cosmos/transactions/D31925DD10D19AE2FEA4E8C88273238198B3503032540DBDB43080730B971DE4', + 'https://atomscan.com/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://atomscan.com') }) it('Should get address url', () => { expect(client.getExplorerAddressUrl('cosmos1p9axwnsmnzhn0haaerzae9y2adv8q2nslnyzz3')).toBe( - 'https://bigdipper.live/cosmos/accounts/cosmos1p9axwnsmnzhn0haaerzae9y2adv8q2nslnyzz3', + 'https://atomscan.com/accounts/cosmos1p9axwnsmnzhn0haaerzae9y2adv8q2nslnyzz3', ) }) it('Should get transaction url', () => { expect(client.getExplorerTxUrl('D31925DD10D19AE2FEA4E8C88273238198B3503032540DBDB43080730B971DE4')).toBe( - 'https://bigdipper.live/cosmos/transactions/D31925DD10D19AE2FEA4E8C88273238198B3503032540DBDB43080730B971DE4', + 'https://atomscan.com/transactions/D31925DD10D19AE2FEA4E8C88273238198B3503032540DBDB43080730B971DE4', ) }) }) diff --git a/packages/xchain-cosmos/src/utils.ts b/packages/xchain-cosmos/src/utils.ts index d9bb790d4..d08378b1e 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://atomscan.com' const TESTNET_EXPLORER_URL = 'https://explorer.theta-testnet.polypore.xyz' /** From 29014600c3455807440369a611e5fef35eb654a6 Mon Sep 17 00:00:00 2001 From: 0xp3gasus <0xp3gasus@proton.me> Date: Wed, 2 Oct 2024 13:14:06 +0200 Subject: [PATCH 2/3] Changeset version file --- .changeset/rotten-toes-doubt.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/rotten-toes-doubt.md diff --git a/.changeset/rotten-toes-doubt.md b/.changeset/rotten-toes-doubt.md new file mode 100644 index 000000000..df0024a3c --- /dev/null +++ b/.changeset/rotten-toes-doubt.md @@ -0,0 +1,5 @@ +--- +'@xchainjs/xchain-cosmos': patch +--- + +Atomscan as explorer. From 0f1178601b94d5d723f69a0faa64354c4681dfbf Mon Sep 17 00:00:00 2001 From: 0xp3gasus <0xp3gasus@proton.me> Date: Wed, 2 Oct 2024 13:40:11 +0200 Subject: [PATCH 3/3] Mintscan explorer --- .changeset/rotten-toes-doubt.md | 2 +- packages/xchain-cosmos/__tests__/client.test.ts | 12 ++++++------ packages/xchain-cosmos/src/utils.ts | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.changeset/rotten-toes-doubt.md b/.changeset/rotten-toes-doubt.md index df0024a3c..45a146a8a 100644 --- a/.changeset/rotten-toes-doubt.md +++ b/.changeset/rotten-toes-doubt.md @@ -2,4 +2,4 @@ '@xchainjs/xchain-cosmos': patch --- -Atomscan as explorer. +Mintscan as explorer. diff --git a/packages/xchain-cosmos/__tests__/client.test.ts b/packages/xchain-cosmos/__tests__/client.test.ts index 01c4381ed..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://atomscan.com') + expect(client.getExplorerUrl()).toBe('https://www.mintscan.io/cosmos') }) it('Should get address url', () => { expect(client.getExplorerAddressUrl('cosmos1p9axwnsmnzhn0haaerzae9y2adv8q2nslnyzz3')).toBe( - 'https://atomscan.com/accounts/cosmos1p9axwnsmnzhn0haaerzae9y2adv8q2nslnyzz3', + 'https://www.mintscan.io/cosmos/accounts/cosmos1p9axwnsmnzhn0haaerzae9y2adv8q2nslnyzz3', ) }) it('Should get transaction url', () => { expect(client.getExplorerTxUrl('D31925DD10D19AE2FEA4E8C88273238198B3503032540DBDB43080730B971DE4')).toBe( - 'https://atomscan.com/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://atomscan.com') + expect(client.getExplorerUrl()).toBe('https://www.mintscan.io/cosmos') }) it('Should get address url', () => { expect(client.getExplorerAddressUrl('cosmos1p9axwnsmnzhn0haaerzae9y2adv8q2nslnyzz3')).toBe( - 'https://atomscan.com/accounts/cosmos1p9axwnsmnzhn0haaerzae9y2adv8q2nslnyzz3', + 'https://www.mintscan.io/cosmos/accounts/cosmos1p9axwnsmnzhn0haaerzae9y2adv8q2nslnyzz3', ) }) it('Should get transaction url', () => { expect(client.getExplorerTxUrl('D31925DD10D19AE2FEA4E8C88273238198B3503032540DBDB43080730B971DE4')).toBe( - 'https://atomscan.com/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 d08378b1e..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://atomscan.com' +const MAINNET_EXPLORER_URL = 'https://www.mintscan.io/cosmos' const TESTNET_EXPLORER_URL = 'https://explorer.theta-testnet.polypore.xyz' /**