diff --git a/_packages/initia-registry/package-lock.json b/_packages/initia-registry/package-lock.json index 6e48bb3..c406835 100644 --- a/_packages/initia-registry/package-lock.json +++ b/_packages/initia-registry/package-lock.json @@ -1,15 +1,15 @@ { "name": "@initia/initia-registry", - "version": "0.1.4", + "version": "0.1.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@initia/initia-registry", - "version": "0.1.4", + "version": "0.1.5", "license": "MIT", "dependencies": { - "@initia/initia-registry-types": "^0.0.15" + "@initia/initia-registry-types": "^0.0.17" }, "devDependencies": { "glob": "^10.3.12", @@ -18,9 +18,9 @@ } }, "node_modules/@initia/initia-registry-types": { - "version": "0.0.15", - "resolved": "https://registry.npmjs.org/@initia/initia-registry-types/-/initia-registry-types-0.0.15.tgz", - "integrity": "sha512-lQn9zh9gusPv9gPn7Viy3R+Mi7HhhIbrg8C2xPV0OkqebS8yXX/Zau0/DMrym9ZIillHV1CR2XwYyGGWbfelyQ==", + "version": "0.0.17", + "resolved": "https://registry.npmjs.org/@initia/initia-registry-types/-/initia-registry-types-0.0.17.tgz", + "integrity": "sha512-5zBYKH1cU8I5vGUBmRYqAIbvKSJRehUOvUvDy4ohtcz5G7GjNRWvo7x7aXgMSDw5hnxTcqBCaJxsp4i8EcPIxg==", "dependencies": { "zod": "^3.22.4" } diff --git a/_packages/initia-registry/package.json b/_packages/initia-registry/package.json index a1570fb..c8dd480 100644 --- a/_packages/initia-registry/package.json +++ b/_packages/initia-registry/package.json @@ -1,6 +1,6 @@ { "name": "@initia/initia-registry", - "version": "0.1.4", + "version": "0.1.5", "description": "Initia chain registry", "main": "main/index.js", "module": "esm/index.js", @@ -40,6 +40,6 @@ "rimraf": "^5.0.5" }, "dependencies": { - "@initia/initia-registry-types": "^0.0.15" + "@initia/initia-registry-types": "^0.0.17" } } diff --git a/_packages/initia-registry/src/devnet/assets.ts b/_packages/initia-registry/src/devnet/assets.ts index f769bce..bb41af3 100644 --- a/_packages/initia-registry/src/devnet/assets.ts +++ b/_packages/initia-registry/src/devnet/assets.ts @@ -3,12 +3,14 @@ import { AssetList } from "@initia/initia-registry-types"; import * as _miniwasm from "./miniwasm"; import * as _minimove from "./minimove"; import * as _initia from "./initia"; +import * as _controverse from "./controverse"; import * as _blackwing from "./blackwing"; const assets: AssetList[] = [ _miniwasm.assets, _minimove.assets, _initia.assets, + _controverse.assets, _blackwing.assets, ]; diff --git a/_packages/initia-registry/src/devnet/blackwing/chain.ts b/_packages/initia-registry/src/devnet/blackwing/chain.ts index a6e83bf..fcbda6b 100644 --- a/_packages/initia-registry/src/devnet/blackwing/chain.ts +++ b/_packages/initia-registry/src/devnet/blackwing/chain.ts @@ -97,7 +97,7 @@ const info: Chain = { ], minitia: { type: "minimove", - version: "0.2.3", + version: "v0.2.3", }, }, }; diff --git a/_packages/initia-registry/src/devnet/chains.ts b/_packages/initia-registry/src/devnet/chains.ts index c80b4e1..a2fb5ff 100644 --- a/_packages/initia-registry/src/devnet/chains.ts +++ b/_packages/initia-registry/src/devnet/chains.ts @@ -3,12 +3,14 @@ import { Chain } from "@initia/initia-registry-types"; import * as _miniwasm from "./miniwasm"; import * as _minimove from "./minimove"; import * as _initia from "./initia"; +import * as _controverse from "./controverse"; import * as _blackwing from "./blackwing"; const chains: Chain[] = [ _miniwasm.chain, _minimove.chain, _initia.chain, + _controverse.chain, _blackwing.chain, ]; diff --git a/_packages/initia-registry/src/devnet/controverse/assets.ts b/_packages/initia-registry/src/devnet/controverse/assets.ts new file mode 100644 index 0000000..c4899c4 --- /dev/null +++ b/_packages/initia-registry/src/devnet/controverse/assets.ts @@ -0,0 +1,66 @@ +import { AssetList } from "@initia/initia-registry-types"; +const info: AssetList = { + $schema: "../../assetlist.schema.json", + chain_name: "controverse", + assets: [ + { + description: "The native token of Initia", + denom_units: [ + { + denom: + "l2/2716295e82bab3b0308dc1e35837fe471657ea07ee71aebb6129739fb0f1278a", + exponent: 0, + }, + { + denom: "INIT", + exponent: 6, + }, + ], + base: "l2/2716295e82bab3b0308dc1e35837fe471657ea07ee71aebb6129739fb0f1278a", + display: "INIT", + name: "Initia Native Token", + symbol: "INIT", + coingecko_id: "", + images: [ + { + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/INIT.png", + svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/INIT.svg", + }, + ], + logo_URIs: { + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/INIT.png", + svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/INIT.svg", + }, + }, + { + description: "The fake USDC", + denom_units: [ + { + denom: + "ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", + exponent: 0, + }, + { + denom: "USDC", + exponent: 6, + }, + ], + base: "ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", + display: "USDC", + name: "USDC", + symbol: "USDC", + coingecko_id: "", + images: [ + { + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/USDC.png", + svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/USDC.svg", + }, + ], + logo_URIs: { + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/USDC.png", + svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/USDC.svg", + }, + }, + ], +}; +export default info; diff --git a/_packages/initia-registry/src/devnet/controverse/chain.ts b/_packages/initia-registry/src/devnet/controverse/chain.ts new file mode 100644 index 0000000..93d608b --- /dev/null +++ b/_packages/initia-registry/src/devnet/controverse/chain.ts @@ -0,0 +1,104 @@ +import { Chain } from "@initia/initia-registry-types"; +const info: Chain = { + $schema: "../../chain.schema.json", + chain_name: "controverse", + chain_id: "contro-test-1", + website: "https://contro.tech", + pretty_name: "The Controverse", + status: "live", + network_type: "devnet", + bech32_prefix: "init", + daemon_name: "minitiad", + node_home: "$HOME/.minitia", + key_algos: ["secp256k1"], + slip44: 118, + fees: { + fee_tokens: [ + { + denom: + "l2/2716295e82bab3b0308dc1e35837fe471657ea07ee71aebb6129739fb0f1278a", + fixed_min_gas_price: 0.15, + low_gas_price: 0.15, + average_gas_price: 0.15, + high_gas_price: 0.4, + }, + { + denom: + "ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", + fixed_min_gas_price: 0.15, + low_gas_price: 0.15, + average_gas_price: 0.15, + high_gas_price: 0.4, + }, + ], + }, + staking: { + staking_tokens: [], + }, + description: "Controverse Closed Devnet", + apis: { + rpc: [ + { + address: + "https://maze-rpc-493360ba-cd86-4627-aca3-8b61635eb2bf.ue1-prod.newmetric.xyz", + }, + ], + rest: [ + { + address: + "https://maze-rest-493360ba-cd86-4627-aca3-8b61635eb2bf.ue1-prod.newmetric.xyz", + }, + ], + api: [ + { + address: "https://api.contro.initia.xyz", + }, + ], + }, + explorers: [ + { + kind: "explorer", + url: "https://explorer.mahalo-2.initia.xyz/?layer=controverse", + tx_page: + "https://explorer.mahalo-2.initia.xyz/tx/${txHash}?layer=controverse", + account_page: + "https://explorer.mahalo-2.initia.xyz/address/${accountAddress}?layer=controverse", + }, + { + kind: "initia scan", + url: "https://scan.initia.xyz/contro-test-1", + tx_page: "https://scan.initia.xyz/contro-test-1/txs/${txHash}", + account_page: + "https://scan.initia.xyz/contro-test-1/accounts/${accountAddress}", + }, + ], + images: [ + { + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/miniwasm/images/INIT.png", + svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/miniwasm/images/INIT.svg", + }, + ], + logo_URIs: { + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/miniwasm/images/INIT.png", + svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/miniwasm/images/INIT.svg", + }, + metadata: { + op_bridge_id: "116", + op_denoms: ["uinit"], + ibc_channels: [ + { + chain_id: "mahalo-2", + port_id: "transfer", + channel_id: "channel-0", + version: "ics20-1", + }, + ], + assetlist: + "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/controverse/assetlist.json", + minitia: { + type: "miniwasm", + version: "v2.2.0", + }, + }, +}; +export default info; diff --git a/_packages/initia-registry/src/devnet/controverse/index.ts b/_packages/initia-registry/src/devnet/controverse/index.ts new file mode 100644 index 0000000..3d7a9c6 --- /dev/null +++ b/_packages/initia-registry/src/devnet/controverse/index.ts @@ -0,0 +1,5 @@ +import _assets from "./assets"; +import _chain from "./chain"; + +export const assets = _assets; +export const chain = _chain; diff --git a/_packages/initia-registry/src/devnet/index.ts b/_packages/initia-registry/src/devnet/index.ts index 0fe435d..574c619 100644 --- a/_packages/initia-registry/src/devnet/index.ts +++ b/_packages/initia-registry/src/devnet/index.ts @@ -1,4 +1,5 @@ export * as miniwasm from "./miniwasm"; export * as minimove from "./minimove"; export * as initia from "./initia"; +export * as controverse from "./controverse"; export * as blackwing from "./blackwing"; diff --git a/_packages/initia-registry/src/devnet/initia/chain.ts b/_packages/initia-registry/src/devnet/initia/chain.ts index fe96d15..bbb98aa 100644 --- a/_packages/initia-registry/src/devnet/initia/chain.ts +++ b/_packages/initia-registry/src/devnet/initia/chain.ts @@ -132,6 +132,12 @@ const info: Chain = { channel_id: "channel-3", version: "ics721-1", }, + { + chain_id: "contro-test-1", + port_id: "transfer", + channel_id: "channel-64", + version: "ics20-1", + }, { chain_id: "tomcat-1", port_id: "transfer", diff --git a/_packages/initia-registry/src/devnet/minimove/chain.ts b/_packages/initia-registry/src/devnet/minimove/chain.ts index 9f92d4d..3aed5d7 100644 --- a/_packages/initia-registry/src/devnet/minimove/chain.ts +++ b/_packages/initia-registry/src/devnet/minimove/chain.ts @@ -111,7 +111,7 @@ const info: Chain = { "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/assetlist.json", minitia: { type: "minimove", - version: "0.2.3", + version: "v0.2.3", }, }, }; diff --git a/_packages/initia-registry/src/devnet/miniwasm/chain.ts b/_packages/initia-registry/src/devnet/miniwasm/chain.ts index 6bb0271..32cc4c3 100644 --- a/_packages/initia-registry/src/devnet/miniwasm/chain.ts +++ b/_packages/initia-registry/src/devnet/miniwasm/chain.ts @@ -112,7 +112,7 @@ const info: Chain = { "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/miniwasm/assetlist.json", minitia: { type: "miniwasm", - version: "0.2.2", + version: "v0.2.2", }, }, }; diff --git a/devnets/controverse/assetlist.json b/devnets/controverse/assetlist.json index 7903f3f..ad89cdc 100644 --- a/devnets/controverse/assetlist.json +++ b/devnets/controverse/assetlist.json @@ -1,6 +1,6 @@ { "$schema": "../../assetlist.schema.json", - "chain_name": "miniwasm", + "chain_name": "controverse", "assets": [ { "description": "The native token of Initia",