From 3c0c977272c0915133f1a0e0b7f8e7f49b225389 Mon Sep 17 00:00:00 2001 From: ALPAC-4 Date: Mon, 15 Jul 2024 19:01:15 +0900 Subject: [PATCH] feat: add executor api --- _packages/initia-registry/package.json | 2 +- .../initia-registry/src/testnet/assets.ts | 2 + .../src/testnet/blackwing/assets.ts | 29 +++ .../initia-registry/src/testnet/chains.ts | 2 + .../src/testnet/civitia/assets.ts | 29 +++ .../initia-registry/src/testnet/index.ts | 1 + .../src/testnet/init_ai/assets.ts | 29 +++ .../src/testnet/initia/assets.ts | 220 ++++++++++++++++++ .../src/testnet/initia/chain.ts | 33 +++ .../src/testnet/milkyway/assets.ts | 93 ++++++++ .../src/testnet/milkyway/chain.ts | 130 +++++++++++ .../src/testnet/milkyway/index.ts | 5 + .../src/testnet/minimove/assets.ts | 29 +++ .../src/testnet/minimove/chain.ts | 1 + .../src/testnet/miniwasm/assets.ts | 29 +++ .../src/testnet/miniwasm/chain.ts | 1 + .../src/testnet/noon/assets.ts | 29 +++ .../src/testnet/tucana/assets.ts | 29 +++ _packages/types/package.json | 2 +- _packages/types/src/types/Chain.ts | 5 + _packages/types/src/zods/Chain.ts | 12 + chain.schema.json | 5 + devnets/stonemove/chain.json | 1 + devnets/stonewasm/chain.json | 1 + testnets/minimove/chain.json | 1 + testnets/miniwasm/chain.json | 1 + 26 files changed, 719 insertions(+), 2 deletions(-) create mode 100644 _packages/initia-registry/src/testnet/milkyway/assets.ts create mode 100644 _packages/initia-registry/src/testnet/milkyway/chain.ts create mode 100644 _packages/initia-registry/src/testnet/milkyway/index.ts diff --git a/_packages/initia-registry/package.json b/_packages/initia-registry/package.json index b348c0e..74fc202 100644 --- a/_packages/initia-registry/package.json +++ b/_packages/initia-registry/package.json @@ -1,6 +1,6 @@ { "name": "@initia/initia-registry", - "version": "0.1.13", + "version": "0.1.14", "description": "Initia chain registry", "main": "main/index.js", "module": "esm/index.js", diff --git a/_packages/initia-registry/src/testnet/assets.ts b/_packages/initia-registry/src/testnet/assets.ts index 4cf2887..a186dbe 100644 --- a/_packages/initia-registry/src/testnet/assets.ts +++ b/_packages/initia-registry/src/testnet/assets.ts @@ -4,6 +4,7 @@ import * as _tucana from "./tucana"; import * as _noon from "./noon"; import * as _miniwasm from "./miniwasm"; import * as _minimove from "./minimove"; +import * as _milkyway from "./milkyway"; import * as _initia from "./initia"; import * as _init_ai from "./init_ai"; import * as _civitia from "./civitia"; @@ -14,6 +15,7 @@ const assets: AssetList[] = [ _noon.assets, _miniwasm.assets, _minimove.assets, + _milkyway.assets, _initia.assets, _init_ai.assets, _civitia.assets, diff --git a/_packages/initia-registry/src/testnet/blackwing/assets.ts b/_packages/initia-registry/src/testnet/blackwing/assets.ts index 527ad07..d9f2101 100644 --- a/_packages/initia-registry/src/testnet/blackwing/assets.ts +++ b/_packages/initia-registry/src/testnet/blackwing/assets.ts @@ -148,6 +148,35 @@ const info: AssetList = { svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/tucana/images/TUCANA.svg", }, }, + { + description: "The INIT Liquid Staking Token", + denom_units: [ + { + denom: + "ibc/7F4EE5B281CD4EEF975BD4A892A275D9AB4987BDB70974763A438524631347E5", + exponent: 0, + }, + { + denom: "milkINIT", + exponent: 6, + }, + ], + base: "ibc/7F4EE5B281CD4EEF975BD4A892A275D9AB4987BDB70974763A438524631347E5", + display: "milkINIT", + name: "INIT Liquid Staking Token", + symbol: "milkINIT", + coingecko_id: "", + images: [ + { + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/milkyway/images/milkINIT.png", + svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/milkyway/images/milkINIT.svg", + }, + ], + logo_URIs: { + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/milkyway/images/milkINIT.png", + svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/milkyway/images/milkINIT.svg", + }, + }, ], }; export default info; diff --git a/_packages/initia-registry/src/testnet/chains.ts b/_packages/initia-registry/src/testnet/chains.ts index ef9cbd4..c8f6f6e 100644 --- a/_packages/initia-registry/src/testnet/chains.ts +++ b/_packages/initia-registry/src/testnet/chains.ts @@ -4,6 +4,7 @@ import * as _tucana from "./tucana"; import * as _noon from "./noon"; import * as _miniwasm from "./miniwasm"; import * as _minimove from "./minimove"; +import * as _milkyway from "./milkyway"; import * as _initia from "./initia"; import * as _init_ai from "./init_ai"; import * as _civitia from "./civitia"; @@ -14,6 +15,7 @@ const chains: Chain[] = [ _noon.chain, _miniwasm.chain, _minimove.chain, + _milkyway.chain, _initia.chain, _init_ai.chain, _civitia.chain, diff --git a/_packages/initia-registry/src/testnet/civitia/assets.ts b/_packages/initia-registry/src/testnet/civitia/assets.ts index 5a60e28..90adaa8 100644 --- a/_packages/initia-registry/src/testnet/civitia/assets.ts +++ b/_packages/initia-registry/src/testnet/civitia/assets.ts @@ -32,6 +32,35 @@ const info: AssetList = { svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/civitia/images/INIT.svg", }, }, + { + description: "The INIT Liquid Staking Token", + denom_units: [ + { + denom: + "ibc/7F4EE5B281CD4EEF975BD4A892A275D9AB4987BDB70974763A438524631347E5", + exponent: 0, + }, + { + denom: "milkINIT", + exponent: 6, + }, + ], + base: "ibc/7F4EE5B281CD4EEF975BD4A892A275D9AB4987BDB70974763A438524631347E5", + display: "milkINIT", + name: "INIT Liquid Staking Token", + symbol: "milkINIT", + coingecko_id: "", + images: [ + { + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/milkyway/images/milkINIT.png", + svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/milkyway/images/milkINIT.svg", + }, + ], + logo_URIs: { + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/milkyway/images/milkINIT.png", + svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/milkyway/images/milkINIT.svg", + }, + }, ], }; export default info; diff --git a/_packages/initia-registry/src/testnet/index.ts b/_packages/initia-registry/src/testnet/index.ts index 313f317..37494d8 100644 --- a/_packages/initia-registry/src/testnet/index.ts +++ b/_packages/initia-registry/src/testnet/index.ts @@ -2,6 +2,7 @@ export * as tucana from "./tucana"; export * as noon from "./noon"; export * as miniwasm from "./miniwasm"; export * as minimove from "./minimove"; +export * as milkyway from "./milkyway"; export * as initia from "./initia"; export * as init_ai from "./init_ai"; export * as civitia from "./civitia"; diff --git a/_packages/initia-registry/src/testnet/init_ai/assets.ts b/_packages/initia-registry/src/testnet/init_ai/assets.ts index 6e391ad..c4231d7 100644 --- a/_packages/initia-registry/src/testnet/init_ai/assets.ts +++ b/_packages/initia-registry/src/testnet/init_ai/assets.ts @@ -148,6 +148,35 @@ const info: AssetList = { svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/tucana/images/TUCANA.svg", }, }, + { + description: "The INIT Liquid Staking Token", + denom_units: [ + { + denom: + "ibc/7F4EE5B281CD4EEF975BD4A892A275D9AB4987BDB70974763A438524631347E5", + exponent: 0, + }, + { + denom: "milkINIT", + exponent: 6, + }, + ], + base: "ibc/7F4EE5B281CD4EEF975BD4A892A275D9AB4987BDB70974763A438524631347E5", + display: "milkINIT", + name: "INIT Liquid Staking Token", + symbol: "milkINIT", + coingecko_id: "", + images: [ + { + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/milkyway/images/milkINIT.png", + svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/milkyway/images/milkINIT.svg", + }, + ], + logo_URIs: { + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/milkyway/images/milkINIT.png", + svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/milkyway/images/milkINIT.svg", + }, + }, ], }; export default info; diff --git a/_packages/initia-registry/src/testnet/initia/assets.ts b/_packages/initia-registry/src/testnet/initia/assets.ts index 86315b1..d0722be 100644 --- a/_packages/initia-registry/src/testnet/initia/assets.ts +++ b/_packages/initia-registry/src/testnet/initia/assets.ts @@ -536,6 +536,226 @@ const info: AssetList = { png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/initia/images/tucanaINIT.png", }, }, + { + description: "The INIT Liquid Staking Token", + denom_units: [ + { + denom: + "ibc/26939E676F967B14E319631A9A42233148BBC7F7CEFDCBD347447AF0AE37B1AD", + exponent: 0, + }, + { + denom: "milkINIT", + exponent: 6, + }, + ], + base: "ibc/26939E676F967B14E319631A9A42233148BBC7F7CEFDCBD347447AF0AE37B1AD", + display: "milkINIT", + name: "INIT Liquid Staking Token", + symbol: "milkINIT", + coingecko_id: "", + images: [ + { + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/milkyway/images/milkINIT.png", + svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/milkyway/images/milkINIT.svg", + }, + ], + logo_URIs: { + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/milkyway/images/milkINIT.png", + svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/milkyway/images/milkINIT.svg", + }, + }, + { + description: "Minitswap staked INIT", + denom_units: [ + { + denom: + "move/8d9c9cb5eac53eef597d309a55089f6f2c7932cc2a88d041155adb27aa93d809", + exponent: 0, + }, + { + denom: "oINIT", + exponent: 6, + }, + ], + base: "move/8d9c9cb5eac53eef597d309a55089f6f2c7932cc2a88d041155adb27aa93d809", + display: "oINIT", + name: "omniINIT", + symbol: "oINIT", + coingecko_id: "", + images: [ + { + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/initia/images/omniINIT.png", + svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/initia/images/omniINIT.svg", + }, + ], + logo_URIs: { + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/initia/images/omniINIT.png", + svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/initia/images/omniINIT.svg", + }, + }, + { + description: "Minitswap Minimove IBC INIT Pool Token", + denom_units: [ + { + denom: + "move/47804fcaa89c941d3969be6e9eef545eb4476ec4c102ca576729ad93b3524b56", + exponent: 0, + }, + { + denom: "minimoveINIT-INIT LP", + exponent: 6, + }, + ], + base: "move/47804fcaa89c941d3969be6e9eef545eb4476ec4c102ca576729ad93b3524b56", + display: "minimoveINIT-INIT LP", + name: "minimoveINIT-INIT LP Token", + symbol: "minimoveINIT-INIT LP", + coingecko_id: "", + images: [ + { + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/initia/images/minimoveINIT-INIT.png", + }, + ], + logo_URIs: { + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/initia/images/minimoveINIT-INIT.png", + }, + }, + { + description: "Minitswap Miniwasm IBC INIT Pool Token", + denom_units: [ + { + denom: + "move/cd623bbbeda203118dcb0ecee6885950b0f22375db2b135a2205284fdbad03e6", + exponent: 0, + }, + { + denom: "miniwasmINIT-INIT LP", + exponent: 6, + }, + ], + base: "move/cd623bbbeda203118dcb0ecee6885950b0f22375db2b135a2205284fdbad03e6", + display: "miniwasmINIT-INIT LP", + name: "miniwasmINIT-INIT LP Token", + symbol: "miniwasmINIT-INIT LP", + coingecko_id: "", + images: [ + { + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/initia/images/miniwasmINIT-INIT.png", + }, + ], + logo_URIs: { + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/initia/images/miniwasmINIT-INIT.png", + }, + }, + { + description: "Minitswap Civitia IBC INIT Pool Token", + denom_units: [ + { + denom: + "move/a0739176807862684bfb051cce84bc2751447649bd30c00f6c76fb6b85093f1c", + exponent: 0, + }, + { + denom: "civitiaINIT-INIT LP", + exponent: 6, + }, + ], + base: "move/a0739176807862684bfb051cce84bc2751447649bd30c00f6c76fb6b85093f1c", + display: "civitiaINIT-INIT LP", + name: "civitiaINIT-INIT LP Token", + symbol: "civitiaINIT-INIT LP", + coingecko_id: "", + images: [ + { + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/initia/images/civitiaINIT-INIT.png", + }, + ], + logo_URIs: { + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/initia/images/civitiaINIT-INIT.png", + }, + }, + { + description: "Minitswap Init AI IBC INIT Pool Token", + denom_units: [ + { + denom: + "move/669d7f76d36a929fa1e9447e0b3a62d47d598d23b4c57ba366c5b39e8dbd4ae0", + exponent: 0, + }, + { + denom: "initaiINIT-INIT LP", + exponent: 6, + }, + ], + base: "move/669d7f76d36a929fa1e9447e0b3a62d47d598d23b4c57ba366c5b39e8dbd4ae0", + display: "initaiINIT-INIT LP", + name: "initaiINIT-INIT LP Token", + symbol: "initaiINIT-INIT LP", + coingecko_id: "", + images: [ + { + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/initia/images/initaiINIT-INIT.png", + }, + ], + logo_URIs: { + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/initia/images/initaiINIT-INIT.png", + }, + }, + { + description: "Minitswap Noon IBC INIT Pool Token", + denom_units: [ + { + denom: + "move/4b315e6bc5d34f8b1f7f0a7deadce9435c05d4f9e7d91d337f982f9753251efd", + exponent: 0, + }, + { + denom: "noonINIT-INIT LP", + exponent: 6, + }, + ], + base: "move/4b315e6bc5d34f8b1f7f0a7deadce9435c05d4f9e7d91d337f982f9753251efd", + display: "noonINIT-INIT LP", + name: "noonINIT-INIT LP Token", + symbol: "noonINIT-INIT LP", + coingecko_id: "", + images: [ + { + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/initia/images/noonINIT-INIT.png", + }, + ], + logo_URIs: { + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/initia/images/noonINIT-INIT.png", + }, + }, + { + description: "Minitswap Tucana IBC INIT Pool Token", + denom_units: [ + { + denom: + "move/d419ed4d39e541119bb1b88d638050784449be56bb5b9acc8e204a700d94e165", + exponent: 0, + }, + { + denom: "noonINIT-INIT LP", + exponent: 6, + }, + ], + base: "move/d419ed4d39e541119bb1b88d638050784449be56bb5b9acc8e204a700d94e165", + display: "tucanaINIT-INIT LP", + name: "tucanaINIT-INIT LP Token", + symbol: "tucanaINIT-INIT LP", + coingecko_id: "", + images: [ + { + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/initia/images/tucanaINIT-INIT.png", + }, + ], + logo_URIs: { + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/initia/images/tucanaINIT-INIT.png", + }, + }, ], }; export default info; diff --git a/_packages/initia-registry/src/testnet/initia/chain.ts b/_packages/initia-registry/src/testnet/initia/chain.ts index 2cd8a11..7f7bb9e 100644 --- a/_packages/initia-registry/src/testnet/initia/chain.ts +++ b/_packages/initia-registry/src/testnet/initia/chain.ts @@ -96,6 +96,11 @@ const info: Chain = { address: "https://initia-testnet-rpc.itrocket.net", provider: "ITRocket", }, + { + address: "https://rpc-skip.initiation-1.initia.xyz", + provider: "Initia Labs", + authorizedUser: "skip", + }, ], rest: [ { @@ -143,6 +148,11 @@ const info: Chain = { address: "https://initia-testnet-api.itrocket.net", provider: "ITRocket", }, + { + address: "https://lcd-skip.initiation-1.initia.xyz", + provider: "Initia Labs", + authorizedUser: "skip", + }, ], api: [ { @@ -171,6 +181,11 @@ const info: Chain = { address: "initia-testnet-grpc.itrocket.net:443", provider: "ITRocket", }, + { + address: "35.240.231.235:9090", + provider: "Initia Labs", + authorizedUser: "skip", + }, ], }, explorers: [ @@ -279,6 +294,24 @@ const info: Chain = { channel_id: "channel-49", version: "ics721-1", }, + { + chain_id: "ms-4", + port_id: "transfer", + channel_id: "channel-417", + version: "ics20-1", + }, + { + chain_id: "ms-4", + port_id: "nft-transfer", + channel_id: "channel-418", + version: "ics721-1", + }, + { + chain_id: "glados-1", + port_id: "transfer", + channel_id: "channel-310", + version: "ics20-1", + }, ], assetlist: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/initia/assetlist.json", diff --git a/_packages/initia-registry/src/testnet/milkyway/assets.ts b/_packages/initia-registry/src/testnet/milkyway/assets.ts new file mode 100644 index 0000000..a2a925d --- /dev/null +++ b/_packages/initia-registry/src/testnet/milkyway/assets.ts @@ -0,0 +1,93 @@ +import { AssetList } from "@initia/initia-registry-types"; +const info: AssetList = { + $schema: "../../assetlist.schema.json", + chain_name: "milkyway", + assets: [ + { + description: "The native token of MilkyWay", + denom_units: [ + { + denom: "umilk", + exponent: 0, + }, + { + denom: "MILK", + exponent: 6, + }, + ], + base: "umilk", + display: "MILK", + name: "MilkyWay Native Token", + symbol: "MILK", + coingecko_id: "", + images: [ + { + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/milkyway/images/MILK.png", + svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/milkyway/images/MILK.svg", + }, + ], + logo_URIs: { + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/milkyway/images/MILK.png", + svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/milkyway/images/MILK.svg", + }, + }, + { + description: "The INIT Liquid Staking Token", + denom_units: [ + { + denom: "milkuinit", + exponent: 0, + }, + { + denom: "milkINIT", + exponent: 6, + }, + ], + base: "milkuinit", + display: "milkINIT", + name: "INIT Liquid Staking Token", + symbol: "milkINIT", + coingecko_id: "", + images: [ + { + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/milkyway/images/milkINIT.png", + svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/milkyway/images/milkINIT.svg", + }, + ], + logo_URIs: { + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/milkyway/images/milkINIT.png", + svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/milkyway/images/milkINIT.svg", + }, + }, + { + description: "The native token of Initia (IBC-Bridged)", + denom_units: [ + { + denom: + "ibc/37A3FB4FED4CA04ED6D9E5DA36C6D27248645F0E22F585576A1488B8A89C5A50", + exponent: 0, + }, + { + denom: "INIT", + exponent: 6, + }, + ], + base: "ibc/37A3FB4FED4CA04ED6D9E5DA36C6D27248645F0E22F585576A1488B8A89C5A50", + display: "INIT", + name: "Initia Native Token (IBC)", + symbol: "INIT", + coingecko_id: "", + images: [ + { + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/initia/images/INIT.png", + svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/initia/images/INIT.svg", + }, + ], + logo_URIs: { + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/initia/images/INIT.png", + svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/initia/images/INIT.svg", + }, + }, + ], +}; +export default info; diff --git a/_packages/initia-registry/src/testnet/milkyway/chain.ts b/_packages/initia-registry/src/testnet/milkyway/chain.ts new file mode 100644 index 0000000..7736525 --- /dev/null +++ b/_packages/initia-registry/src/testnet/milkyway/chain.ts @@ -0,0 +1,130 @@ +import { Chain } from "@initia/initia-registry-types"; +const info: Chain = { + $schema: "../../chain.schema.json", + chain_name: "milkyway", + chain_id: "glados-1", + website: "https://miilkyway.zone", + pretty_name: "MilkyWay", + status: "live", + network_type: "testnet", + bech32_prefix: "init", + daemon_name: "milkywayd", + node_home: "$HOME/.milkywayd", + key_algos: ["secp256k1"], + slip44: 118, + fees: { + fee_tokens: [ + { + denom: "umilk", + fixed_min_gas_price: 0.15, + low_gas_price: 0.2, + average_gas_price: 0.3, + high_gas_price: 0.4, + }, + { + denom: + "ibc/37A3FB4FED4CA04ED6D9E5DA36C6D27248645F0E22F585576A1488B8A89C5A50", + fixed_min_gas_price: 0.15, + low_gas_price: 0.2, + average_gas_price: 0.3, + high_gas_price: 0.4, + }, + ], + }, + staking: { + staking_tokens: [], + }, + description: "MilkyWay Public Testnet", + apis: { + rpc: [ + { + address: "https://rpc.testnet.milkyway.zone", + provider: "MilkyWay Labs", + }, + ], + rest: [ + { + address: "https://lcd.testnet.milkyway.zone", + provider: "MilkyWay Labs", + }, + ], + }, + explorers: [ + { + kind: "initia scan", + url: "https://scan.testnet.initia.xyz/glados-1", + tx_page: "https://scan.testnet.initia.xyz/glados-1/txs/${txHash}", + account_page: + "https://scan.testnet.initia.xyz/glados-1/accounts/${accountAddress}", + }, + ], + faucets: [], + images: [ + { + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/milkyway/images/MilkyWay.png", + svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/milkyway/images/MilkyWay.svg", + }, + ], + logo_URIs: { + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/milkyway/images/MilkyWay.png", + svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/milkyway/images/MilkyWay.svg", + }, + metadata: { + op_bridge_id: "98", + op_denoms: [], + ibc_channels: [ + { + chain_id: "initiation-1", + port_id: "transfer", + channel_id: "channel-0", + version: "ics20-1", + }, + { + chain_id: "initiation-1", + port_id: + "wasm.init1wug8sewp6cedgkmrmvhl3lf3tulagm9hnvy8p0rppz9yjw0g4wtq7947m6", + channel_id: "channel-1", + version: "ics721-1", + }, + { + chain_id: "initiation-1", + port_id: "icacontroller-initiation-1.FEE,", + channel_id: "channel-3", + version: "ics20-1", + }, + { + chain_id: "initiation-1", + port_id: "icacontroller-initiation-1.WITHDRAWAL", + channel_id: "channel-4", + version: "ics20-1", + }, + { + chain_id: "initiation-1", + port_id: "icacontroller-initiation-1.REDEMPTION", + channel_id: "channel-5", + version: "ics20-1", + }, + { + chain_id: "initiation-1", + port_id: "icacontroller-initiation-1.COMMUNITY_POOL_DEPOSIT", + channel_id: "channel-6", + version: "ics20-1", + }, + { + chain_id: "initiation-1", + port_id: "icacontroller-initiation-1.COMMUNITY_POOL_RETURN", + channel_id: "channel-7", + version: "ics20-1", + }, + { + chain_id: "initiation-1", + port_id: "icacontroller-initiation-1.DELEGATION", + channel_id: "channel-8", + version: "ics20-1", + }, + ], + assetlist: + "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/milkyway/assetlist.json", + }, +}; +export default info; diff --git a/_packages/initia-registry/src/testnet/milkyway/index.ts b/_packages/initia-registry/src/testnet/milkyway/index.ts new file mode 100644 index 0000000..3d7a9c6 --- /dev/null +++ b/_packages/initia-registry/src/testnet/milkyway/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/testnet/minimove/assets.ts b/_packages/initia-registry/src/testnet/minimove/assets.ts index 69d9018..c090317 100644 --- a/_packages/initia-registry/src/testnet/minimove/assets.ts +++ b/_packages/initia-registry/src/testnet/minimove/assets.ts @@ -148,6 +148,35 @@ const info: AssetList = { svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/tucana/images/TUCANA.svg", }, }, + { + description: "The INIT Liquid Staking Token", + denom_units: [ + { + denom: + "ibc/7F4EE5B281CD4EEF975BD4A892A275D9AB4987BDB70974763A438524631347E5", + exponent: 0, + }, + { + denom: "milkINIT", + exponent: 6, + }, + ], + base: "ibc/7F4EE5B281CD4EEF975BD4A892A275D9AB4987BDB70974763A438524631347E5", + display: "milkINIT", + name: "INIT Liquid Staking Token", + symbol: "milkINIT", + coingecko_id: "", + images: [ + { + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/milkyway/images/milkINIT.png", + svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/milkyway/images/milkINIT.svg", + }, + ], + logo_URIs: { + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/milkyway/images/milkINIT.png", + svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/milkyway/images/milkINIT.svg", + }, + }, ], }; export default info; diff --git a/_packages/initia-registry/src/testnet/minimove/chain.ts b/_packages/initia-registry/src/testnet/minimove/chain.ts index bb82c82..44e8c1e 100644 --- a/_packages/initia-registry/src/testnet/minimove/chain.ts +++ b/_packages/initia-registry/src/testnet/minimove/chain.ts @@ -79,6 +79,7 @@ const info: Chain = { metadata: { op_bridge_id: "1", op_denoms: ["uinit"], + executor_uri: "https://executor.minimove-1.initia.xyz", ibc_channels: [ { chain_id: "initiation-1", diff --git a/_packages/initia-registry/src/testnet/miniwasm/assets.ts b/_packages/initia-registry/src/testnet/miniwasm/assets.ts index d7841d7..3bf6ca6 100644 --- a/_packages/initia-registry/src/testnet/miniwasm/assets.ts +++ b/_packages/initia-registry/src/testnet/miniwasm/assets.ts @@ -148,6 +148,35 @@ const info: AssetList = { svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/tucana/images/TUCANA.svg", }, }, + { + description: "The INIT Liquid Staking Token", + denom_units: [ + { + denom: + "ibc/7F4EE5B281CD4EEF975BD4A892A275D9AB4987BDB70974763A438524631347E5", + exponent: 0, + }, + { + denom: "milkINIT", + exponent: 6, + }, + ], + base: "ibc/7F4EE5B281CD4EEF975BD4A892A275D9AB4987BDB70974763A438524631347E5", + display: "milkINIT", + name: "INIT Liquid Staking Token", + symbol: "milkINIT", + coingecko_id: "", + images: [ + { + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/milkyway/images/milkINIT.png", + svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/milkyway/images/milkINIT.svg", + }, + ], + logo_URIs: { + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/milkyway/images/milkINIT.png", + svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/milkyway/images/milkINIT.svg", + }, + }, ], }; export default info; diff --git a/_packages/initia-registry/src/testnet/miniwasm/chain.ts b/_packages/initia-registry/src/testnet/miniwasm/chain.ts index 2f5585b..4b97582 100644 --- a/_packages/initia-registry/src/testnet/miniwasm/chain.ts +++ b/_packages/initia-registry/src/testnet/miniwasm/chain.ts @@ -79,6 +79,7 @@ const info: Chain = { metadata: { op_bridge_id: "2", op_denoms: ["uinit"], + executor_uri: "https://executor.miniwasm-1.initia.xyz", ibc_channels: [ { chain_id: "initiation-1", diff --git a/_packages/initia-registry/src/testnet/noon/assets.ts b/_packages/initia-registry/src/testnet/noon/assets.ts index 7cb8ce0..bd62546 100644 --- a/_packages/initia-registry/src/testnet/noon/assets.ts +++ b/_packages/initia-registry/src/testnet/noon/assets.ts @@ -176,6 +176,35 @@ const info: AssetList = { svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/noon/images/NOON.svg", }, }, + { + description: "The INIT Liquid Staking Token", + denom_units: [ + { + denom: + "ibc/7F4EE5B281CD4EEF975BD4A892A275D9AB4987BDB70974763A438524631347E5", + exponent: 0, + }, + { + denom: "milkINIT", + exponent: 6, + }, + ], + base: "ibc/7F4EE5B281CD4EEF975BD4A892A275D9AB4987BDB70974763A438524631347E5", + display: "milkINIT", + name: "INIT Liquid Staking Token", + symbol: "milkINIT", + coingecko_id: "", + images: [ + { + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/milkyway/images/milkINIT.png", + svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/milkyway/images/milkINIT.svg", + }, + ], + logo_URIs: { + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/milkyway/images/milkINIT.png", + svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/milkyway/images/milkINIT.svg", + }, + }, ], }; export default info; diff --git a/_packages/initia-registry/src/testnet/tucana/assets.ts b/_packages/initia-registry/src/testnet/tucana/assets.ts index 1cff1d3..7ef4553 100644 --- a/_packages/initia-registry/src/testnet/tucana/assets.ts +++ b/_packages/initia-registry/src/testnet/tucana/assets.ts @@ -176,6 +176,35 @@ const info: AssetList = { svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/initia/images/TIA.svg", }, }, + { + description: "The INIT Liquid Staking Token", + denom_units: [ + { + denom: + "ibc/7F4EE5B281CD4EEF975BD4A892A275D9AB4987BDB70974763A438524631347E5", + exponent: 0, + }, + { + denom: "milkINIT", + exponent: 6, + }, + ], + base: "ibc/7F4EE5B281CD4EEF975BD4A892A275D9AB4987BDB70974763A438524631347E5", + display: "milkINIT", + name: "INIT Liquid Staking Token", + symbol: "milkINIT", + coingecko_id: "", + images: [ + { + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/milkyway/images/milkINIT.png", + svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/milkyway/images/milkINIT.svg", + }, + ], + logo_URIs: { + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/milkyway/images/milkINIT.png", + svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/milkyway/images/milkINIT.svg", + }, + }, ], }; export default info; diff --git a/_packages/types/package.json b/_packages/types/package.json index 76502fb..66514ef 100644 --- a/_packages/types/package.json +++ b/_packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@initia/initia-registry-types", - "version": "0.0.18", + "version": "0.0.19", "description": "The package provides TypeScript type definitions and Zod integration for initia-registry.", "types": "./dist/types/index.d.ts", "exports": { diff --git a/_packages/types/src/types/Chain.ts b/_packages/types/src/types/Chain.ts index 93e4ff7..f5fa61e 100644 --- a/_packages/types/src/types/Chain.ts +++ b/_packages/types/src/types/Chain.ts @@ -208,6 +208,10 @@ export interface Chain { * [Optional] The identifier of the OPinit bridge used to transfer assets between L1 and L2. */ op_bridge_id?: string; + /** + * [Optional] The OPInit executor api endpoint + */ + executor_uri?: string; /** * [Optional] The list of denoms that are supported by the OPinit bridge. */ @@ -269,6 +273,7 @@ export interface Endpoint { address: string; provider?: string; archive?: boolean; + authorizedUser?: string; } export interface Explorer { kind?: string; diff --git a/_packages/types/src/zods/Chain.ts b/_packages/types/src/zods/Chain.ts index c0d08b5..13cf77f 100644 --- a/_packages/types/src/zods/Chain.ts +++ b/_packages/types/src/zods/Chain.ts @@ -336,6 +336,7 @@ export const ChainSchema = z address: z.string().url(), provider: z.string().optional(), archive: z.boolean().default(false), + authorizedUser: z.string().optional(), }) .strict() ) @@ -347,6 +348,7 @@ export const ChainSchema = z address: z.string().url(), provider: z.string().optional(), archive: z.boolean().default(false), + authorizedUser: z.string().optional(), }) .strict() ) @@ -358,6 +360,7 @@ export const ChainSchema = z address: z.string().url(), provider: z.string().optional(), archive: z.boolean().default(false), + authorizedUser: z.string().optional(), }) .strict() ) @@ -369,6 +372,7 @@ export const ChainSchema = z address: z.string().url(), provider: z.string().optional(), archive: z.boolean().default(false), + authorizedUser: z.string().optional(), }) .strict() ) @@ -380,6 +384,7 @@ export const ChainSchema = z address: z.string().url(), provider: z.string().optional(), archive: z.boolean().default(false), + authorizedUser: z.string().optional(), }) .strict() ) @@ -391,6 +396,7 @@ export const ChainSchema = z address: z.string().url(), provider: z.string().optional(), archive: z.boolean().default(false), + authorizedUser: z.string().optional(), }) .strict() ) @@ -402,6 +408,7 @@ export const ChainSchema = z address: z.string().url(), provider: z.string().optional(), archive: z.boolean().default(false), + authorizedUser: z.string().optional(), }) .strict() ) @@ -445,6 +452,11 @@ export const ChainSchema = z "[Optional] The identifier of the OPinit bridge used to transfer assets between L1 and L2." ) .optional(), + executor_uri: z + .string() + .url() + .describe("[Optional] The OPInit executor api endpoint") + .optional(), op_denoms: z .array(z.string()) .describe( diff --git a/chain.schema.json b/chain.schema.json index ab8781d..0d3128f 100644 --- a/chain.schema.json +++ b/chain.schema.json @@ -558,6 +558,11 @@ "type": "string", "description": "[Optional] The identifier of the OPinit bridge used to transfer assets between L1 and L2." }, + "executor_uri": { + "type": "string", + "format": "uri", + "description": "[Optional] The OPInit executor api endpoint" + }, "op_denoms": { "type": "array", "items": { diff --git a/devnets/stonemove/chain.json b/devnets/stonemove/chain.json index 36847e5..6aba3a7 100644 --- a/devnets/stonemove/chain.json +++ b/devnets/stonemove/chain.json @@ -97,6 +97,7 @@ "metadata": { "op_bridge_id": "1", "op_denoms": ["uinit"], + "executor_uri": "https://executor.stonemove-16.initia.xyz", "ibc_channels": [ { "chain_id": "stone-16", diff --git a/devnets/stonewasm/chain.json b/devnets/stonewasm/chain.json index 3aaf325..47559e7 100644 --- a/devnets/stonewasm/chain.json +++ b/devnets/stonewasm/chain.json @@ -97,6 +97,7 @@ "metadata": { "op_bridge_id": "2", "op_denoms": ["uinit"], + "executor_uri": "https://executor.stonewasm-16.initia.xyz", "ibc_channels": [ { "chain_id": "stone-16", diff --git a/testnets/minimove/chain.json b/testnets/minimove/chain.json index abcc0b0..ee2cf94 100644 --- a/testnets/minimove/chain.json +++ b/testnets/minimove/chain.json @@ -93,6 +93,7 @@ "metadata": { "op_bridge_id": "1", "op_denoms": ["uinit"], + "executor_uri": "https://executor.minimove-1.initia.xyz", "ibc_channels": [ { "chain_id": "initiation-1", diff --git a/testnets/miniwasm/chain.json b/testnets/miniwasm/chain.json index d8e2b13..ad88013 100644 --- a/testnets/miniwasm/chain.json +++ b/testnets/miniwasm/chain.json @@ -93,6 +93,7 @@ "metadata": { "op_bridge_id": "2", "op_denoms": ["uinit"], + "executor_uri": "https://executor.miniwasm-1.initia.xyz", "ibc_channels": [ { "chain_id": "initiation-1",