Skip to content

Commit

Permalink
Add dydx chain (cosmos#3038)
Browse files Browse the repository at this point in the history
* Add dydx chain

Signed-off-by: Dylan Schultz <[email protected]>

* Add image info

Signed-off-by: Dylan Schultz <[email protected]>

* Add ibc asset?

Signed-off-by: Dylan Schultz <[email protected]>

* Update Noble USDC on dydxprotocol

Signed-off-by: Dylan Schultz <[email protected]>

* Add kingnodes seed

Signed-off-by: Dylan Schultz <[email protected]>

* Fix coingecko ID

Signed-off-by: Dylan Schultz <[email protected]>

* Update assetlist.json

* Add ECO Stake APIs to dYdX (cosmos#3054)

* Update assetlist.json

---------

Signed-off-by: Dylan Schultz <[email protected]>
Co-authored-by: Tom Beynon <[email protected]>
  • Loading branch information
dylanschultzie and tombeynon authored Oct 26, 2023
1 parent 7ea1f90 commit ba3c760
Show file tree
Hide file tree
Showing 4 changed files with 207 additions and 0 deletions.
74 changes: 74 additions & 0 deletions dydx/assetlist.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
{
"$schema": "../assetlist.schema.json",
"chain_name": "dydx",
"assets": [
{
"description": "The native staking token of dYdX Protocol.",
"denom_units": [
{
"denom": "adydx",
"exponent": 0
},
{
"denom": "dydx",
"exponent": 18
}
],
"base": "adydx",
"name": "dYdX",
"display": "dydx",
"symbol": "DYDX",
"logo_URIs": {
"png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/dydx/images/dydx.png",
"svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/dydx/images/dydx.svg"
},
"coingecko_id": "dydx",
"images": [
{
"png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/dydx/images/dydx.png",
"svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/dydx/images/dydx.svg"
}
]
},
{
"description": "Noble USDC on dYdX Protocol.",
"denom_units": [
{
"denom": "ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5",
"exponent": 0
},
{
"denom": "usdc",
"exponent": 18
}
],
"type_asset": "ics20",
"base": "ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5",
"name": "Noble USDC",
"display": "usdc",
"symbol": "USDC",
"traces": [
{
"type": "ibc",
"counterparty": {
"chain_name": "noble",
"base_denom": "uusdc",
"channel_id": "channel-33"
},
"chain": {
"channel_id": "channel-0",
"path": "transfer/channel-0"
}
}
],
"images": [
{
"image_sync": {
"chain_name": "noble",
"base_denom": "uusdc"
}
}
]
}
]
}
112 changes: 112 additions & 0 deletions dydx/chain.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
{
"$schema": "../chain.schema.json",
"chain_name": "dydx",
"status": "live",
"website": "https://dydx.exchange/",
"network_type": "mainnet",
"pretty_name": "dYdX Protocol",
"chain_id": "dydx-mainnet-1",
"bech32_prefix": "dydx",
"daemon_name": "dydxprotocold",
"node_home": "$HOME/.dydxprotocol",
"key_algos": [
"secp256k1"
],
"slip44": 118,
"fees": {
"fee_tokens": [
{
"denom": "adydx",
"fixed_min_gas_price": 12500000000
},
{
"denom": "ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5",
"fixed_min_gas_price": 0.025
}
]
},
"staking": {
"staking_tokens": [
{
"denom": "adydx"
}
]
},
"codebase": {
"git_repo": "https://github.com/dydxprotocol/v4-chain/",
"recommended_version": "v1.0.0",
"compatible_versions": [
"v1.0.0"
],
"cosmos_sdk_version": "v0.47.4",
"cosmwasm_enabled": false,
"genesis": {
"genesis_url": "https://raw.githubusercontent.com/dydxopsdao/networks/main/dydx-mainnet-1/genesis.json"
},
"versions": [
{
"name": "v1",
"recommended_version": "v1.0.0",
"compatible_versions": [
"v1.0.0"
],
"cosmos_sdk_version": "v0.47.4"
}
]
},
"logo_URIs": {
"png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/dydx/images/dydx.png",
"svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/dydx/images/dydx.svg"
},
"peers": {
"seeds": [
{
"id": "20e1000e88125698264454a884812746c2eb4807",
"address": "seeds.lavenderfive.com:23856",
"provider": "Lavender.Five Nodes 🐝"
},
{
"id": "65b740ee326c9260c30af1f044e9cda63c73f7c1",
"address": "seeds.kingnodes.net:23856",
"provider": "Kingnodes"
}
],
"persistent_peers": []
},
"apis": {
"rpc": [
{
"address": "https://dydx-rpc.lavenderfive.com:443",
"provider": "Lavender.Five Nodes 🐝"
},
{
"address": "https://rpc-dydx.ecostake.com:443",
"provider": "ecostake"
}
],
"rest": [
{
"address": "https://dydx-api.lavenderfive.com:443",
"provider": "Lavender.Five Nodes 🐝"
},
{
"address": "https://rest-dydx.ecostake.com:443",
"provider": "ecostake"
}
],
"grpc": [
{
"address": "https://dydx-grpc.lavenderfive.com",
"provider": "Lavender.Five Nodes 🐝"
}
]
},
"explorers": [
{
"kind": "mintscan",
"url": "https://www.mintscan.io/dydx",
"tx_page": "https://www.mintscan.io/dydx/txs/${txHash}",
"account_page": "https://www.mintscan.io/dydx/account/${accountAddress}"
}
]
}
Binary file added dydx/images/dydx.png
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 dydx/images/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 ba3c760

Please sign in to comment.