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

update initia-registry npm package #75

Merged
merged 3 commits into from
May 13, 2024
Merged
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
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.7",
"version": "0.1.8",
"description": "Initia chain registry",
"main": "main/index.js",
"module": "esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion _packages/initia-registry/src/devnet/blackwing/chain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ const info: Chain = {
],
minitia: {
type: "minimove",
version: "v0.2.9",
version: "v0.2.10",
},
},
};
Expand Down
4 changes: 3 additions & 1 deletion _packages/initia-registry/src/testnet/assets.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import { AssetList } from "@initia/initia-registry-types";

import * as _tucana from "./tucana";
import * as _noon from "./noon";
import * as _init_ai from "./init_ai";

const assets: AssetList[] = [_init_ai.assets];
const assets: AssetList[] = [_tucana.assets, _noon.assets, _init_ai.assets];

export default assets;
101 changes: 101 additions & 0 deletions _packages/initia-registry/src/testnet/blackwing/chain.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
import { Chain } from "@initia/initia-registry-types";
const info: Chain = {
$schema: "../../chain.schema.json",
chain_name: "blackwing",
chain_id: "tomcat-1",
website: "https://blackwing.fi",
pretty_name: "Blackwing",
status: "live",
network_type: "testnet",
daemon_name: "minitiad",
node_home: "$HOME/.minitia",
key_algos: ["secp256k1"],
slip44: 118,
bech32_prefix: "init",
fees: {
fee_tokens: [
{
denom: "umin",
fixed_min_gas_price: 0.15,
},
{
denom:
"l2/aee375e9d0b181f0d9d3a49f9a3d1d6b05d62b0ac81f8c92b9282afa4213d884",
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: "Blackwing Testnet",
apis: {
rpc: [
{
address:
"https://maze-rpc-18bdff44-3aa4-425e-9bc0-06a2afa40af8.ue1-prod.newmetric.xyz",
},
],
rest: [
{
address:
"https://maze-rest-18bdff44-3aa4-425e-9bc0-06a2afa40af8.ue1-prod.newmetric.xyz",
},
],
},
explorers: [
{
kind: "initia scan",
url: "https://scan.testnet.initia.xyz/tomcat-1",
tx_page: "https://scan.testnet.initia.xyz/tomcat-1/txs/${txHash}",
account_page:
"https://scan.testnet.initia.xyz/tomcat-1/accounts/${accountAddress}",
},
],
images: [
{
png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/blackwing/images/BLACKWING.png",
svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/blackwing/images/BLACKWING.svg",
},
],
logo_URIs: {
png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/blackwing/images/BLACKWING.png",
svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/blackwing/images/BLACKWING.svg",
},
metadata: {
assetlist:
"https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/blackwing/assetlist.json",
op_bridge_id: "8",
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",
},
],
minitia: {
type: "minimove",
version: "v0.2.12",
},
},
};
export default info;
3 changes: 3 additions & 0 deletions _packages/initia-registry/src/testnet/blackwing/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import _chain from "./chain";

export const chain = _chain;
6 changes: 6 additions & 0 deletions _packages/initia-registry/src/testnet/chains.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,21 @@
import { Chain } from "@initia/initia-registry-types";

import * as _tucana from "./tucana";
import * as _noon from "./noon";
import * as _miniwasm from "./miniwasm";
import * as _minimove from "./minimove";
import * as _initia from "./initia";
import * as _init_ai from "./init_ai";
import * as _blackwing from "./blackwing";

const chains: Chain[] = [
_tucana.chain,
_noon.chain,
_miniwasm.chain,
_minimove.chain,
_initia.chain,
_init_ai.chain,
_blackwing.chain,
];

export default chains;
3 changes: 3 additions & 0 deletions _packages/initia-registry/src/testnet/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
export * as tucana from "./tucana";
export * as noon from "./noon";
export * as miniwasm from "./miniwasm";
export * as minimove from "./minimove";
export * as initia from "./initia";
export * as init_ai from "./init_ai";
export * as blackwing from "./blackwing";
2 changes: 1 addition & 1 deletion _packages/initia-registry/src/testnet/init_ai/chain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const info: Chain = {
"https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/init_ai/assetlist.json",
minitia: {
type: "minimove",
version: "v0.2.11",
version: "v0.2.12",
},
},
};
Expand Down
30 changes: 30 additions & 0 deletions _packages/initia-registry/src/testnet/initia/chain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,36 @@ const info: Chain = {
channel_id: "channel-10",
version: "ics721-1",
},
{
chain_id: "birdee-1",
port_id: "transfer",
channel_id: "channel-25",
version: "ics20-1",
},
{
chain_id: "birdee-1",
port_id: "nft-transfer",
channel_id: "channel-26",
version: "ics721-1",
},
{
chain_id: "tomcat-1",
port_id: "transfer",
channel_id: "channel-13",
version: "ics20-1",
},
{
chain_id: "tomcat-1",
port_id: "nft-transfer",
channel_id: "channel-14",
version: "ics721-1",
},
{
chain_id: "burrito-1",
port_id: "transfer",
channel_id: "channel-31",
version: "ics20-1",
},
],
assetlist:
"https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/initia/assetlist.json",
Expand Down
2 changes: 1 addition & 1 deletion _packages/initia-registry/src/testnet/minimove/chain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ const info: Chain = {
"https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/minimove/assetlist.json",
minitia: {
type: "minimove",
version: "v0.2.11",
version: "v0.2.12",
},
},
};
Expand Down
37 changes: 37 additions & 0 deletions _packages/initia-registry/src/testnet/noon/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: "noon",
assets: [
{
description: "The native token of Initia",
denom_units: [
{
denom:
"l2/ffea49d63cbadcfd749b4f635eca198b2f3b44cb1f6b580f5d201d58f3bf7aea",
exponent: 0,
},
{
denom: "INIT",
exponent: 6,
},
],
base: "l2/ffea49d63cbadcfd749b4f635eca198b2f3b44cb1f6b580f5d201d58f3bf7aea",
display: "INIT",
name: "Initia Native Token",
symbol: "INIT",
coingecko_id: "",
images: [
{
png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/noon/images/INIT.png",
svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/noon/images/INIT.svg",
},
],
logo_URIs: {
png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/noon/images/INIT.png",
svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/noon/images/INIT.svg",
},
},
],
};
export default info;
80 changes: 80 additions & 0 deletions _packages/initia-registry/src/testnet/noon/chain.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
import { Chain } from "@initia/initia-registry-types";
const info: Chain = {
$schema: "../../chain.schema.json",
chain_name: "noon",
chain_id: "burrito-1",
website: "https://lunchlunch.xyz",
pretty_name: "Noon",
status: "live",
network_type: "testnet",
daemon_name: "minitiad",
node_home: "$HOME/.minitia",
key_algos: ["secp256k1"],
slip44: 118,
bech32_prefix: "init",
fees: {
fee_tokens: [
{
denom: "unoon",
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: "Noon Testnet",
apis: {
rpc: [
{
address: "https://burrito-1-rpc.lunchlunch.xyz",
},
],
rest: [
{
address: "https://burrito-1-lcd.lunchlunch.xyz",
},
],
},
explorers: [
{
kind: "initia scan",
url: "https://scan.testnet.initia.xyz/burrito-1",
tx_page: "https://scan.testnet.initia.xyz/burrito-1/txs/${txHash}",
account_page:
"https://scan.testnet.initia.xyz/burrito-1/accounts/${accountAddress}",
},
],
images: [
{
png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/noon/images/NOON.png",
svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/noon/images/NOON.svg",
},
],
logo_URIs: {
png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/noon/images/NOON.png",
svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/noon/images/NOON.svg",
},
metadata: {
assetlist:
"https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/noon/assetlist.json",
op_bridge_id: "17",
op_denoms: ["uinit"],
ibc_channels: [
{
chain_id: "initiation-1",
port_id: "transfer",
channel_id: "channel-0",
version: "ics20-1",
},
],
minitia: {
type: "minimove",
version: "v0.2.12",
},
},
};
export default info;
5 changes: 5 additions & 0 deletions _packages/initia-registry/src/testnet/noon/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;
Loading
Loading