From c593e67cfe8f35d2ff9b3c7cc675b6269b6b7078 Mon Sep 17 00:00:00 2001 From: Terence Lim Date: Wed, 17 Jan 2024 19:22:41 +0800 Subject: [PATCH 1/4] added cosmoshub + osmosis testnet --- chains/testnet/cosmoshub.js | 29 ++++++++++++++++++++++++ chains/testnet/osmosis.js | 44 +++++++++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) create mode 100644 chains/testnet/cosmoshub.js create mode 100644 chains/testnet/osmosis.js diff --git a/chains/testnet/cosmoshub.js b/chains/testnet/cosmoshub.js new file mode 100644 index 00000000..5c504d31 --- /dev/null +++ b/chains/testnet/cosmoshub.js @@ -0,0 +1,29 @@ +module.exports = { + chainID: 'theta-testnet-001', + lcd: 'https://rest.sentry-01.theta-testnet.polypore.xyz', + gasAdjustment: 1.5, + gasPrices: { uatom: 0.025 }, + prefix: 'cosmos', + coinType: '118', + baseAsset: 'uatom', + name: 'Cosmos', + icon: process.env.CF_PAGES_URL + '/img/chains/Cosmos.svg', + channels: { + }, + explorer: { + address: 'https://testnet.mintscan.io/cosmoshub-testnet/account/{}', + tx: 'https://testnet.mintscan.io/cosmoshub-testnet/txs/{}', + validator: 'https://testnet.mintscan.io/cosmoshub-testnet/validators/{}', + block: 'https://testnet.mintscan.io/cosmoshub-testnet/blocks/id/{}', + }, + tokens: [ + { + token: 'uatom', + symbol: 'ATOM', + name: 'Cosmos', + icon: process.env.CF_PAGES_URL + '/img/coins/Cosmos.svg', + decimals: 6, + }, + ], + } + \ No newline at end of file diff --git a/chains/testnet/osmosis.js b/chains/testnet/osmosis.js new file mode 100644 index 00000000..f6ba4fc3 --- /dev/null +++ b/chains/testnet/osmosis.js @@ -0,0 +1,44 @@ +module.exports = { + chainID: 'osmo-test-5', + lcd: 'https://lcd.osmotest5.osmosis.zone', + gasAdjustment: 1.5, + gasPrices: { + uosmo: { + type: 'OSMOSIS', + url: '/osmosis/txfees/v1beta1/cur_eip_base_fee', + adjustment: 10, + // value to be used if the request to the LCD fails + defaultValue: 0.0025 * 10, + }, + }, + prefix: 'osmo', + coinType: '118', + baseAsset: 'uosmo', + name: 'Osmosis', + icon: process.env.CF_PAGES_URL + '/img/chains/Osmosis.svg', + channels: { + }, + explorer: { + address: 'https://testnet.mintscan.io/osmosis-testnet/account/{}', + tx: 'https://testnet.mintscan.io/osmosis-testnet/txs/{}', + validator: 'https://testnet.mintscan.io/osmosis-testnet/validators/{}', + block: 'https://testnet.mintscan.io/osmosis-testnet/blocks/id/{}', + }, + tokens: [ + { + token: 'uosmo', + symbol: 'OSMO', + name: 'Osmosis', + icon: process.env.CF_PAGES_URL + '/img/coins/Osmo.svg', + decimals: 6, + }, + { + token: 'uion', + symbol: 'ION', + name: 'Ion', + icon: process.env.CF_PAGES_URL + '/img/coins/Ion.svg', + decimals: 6, + } + ], + } + \ No newline at end of file From 3a9e57af0a2b228699baef7e00d8d8d3af1e2fd7 Mon Sep 17 00:00:00 2001 From: Terence Lim Date: Wed, 17 Jan 2024 19:29:00 +0800 Subject: [PATCH 2/4] updated ibc channels for pryzm --- chains/testnet/cosmoshub.js | 1 + chains/testnet/injective.js | 4 +++- chains/testnet/osmosis.js | 1 + chains/testnet/terra.js | 1 + 4 files changed, 6 insertions(+), 1 deletion(-) diff --git a/chains/testnet/cosmoshub.js b/chains/testnet/cosmoshub.js index 5c504d31..00231a4e 100644 --- a/chains/testnet/cosmoshub.js +++ b/chains/testnet/cosmoshub.js @@ -9,6 +9,7 @@ module.exports = { name: 'Cosmos', icon: process.env.CF_PAGES_URL + '/img/chains/Cosmos.svg', channels: { + 'indigo-1': 'channel-3385', }, explorer: { address: 'https://testnet.mintscan.io/cosmoshub-testnet/account/{}', diff --git a/chains/testnet/injective.js b/chains/testnet/injective.js index 74fde513..2ef7e86e 100644 --- a/chains/testnet/injective.js +++ b/chains/testnet/injective.js @@ -8,7 +8,9 @@ module.exports = { baseAsset: 'inj', name: 'Injective', icon: process.env.CF_PAGES_URL + '/img/chains/Injective.svg', - channels: {}, + channels: { + 'indigo-1': 'channel-151' + }, explorer: { address: 'https://testnet.explorer.injective.network/account/{}', tx: 'https://testnet.explorer.injective.network/transaction/{}', diff --git a/chains/testnet/osmosis.js b/chains/testnet/osmosis.js index f6ba4fc3..7d039727 100644 --- a/chains/testnet/osmosis.js +++ b/chains/testnet/osmosis.js @@ -17,6 +17,7 @@ module.exports = { name: 'Osmosis', icon: process.env.CF_PAGES_URL + '/img/chains/Osmosis.svg', channels: { + 'indigo-1': 'channel-4495', }, explorer: { address: 'https://testnet.mintscan.io/osmosis-testnet/account/{}', diff --git a/chains/testnet/terra.js b/chains/testnet/terra.js index bd7c7b71..44909219 100644 --- a/chains/testnet/terra.js +++ b/chains/testnet/terra.js @@ -18,6 +18,7 @@ module.exports = { channels: { 'ares-1': 'channel-189', 'atlantic-2': 'channel-100', + 'indigo-1': 'channel-506', }, tokens: [ { From e759f7a15c0edb234993674fc10225e5628574d1 Mon Sep 17 00:00:00 2001 From: Terence Lim Date: Wed, 17 Jan 2024 19:36:03 +0800 Subject: [PATCH 3/4] Disabling nibiru as testnet no longer working --- chains/testnet/{nibiru.js => nibiru.js.disabled} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename chains/testnet/{nibiru.js => nibiru.js.disabled} (100%) diff --git a/chains/testnet/nibiru.js b/chains/testnet/nibiru.js.disabled similarity index 100% rename from chains/testnet/nibiru.js rename to chains/testnet/nibiru.js.disabled From 9eab03e799adfcffee511d2cd043f7b93331d965 Mon Sep 17 00:00:00 2001 From: Terence Lim Date: Wed, 17 Jan 2024 19:40:27 +0800 Subject: [PATCH 4/4] added przym --- chains/testnet/pryzm.js | 40 ++++++++++++++++++++++++++++++++++++++++ img/chains/Pryzm.svg | 12 ++++++++++++ img/coins/Pryzm.svg | 11 +++++++++++ 3 files changed, 63 insertions(+) create mode 100644 chains/testnet/pryzm.js create mode 100644 img/chains/Pryzm.svg create mode 100644 img/coins/Pryzm.svg diff --git a/chains/testnet/pryzm.js b/chains/testnet/pryzm.js new file mode 100644 index 00000000..28c2fb8b --- /dev/null +++ b/chains/testnet/pryzm.js @@ -0,0 +1,40 @@ +module.exports = { + chainID: 'indigo-1', + lcd: 'https://testnet-api.pryzm.zone', + gasAdjustment: 1.6, + gasPrices: { upryzm: 0.015 }, + prefix: 'pryzm', + coinType: '118', + baseAsset: 'upryzm', + name: 'Pryzm', + icon: process.env.CF_PAGES_URL + '/img/chains/Pryzm.svg', + alliance: true, + explorer: { + address: 'https://testnet.chainsco.pe/pryzm/address/{}', + tx: 'https://testnet.chainsco.pe/pryzm/tx/{}', + validator: 'https://testnet.chainsco.pe/pryzm/validator/{}', + block: 'https://testnet.chainsco.pe/pryzm/block/{}', + }, + channels: { + 'theta-testnet-001': 'channel-0', + 'pisco-1': 'channel-1', + 'osmo-test-5': 'channel-8', + 'injective-888': 'channel-9', + }, + tokens: [ + { + token: 'upryzm', + symbol: 'PRYZM', + name: 'Test Pryzm', + icon: process.env.CF_PAGES_URL + '/img/coins/Pryzm.svg', + decimals: 6, + }, + { + token: 'factory/pryzm15k9s9p0ar0cx27nayrgk6vmhyec3lj7vkry7rx/uusdsim', + symbol: 'USDsim', + name: 'USD Sim', + icon: process.env.CF_PAGES_URL + '/img/coins/usdc.svg', + decimals: 6, + }, + ], + } \ No newline at end of file diff --git a/img/chains/Pryzm.svg b/img/chains/Pryzm.svg new file mode 100644 index 00000000..8ff36d0a --- /dev/null +++ b/img/chains/Pryzm.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/img/coins/Pryzm.svg b/img/coins/Pryzm.svg new file mode 100644 index 00000000..fdaa7878 --- /dev/null +++ b/img/coins/Pryzm.svg @@ -0,0 +1,11 @@ + + + + + + + + + + +