Skip to content

Commit

Permalink
Merge pull request #231 from terra-money/chore/add-dydx
Browse files Browse the repository at this point in the history
Add dydx support
  • Loading branch information
mwmerz authored Nov 30, 2023
2 parents 8197813 + d7be1db commit e20f614
Show file tree
Hide file tree
Showing 8 changed files with 84 additions and 0 deletions.
37 changes: 37 additions & 0 deletions chains/mainnet/dydx.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
module.exports = {
chainID: 'dydx-mainnet-1',
lcd: 'https://dydx-rest.publicnode.com',
gasAdjustment: 1.75,
gasPrices: {
adydx: 12500000000,
'ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5': 0.025
},
prefix: 'dydx',
coinType: '118',
baseAsset: 'adydx',
name: 'dYdX Protocol',
icon: process.env.CF_PAGES_URL + '/img/chains/dydx.svg',
channels: {
'kaiyo-1': 'channel-5',
'noble-1': 'channel-0',
'osmosis-1': 'channel-3',
'stride-1': 'channel-1',
'phoenix-1': 'channel-9',
},
icsChannels: {},
explorer: {
address: 'https://www.mintscan.io/dydx/account/{}',
tx: 'https://www.mintscan.io/dydx/txs/{}',
validator: 'https://www.mintscan.io/dydx/validators/{}',
block: 'https://www.mintscan.io/dydx/blocks/id/{}',
},
tokens: [
{
token: 'adydx',
symbol: 'DYDX',
name: 'dYdX',
icon: process.env.CF_PAGES_URL + '/img/coins/dydx.svg',
decimals: 18,
}
],
}
1 change: 1 addition & 0 deletions chains/mainnet/kujira.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ module.exports = {
'stafihub-1': 'channel-63',
'neutron-1': 'channel-75',
'injective-1': 'channel-54',
'dydx-mainnet-1': 'channel-118',
},
alliance: true,
explorer: {
Expand Down
1 change: 1 addition & 0 deletions chains/mainnet/noble.js.disabled
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ module.exports = {
'juno-1': 'channel-3',
'osmosis-1': 'channel-1',
'kaiyo-1': 'channel-2',
'dydx-mainnet-1': 'channel-33',
},
explorer: {
address: 'https://www.mintscan.io/noble/account/{}',
Expand Down
1 change: 1 addition & 0 deletions chains/mainnet/osmosis.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ module.exports = {
'noble-1': 'channel-750',
'pacific-1': 'channel-782',
'injective-1': 'channel-122',
'dydx-mainnet-1': 'channel-6787',
},
explorer: {
address: 'https://www.mintscan.io/osmosis/account/{}',
Expand Down
1 change: 1 addition & 0 deletions chains/mainnet/stride.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ module.exports = {
'neutron-1': 'channel-123',
'pacific-1': 'channel-149',
'injective-1': 'channel-6',
'dydx-mainnet-1': 'channel-160',
},
explorer: {
address: 'https://www.mintscan.io/stride/account/{}',
Expand Down
1 change: 1 addition & 0 deletions chains/mainnet/terra.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ module.exports = {
'stafihub-1': 'channel-204',
'neutron-1': 'channel-229',
'injective-1': 'channel-144',
'dydx-mainnet-1': 'channel-299',
},
icsChannels: {
'carbon-1': {
Expand Down
21 changes: 21 additions & 0 deletions img/chains/dydx.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions img/coins/dydx.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 e20f614

Please sign in to comment.