Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

squash commits #9

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
# Initia Registry

This repo contains a `chain.json` and `assetlist.json` for a number of chains in Initia ecosystem. A `chain.json` contains data that makes it easy to start running or interacting with a node.

Schema files containing the recommended metadata structure can be found in the `*.schema.json` files located in the root directory. Schemas are still undergoing revision as user needs are surfaced. Optional fields may be added beyond what is contained in the schema files.
8 changes: 4 additions & 4 deletions assetlist.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,12 @@
"png": {
"type": "string",
"format": "uri-reference",
"pattern": "^https://raw\\.githubusercontent\\.com/initia/initia-registry/main/(|testnets/|devnets/)[a-z0-9]+/images/.+\\.png$"
"pattern": "^https://raw\\.githubusercontent\\.com/initia-labs/initia-registry/main/(|testnets/|devnets/)[a-z0-9]+/images/.+\\.png$"
},
"svg": {
"type": "string",
"format": "uri-reference",
"pattern": "^https://raw\\.githubusercontent\\.com/initia/initia-registry/main/(|testnets/|devnets/)[a-z0-9]+/images/.+\\.svg$"
"pattern": "^https://raw\\.githubusercontent\\.com/initia-labs/initia-registry/main/(|testnets/|devnets/)[a-z0-9]+/images/.+\\.svg$"
}
},
"additionalProperties": false
Expand All @@ -140,12 +140,12 @@
"png": {
"type": "string",
"format": "uri-reference",
"pattern": "^https://raw\\.githubusercontent\\.com/initia/initia-registry/main/(|testnets/|devnets/)[a-z0-9]+/images/.+\\.png$"
"pattern": "^https://raw\\.githubusercontent\\.com/initia-labs/initia-registry/main/(|testnets/|devnets/)[a-z0-9]+/images/.+\\.png$"
},
"svg": {
"type": "string",
"format": "uri-reference",
"pattern": "^https://raw\\.githubusercontent\\.com/initia/initia-registry/main/(|testnets/|devnets/)[a-z0-9]+/images/.+\\.svg$"
"pattern": "^https://raw\\.githubusercontent\\.com/initia-labs/initia-registry/main/(|testnets/|devnets/)[a-z0-9]+/images/.+\\.svg$"
},
"theme": {
"type": "object",
Expand Down
127 changes: 121 additions & 6 deletions chain.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -425,12 +425,12 @@
"png": {
"type": "string",
"format": "uri-reference",
"pattern": "^https://raw\\.githubusercontent\\.com/initia/initia-registry/main/(|testnets/|devnets/)[a-z0-9]+/images/.+\\.png$"
"pattern": "^https://raw\\.githubusercontent\\.com/initia-labs/initia-registry/main/(|testnets/|devnets/)[a-z0-9]+/images/.+\\.png$"
},
"svg": {
"type": "string",
"format": "uri-reference",
"pattern": "^https://raw\\.githubusercontent\\.com/initia/initia-registry/main/(|testnets/|devnets/)[a-z0-9]+/images/.+\\.svg$"
"pattern": "^https://raw\\.githubusercontent\\.com/initia-labs/initia-registry/main/(|testnets/|devnets/)[a-z0-9]+/images/.+\\.svg$"
},
"theme": {
"type": "object",
Expand Down Expand Up @@ -486,12 +486,12 @@
"png": {
"type": "string",
"format": "uri-reference",
"pattern": "^https://raw\\.githubusercontent\\.com/initia/initia-registry/main/(|testnets/|devnets/)[a-z0-9]+/images/.+\\.png$"
"pattern": "^https://raw\\.githubusercontent\\.com/initia-labs/initia-registry/main/(|testnets/|devnets/)[a-z0-9]+/images/.+\\.png$"
},
"svg": {
"type": "string",
"format": "uri-reference",
"pattern": "^https://raw\\.githubusercontent\\.com/initia/initia-registry/main/(|testnets/|devnets/)[a-z0-9]+/images/.+\\.svg$"
"pattern": "^https://raw\\.githubusercontent\\.com/initia-labs/initia-registry/main/(|testnets/|devnets/)[a-z0-9]+/images/.+\\.svg$"
}
},
"additionalProperties": false
Expand Down Expand Up @@ -572,6 +572,12 @@
"$ref": "#/$defs/explorer"
}
},
"faucets": {
"type": "array",
"items": {
"$ref": "#/$defs/faucet"
}
},
"keywords": {
"type": "array",
"maxContains": 20,
Expand All @@ -589,6 +595,79 @@
],
"uniqueItems": true
}
},
"metadata": {
"type": "object",
"properties": {
"is_l1": {
"type": "boolean",
"description": "[Optional] Indicates if the chain is a layer 1 chain."
},
"op_bridge_id": {
"type": "string",
"description": "[Optional] The identifier of the OPinit bridge used to transfer assets between L1 and L2."
},
"creator": {
"type": "string",
"description": "[Optional] The creator of the OPinit bridge."
},
"op_denoms": {
"type": "array",
"items": {
"type": "string"
},
"description": "[Optional] The list of denoms that are supported by the OPinit bridge."
},
"free_tx_threshold": {
"type": "array",
"items": {
"type": "object",
"required": [
"denom",
"amount"
],
"properties": {
"denom": {
"$ref": "#/$defs/denom"
},
"amount": {
"$ref": "#/$defs/amount"
}
},
"additionalProperties": false
},
"description": "[Optional] A list specifying coin amounts by denomination that exempt users from transaction fees when their balance meets or exceeds these amounts."
},
"ibc_channels": {
"type": "object",
"properties": {
"channel": {
"type": "array",
"items": {
"type": "object",
"required": [
"chain_id"
],
"properties": {
"chain_id": {
"type": "string"
},
"transfer": {
"type": "string"
},
"nft-transfer": {
"type": "string"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false,
"description": "[Optional] The list of IBC channels that are supported by the chain."
}
},
"additionalProperties": false
}
},
"additionalProperties": false,
Expand Down Expand Up @@ -649,14 +728,26 @@
},
"additionalProperties": false
},
"faucet": {
"type": "object",
"properties": {
"kind": {
"type": "string"
},
"url": {
"type": "string"
}
},
"additionalProperties": false
},
"fee_token": {
"type": "object",
"required": [
"denom"
],
"properties": {
"denom": {
"type": "string"
"$ref": "#/$defs/denom"
},
"fixed_min_gas_price": {
"type": "number"
Expand Down Expand Up @@ -693,7 +784,7 @@
],
"properties": {
"denom": {
"type": "string"
"$ref": "#/$defs/denom"
}
},
"additionalProperties": false
Expand All @@ -715,6 +806,30 @@
}
},
"additionalProperties": false
},
"denom": {
"type": "string",
"pattern": "^[a-zA-Z][a-zA-Z0-9/:._-]{2,127}$"
},
"amount": {
"type": "string",
"pattern": "^[0-9]+$"
},
"coin": {
"type": "object",
"required": [
"denom",
"amount"
],
"properties": {
"denom": {
"$ref": "#/$defs/denom"
},
"amount": {
"$ref": "#/$defs/amount"
}
},
"additionalProperties": false
}
}
}
40 changes: 20 additions & 20 deletions devnets/mahalo/assetlist.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
"coingecko_id": "",
"images": [
{
"png": "https://raw.githubusercontent.com/initia/initia-registry/main/mahalo/images/INIT.png",
"svg": "https://raw.githubusercontent.com/initia/initia-registry/main/mahalo/images/INIT.svg"
"png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/INIT.png",
"svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/INIT.svg"
}
],
"logo_URIs": {
"png": "https://raw.githubusercontent.com/initia/initia-registry/main/mahalo/images/INIT.png",
"svg": "https://raw.githubusercontent.com/initia/initia-registry/main/mahalo/images/INIT.svg"
"png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/INIT.png",
"svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/INIT.svg"
}
},
{
Expand All @@ -49,13 +49,13 @@
"coingecko_id": "",
"images": [
{
"png": "https://raw.githubusercontent.com/initia/initia-registry/main/mahalo/images/ETH.png",
"svg": "https://raw.githubusercontent.com/initia/initia-registry/main/mahalo/images/ETH.svg"
"png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/ETH.png",
"svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/ETH.svg"
}
],
"logo_URIs": {
"png": "https://raw.githubusercontent.com/initia/initia-registry/main/mahalo/images/ETH.png",
"svg": "https://raw.githubusercontent.com/initia/initia-registry/main/mahalo/images/ETH.svg"
"png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/ETH.png",
"svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/ETH.svg"
}
},
{
Expand All @@ -77,13 +77,13 @@
"coingecko_id": "",
"images": [
{
"png": "https://raw.githubusercontent.com/initia/initia-registry/main/mahalo/images/USDC.png",
"svg": "https://raw.githubusercontent.com/initia/initia-registry/main/mahalo/images/USDC.svg"
"png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/USDC.png",
"svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/USDC.svg"
}
],
"logo_URIs": {
"png": "https://raw.githubusercontent.com/initia/initia-registry/main/mahalo/images/USDC.png",
"svg": "https://raw.githubusercontent.com/initia/initia-registry/main/mahalo/images/USDC.svg"
"png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/USDC.png",
"svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/USDC.svg"
}
},
{
Expand All @@ -105,13 +105,13 @@
"coingecko_id": "",
"images": [
{
"png": "https://raw.githubusercontent.com/initia/initia-registry/main/mahalo/images/USDC-INIT.png",
"svg": "https://raw.githubusercontent.com/initia/initia-registry/main/mahalo/images/USDC-INIT.svg"
"png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/USDC-INIT.png",
"svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/USDC-INIT.svg"
}
],
"logo_URIs": {
"png": "https://raw.githubusercontent.com/initia/initia-registry/main/mahalo/images/USDC-INIT.png",
"svg": "https://raw.githubusercontent.com/initia/initia-registry/main/mahalo/images/USDC-INIT.svg"
"png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/USDC-INIT.png",
"svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/USDC-INIT.svg"
}
},
{
Expand All @@ -133,13 +133,13 @@
"coingecko_id": "",
"images": [
{
"png": "https://raw.githubusercontent.com/initia/initia-registry/main/mahalo/images/ETH-INIT.png",
"svg": "https://raw.githubusercontent.com/initia/initia-registry/main/mahalo/images/ETH-INIT.svg"
"png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/ETH-INIT.png",
"svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/ETH-INIT.svg"
}
],
"logo_URIs": {
"png": "https://raw.githubusercontent.com/initia/initia-registry/main/mahalo/images/ETH-INIT.png",
"svg": "https://raw.githubusercontent.com/initia/initia-registry/main/mahalo/images/ETH-INIT.svg"
"png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/ETH-INIT.png",
"svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/ETH-INIT.svg"
}
}
]
Expand Down
36 changes: 31 additions & 5 deletions devnets/mahalo/chain.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,12 @@
"provider": "Foundation"
}
],
"grpc": []
"grpc": [
{
"address": "grpc://34.143.171.2:9090",
"provider": "Foundation"
}
]
},
"explorers": [
{
Expand All @@ -113,14 +118,35 @@
"account_page": "https://scan.initia.xyz/mahalo-1/accounts/${accountAddress}"
}
],
"faucets": [
{
"kind": "faucet",
"url": "https://faucet.mahalo-1.initia.xyz/"
}
],
"images": [
{
"png": "https://raw.githubusercontent.com/initia/initia-registry/main/mahalo/images/INIT.png",
"svg": "https://raw.githubusercontent.com/initia/initia-registry/main/mahalo/images/INIT.svg"
"png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/INIT.png",
"svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/INIT.svg"
}
],
"logo_URIs": {
"png": "https://raw.githubusercontent.com/initia/initia-registry/main/mahalo/images/INIT.png",
"svg": "https://raw.githubusercontent.com/initia/initia-registry/main/mahalo/images/INIT.svg"
"png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/INIT.png",
"svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/INIT.svg"
},
"metadata": {
"is_l1": true,
"ibc_channels": {
"channel": [
{
"chain_id": "minimove-1",
"transfer": "channel-0"
},
{
"chain_id": "miniwasm-1",
"transfer": "channel-1"
}
]
}
}
}
Loading
Loading