Skip to content

Commit

Permalink
Merge pull request #261 from terra-money/add-pryzm
Browse files Browse the repository at this point in the history
Add osmosis/cosmos/pryzm testnet
  • Loading branch information
terencelimzhengwei committed Jan 17, 2024
2 parents 5ef0ecc + 9eab03e commit 984d078
Show file tree
Hide file tree
Showing 8 changed files with 142 additions and 1 deletion.
30 changes: 30 additions & 0 deletions chains/testnet/cosmoshub.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
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: {
'indigo-1': 'channel-3385',
},
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,
},
],
}

4 changes: 3 additions & 1 deletion chains/testnet/injective.js
Original file line number Diff line number Diff line change
Expand Up @@ -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/{}',
Expand Down
File renamed without changes.
45 changes: 45 additions & 0 deletions chains/testnet/osmosis.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
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: {
'indigo-1': 'channel-4495',
},
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,
}
],
}

40 changes: 40 additions & 0 deletions chains/testnet/pryzm.js
Original file line number Diff line number Diff line change
@@ -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,
},
],
}
1 change: 1 addition & 0 deletions chains/testnet/terra.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ module.exports = {
channels: {
'ares-1': 'channel-189',
'atlantic-2': 'channel-100',
'indigo-1': 'channel-506',
},
tokens: [
{
Expand Down
12 changes: 12 additions & 0 deletions img/chains/Pryzm.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions img/coins/Pryzm.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 984d078

Please sign in to comment.