Skip to content

Commit

Permalink
Update Nomic and add Nomic testnet (#5379)
Browse files Browse the repository at this point in the history
* Update nomic and add nomictestnet

* Fix comments

* Add prior version

* Update chain.json
  • Loading branch information
benjib-2 authored Sep 25, 2024
1 parent cea4e39 commit 16d94bc
Show file tree
Hide file tree
Showing 3 changed files with 237 additions and 2 deletions.
23 changes: 21 additions & 2 deletions nomic/chain.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@
"low_gas_price": 0,
"average_gas_price": 0,
"high_gas_price": 0
},
{
"denom": "usat",
"low_gas_price": 0,
"average_gas_price": 0,
"high_gas_price": 0
}
]
},
Expand All @@ -36,13 +42,14 @@
},
"codebase": {
"git_repo": "https://github.com/nomic-io/nomic",
"recommended_version": "v8.0.0",
"recommended_version": "v9.0.0",
"compatible_versions": [
"v9.0.0",
"v8.0.0"
],
"consensus": {
"type": "tendermint",
"version": "v0.32.0"
"version": "v0.34.0"
},
"genesis": {
"genesis_url": "https://raw.githubusercontent.com/nomic-io/nomic/develop/genesis/stakenet-3.json"
Expand All @@ -58,6 +65,18 @@
"type": "tendermint",
"version": "v0.32.0"
},
"next_version_name": "v9.0.0"
},
{
"name": "v9.0.0",
"recommended_version": "v9.0.0",
"compatible_versions": [
"v9.0.0"
],
"consensus": {
"type": "tendermint",
"version": "v0.34.0"
},
"next_version_name": ""
}
]
Expand Down
94 changes: 94 additions & 0 deletions testnets/nomictestnet/assetlist.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
{
"$schema": "../../assetlist.schema.json",
"chain_name": "nomictestnet",
"assets": [
{
"description": "Nomic's native token.",
"denom_units": [
{
"denom": "unom",
"exponent": 0
},
{
"denom": "nom",
"exponent": 6
}
],
"base": "unom",
"name": "Nomic",
"display": "nom",
"symbol": "NOM",
"logo_URIs": {
"png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/nomic/images/nom.png",
"svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/nomic/images/nom.svg"
},
"traces": [
{
"type": "test-mintage",
"counterparty": {
"chain_name": "nomic",
"base_denom": "unom"
},
"provider": "Nomic"
}
],
"images": [
{
"image_sync": {
"chain_name": "nomic",
"base_denom": "unom"
},
"png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/nomic/images/nom.png",
"svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/nomic/images/nom.svg",
"theme": {
"primary_color_hex": "#6404fc"
}
}
]
},
{
"description": "Bitcoin. On Cosmos.",
"denom_units": [
{
"denom": "usat",
"exponent": 0
},
{
"denom": "nbtc",
"exponent": 14
}
],
"base": "usat",
"name": "Nomic Bitcoin",
"display": "nbtc",
"symbol": "nBTC",
"logo_URIs": {
"png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/nomic/images/nbtc.png",
"svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/nomic/images/nbtc.svg"
},
"traces": [
{
"type": "bridge",
"counterparty": {
"chain_name": "bitcointestnet",
"base_denom": "sat"
},
"provider": "Nomic"
}
],
"images": [
{
"image_sync": {
"chain_name": "nomic",
"base_denom": "usat"
},
"png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/nomic/images/nbtc.png",
"svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/nomic/images/nbtc.svg",
"theme": {
"primary_color_hex": "#8436e6"
}
}
]
}
]
}
122 changes: 122 additions & 0 deletions testnets/nomictestnet/chain.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
{
"$schema": "../../chain.schema.json",
"chain_name": "nomictestnet",
"status": "live",
"network_type": "testnet",
"pretty_name": "Nomic Testnet",
"website": "https://nomic.io/",
"chain_type": "cosmos",
"chain_id": "nomic-testnet-6",
"bech32_prefix": "nomic",
"daemon_name": "nomic",
"node_home": "$HOME/.nomic-testnet-6",
"slip44": 118,
"key_algos": [
"secp256k1"
],
"fees": {
"fee_tokens": [
{
"denom": "unom",
"low_gas_price": 0,
"average_gas_price": 0,
"high_gas_price": 0
},
{
"denom": "usat",
"low_gas_price": 0,
"average_gas_price": 0,
"high_gas_price": 0
}
]
},
"staking": {
"staking_tokens": [
{
"denom": "unom"
}
],
"lock_duration": {
"time": "1209600s"
}
},
"codebase": {
"git_repo": "https://github.com/nomic-io/nomic",
"recommended_version": "v9.1.0",
"compatible_versions": [
"v9.1.0"
],
"consensus": {
"type": "tendermint",
"version": "v0.34"
},
"genesis": {
"genesis_url": "https://github.com/nomic-io/nomic/blob/v9.1.0/networks/testnet.toml"
},
"versions": [
{
"name": "v9.1.0",
"recommended_version": "v9.1.0",
"compatible_versions": [
"v9.1.0"
],
"consensus": {
"type": "tendermint",
"version": "v0.34"
},
"next_version_name": ""
}
]
},
"logo_URIs": {
"png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/nomic/images/nom.png",
"svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/nomic/images/nom.svg"
},
"description": "The superior way to use Bitcoin in Cosmos DeFi. Use IBC to securely and efficiently bridge your BTC to Osmosis and more.",
"peers": {
"seeds": [
{
"id": "a07d56aa65e395c332a7bf226ec4e2f844519ffa",
"address": "147.182.171.216:26656",
"provider": "mappum"
}
],
"persistent_peers": []
},
"apis": {
"rpc": [
{
"address": "https://testnet-rpc.nomic.io:2096",
"provider": "nomic"
}
],
"rest": [
{
"address": "https://testnet-api.nomic.io:8443",
"provider": "nomic"
}
]
},
"explorers": [],
"images": [
{
"image_sync": {
"chain_name": "nomic",
"base_denom": "unom"
},
"png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/nomic/images/nom.png",
"svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/nomic/images/nom.svg",
"theme": {
"primary_color_hex": "#6404fc"
}
}
],
"bech32_config": {
"bech32PrefixAccAddr": "nomic",
"bech32PrefixAccPub": "nomic",
"bech32PrefixConsAddr": "nomic",
"bech32PrefixConsPub": "nomic",
"bech32PrefixValAddr": "nomic",
"bech32PrefixValPub": "nomic"
}
}

0 comments on commit 16d94bc

Please sign in to comment.