Skip to content

Commit

Permalink
update: update initia registry package
Browse files Browse the repository at this point in the history
  • Loading branch information
ALPAC-4 committed Jun 4, 2024
1 parent 18cffd9 commit 84f87b4
Show file tree
Hide file tree
Showing 19 changed files with 328 additions and 39 deletions.
2 changes: 1 addition & 1 deletion _packages/initia-registry/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@initia/initia-registry",
"version": "0.1.9",
"version": "0.1.10",
"description": "Initia chain registry",
"main": "main/index.js",
"module": "esm/index.js",
Expand Down
2 changes: 2 additions & 0 deletions _packages/initia-registry/src/testnet/assets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import * as _miniwasm from "./miniwasm";
import * as _minimove from "./minimove";
import * as _initia from "./initia";
import * as _init_ai from "./init_ai";
import * as _civitia from "./civitia";
import * as _blackwing from "./blackwing";

const assets: AssetList[] = [
Expand All @@ -15,6 +16,7 @@ const assets: AssetList[] = [
_minimove.assets,
_initia.assets,
_init_ai.assets,
_civitia.assets,
_blackwing.assets,
];

Expand Down
8 changes: 4 additions & 4 deletions _packages/initia-registry/src/testnet/blackwing/assets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@ const info: AssetList = {
coingecko_id: "",
images: [
{
png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/initia/images/ETH.png",
svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/initia/images/ETH.svg",
png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/initia/images/ETH.png",
svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/initia/images/ETH.svg",
},
],
logo_URIs: {
png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/initia/images/ETH.png",
svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/initia/images/ETH.svg",
png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/initia/images/ETH.png",
svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/initia/images/ETH.svg",
},
},
{
Expand Down
5 changes: 5 additions & 0 deletions _packages/initia-registry/src/testnet/blackwing/chain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ const info: Chain = {
"https://maze-rest-18bdff44-3aa4-425e-9bc0-06a2afa40af8.ue1-prod.newmetric.xyz",
},
],
grpc: [
{
address: "grpc://54.227.5.191:31000",
},
],
},
explorers: [
{
Expand Down
2 changes: 2 additions & 0 deletions _packages/initia-registry/src/testnet/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import * as _miniwasm from "./miniwasm";
import * as _minimove from "./minimove";
import * as _initia from "./initia";
import * as _init_ai from "./init_ai";
import * as _civitia from "./civitia";
import * as _blackwing from "./blackwing";

const chains: Chain[] = [
Expand All @@ -15,6 +16,7 @@ const chains: Chain[] = [
_minimove.chain,
_initia.chain,
_init_ai.chain,
_civitia.chain,
_blackwing.chain,
];

Expand Down
37 changes: 37 additions & 0 deletions _packages/initia-registry/src/testnet/civitia/assets.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
import { AssetList } from "@initia/initia-registry-types";
const info: AssetList = {
$schema: "../../assetlist.schema.json",
chain_name: "civitia",
assets: [
{
description: "The native token of Initia",
denom_units: [
{
denom:
"l2/afaa3f4e1717c75712f8e8073e41f051a4e516cd25daa82d948c4729388edefd",
exponent: 0,
},
{
denom: "INIT",
exponent: 6,
},
],
base: "l2/afaa3f4e1717c75712f8e8073e41f051a4e516cd25daa82d948c4729388edefd",
display: "INIT",
name: "Initia Native Token",
symbol: "INIT",
coingecko_id: "",
images: [
{
png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/civitia/images/INIT.png",
svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/civitia/images/INIT.svg",
},
],
logo_URIs: {
png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/civitia/images/INIT.png",
svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/civitia/images/INIT.svg",
},
},
],
};
export default info;
92 changes: 92 additions & 0 deletions _packages/initia-registry/src/testnet/civitia/chain.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
import { Chain } from "@initia/initia-registry-types";
const info: Chain = {
$schema: "../../chain.schema.json",
chain_name: "civitia",
chain_id: "landlord-1",
website: "https://www.civitia.xyz/",
pretty_name: "Civitia",
status: "live",
network_type: "testnet",
bech32_prefix: "init",
daemon_name: "minitiad",
node_home: "$HOME/.minitia",
key_algos: ["secp256k1"],
slip44: 118,
fees: {
fee_tokens: [
{
denom:
"l2/afaa3f4e1717c75712f8e8073e41f051a4e516cd25daa82d948c4729388edefd",
fixed_min_gas_price: 0.15,
low_gas_price: 0.15,
average_gas_price: 0.15,
high_gas_price: 0.4,
},
],
},
staking: {
staking_tokens: [],
},
codebase: {},
description: "Civitia Public Testnet",
apis: {
rpc: [
{
address:
"https://maze-rpc-sequencer-beab9b6f-d96d-435e-9caf-5679296d8172.ue1-prod.newmetric.xyz",
provider: "Foundation",
},
],
rest: [
{
address:
"https://maze-rest-sequencer-beab9b6f-d96d-435e-9caf-5679296d8172.ue1-prod.newmetric.xyz",
provider: "Foundation",
},
],
},
explorers: [
{
kind: "initia scan",
url: "https://explorer.testnet.initia.xyz/landlord-1",
tx_page: "https://explorer.testnet.initia.xyz/landlord-1/txs/${txHash}",
account_page:
"https://explorer.testnet.initia.xyz/landlord-1/accounts/${accountAddress}",
},
],
images: [
{
png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/civitia/images/civitia.png",
svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/civitia/images/civitia.svg",
},
],
logo_URIs: {
png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/civitia/images/civitia.png",
svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/civitia/images/civitia.svg",
},
metadata: {
op_bridge_id: "24",
op_denoms: ["uinit"],
ibc_channels: [
{
chain_id: "initiation-1",
port_id: "nft-transfer",
channel_id: "channel-1",
version: "ics721-1",
},
{
chain_id: "initiation-1",
port_id: "transfer",
channel_id: "channel-0",
version: "ics20-1",
},
],
assetlist:
"https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/civitia/assetlist.json",
minitia: {
type: "minimove",
version: "v0.2.12",
},
},
};
export default info;
5 changes: 5 additions & 0 deletions _packages/initia-registry/src/testnet/civitia/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import _assets from "./assets";
import _chain from "./chain";

export const assets = _assets;
export const chain = _chain;
1 change: 1 addition & 0 deletions _packages/initia-registry/src/testnet/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export * as miniwasm from "./miniwasm";
export * as minimove from "./minimove";
export * as initia from "./initia";
export * as init_ai from "./init_ai";
export * as civitia from "./civitia";
export * as blackwing from "./blackwing";
8 changes: 4 additions & 4 deletions _packages/initia-registry/src/testnet/init_ai/assets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@ const info: AssetList = {
coingecko_id: "",
images: [
{
png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/initia/images/ETH.png",
svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/initia/images/ETH.svg",
png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/initia/images/ETH.png",
svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/initia/images/ETH.svg",
},
],
logo_URIs: {
png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/initia/images/ETH.png",
svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/initia/images/ETH.svg",
png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/initia/images/ETH.png",
svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/initia/images/ETH.svg",
},
},
{
Expand Down
5 changes: 5 additions & 0 deletions _packages/initia-registry/src/testnet/init_ai/chain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ const info: Chain = {
"https://maze-rest-617bacff-7d34-4eb8-87f4-ee16fb4e0ac7.ue1-prod.newmetric.xyz",
},
],
grpc: [
{
address: "grpc://54.147.50.234:31001",
},
],
},
explorers: [
{
Expand Down
87 changes: 87 additions & 0 deletions _packages/initia-registry/src/testnet/initia/assets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,93 @@ const info: AssetList = {
svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/tucana/images/TUCANA-PERP.svg",
},
},
{
description: "The fake wBTC",
denom_units: [
{
denom:
"move/ff11e7d22c7bd2177b1c721441e795c1df48a10a9638dda68505152f6a646b18",
exponent: 0,
},
{
denom: "wBTC",
exponent: 9,
},
],
base: "move/ff11e7d22c7bd2177b1c721441e795c1df48a10a9638dda68505152f6a646b18",
display: "wBTC",
name: "Fake wBTC Token",
symbol: "wBTC",
coingecko_id: "",
images: [
{
png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/initia/images/wBTC.png",
svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/initia/images/wBTC.svg",
},
],
logo_URIs: {
png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/initia/images/wBTC.png",
svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/initia/images/wBTC.svg",
},
},
{
description: "The fake USDT",
denom_units: [
{
denom:
"move/eb0f5927508f1d866dddc1ad3fe67c9d39c9149a80b75a5f4f4aa8f2e73a54a8",
exponent: 0,
},
{
denom: "USDT",
exponent: 9,
},
],
base: "move/eb0f5927508f1d866dddc1ad3fe67c9d39c9149a80b75a5f4f4aa8f2e73a54a8",
display: "USDT",
name: "Fake USDT Token",
symbol: "USDT",
coingecko_id: "",
images: [
{
png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/initia/images/USDT.png",
svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/initia/images/USDT.svg",
},
],
logo_URIs: {
png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/initia/images/USDT.png",
svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/initia/images/USDT.svg",
},
},
{
description: "Testnet Gas Token",
denom_units: [
{
denom:
"move/944f8dd8dc49f96c25fea9849f16436dcfa6d564eec802f3ef7f8b3ea85368ff",
exponent: 0,
},
{
denom: "GAS",
exponent: 6,
},
],
base: "move/944f8dd8dc49f96c25fea9849f16436dcfa6d564eec802f3ef7f8b3ea85368ff",
display: "GAS",
name: "GAS Token",
symbol: "GAS",
coingecko_id: "",
images: [
{
png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/initia/images/GAS.png",
svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/initia/images/GAS.svg",
},
],
logo_URIs: {
png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/initia/images/GAS.png",
svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/initia/images/GAS.svg",
},
},
],
};
export default info;
Loading

0 comments on commit 84f87b4

Please sign in to comment.