Skip to content

Commit

Permalink
feat: init-ai-1 (#68)
Browse files Browse the repository at this point in the history
* feat: init-ai-1

* feat: init-ai-1

* fix: update package version

* fix: fix logo image name
  • Loading branch information
ALPAC-4 authored May 11, 2024
1 parent 5f13ed0 commit b5a95ba
Show file tree
Hide file tree
Showing 44 changed files with 872 additions and 357 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.6",
"version": "0.1.7",
"description": "Initia chain registry",
"main": "main/index.js",
"module": "esm/index.js",
Expand Down
3 changes: 2 additions & 1 deletion _packages/initia-registry/src/assets.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { AssetList } from "@initia/initia-registry-types";

import * as _testnet from "./testnet/all";
import * as _devnet from "./devnet/all";

const assets: AssetList[] = [..._devnet.assets];
const assets: AssetList[] = [..._testnet.assets, ..._devnet.assets];

export default assets;
3 changes: 2 additions & 1 deletion _packages/initia-registry/src/chains.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { Chain } from "@initia/initia-registry-types";

import * as _testnet from "./testnet/all";
import * as _devnet from "./devnet/all";

const chains: Chain[] = [..._devnet.chains];
const chains: Chain[] = [..._testnet.chains, ..._devnet.chains];

export default chains;
2 changes: 0 additions & 2 deletions _packages/initia-registry/src/devnet/assets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@ 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,
];

Expand Down
12 changes: 6 additions & 6 deletions _packages/initia-registry/src/devnet/blackwing/assets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,28 +8,28 @@ const info: AssetList = {
denom_units: [
{
denom:
"l2/ad2344d0c17127cc6bce67e360f43cd6c5fa09a7b5f6f9b7b80f9dc3e0c4876e",
"l2/f23a6c45066bbb0fbee02d3505cc83671717d375baabc44769225752267f0d31",
exponent: 0,
},
{
denom: "INIT",
exponent: 6,
},
],
base: "l2/ad2344d0c17127cc6bce67e360f43cd6c5fa09a7b5f6f9b7b80f9dc3e0c4876e",
base: "l2/f23a6c45066bbb0fbee02d3505cc83671717d375baabc44769225752267f0d31",
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",
png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/blackwing/images/INIT.png",
svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/blackwing/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",
png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/blackwing/images/INIT.png",
svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/blackwing/images/INIT.svg",
},
},
{
Expand Down
47 changes: 26 additions & 21 deletions _packages/initia-registry/src/devnet/blackwing/chain.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
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",
Expand All @@ -9,14 +11,16 @@ const info: Chain = {
node_home: "$HOME/.minitia",
key_algos: ["secp256k1"],
slip44: 118,
chain_name: "blackwing",
chain_id: "tomcat-1",
bech32_prefix: "init",
fees: {
fee_tokens: [
{
denom: "umin",
fixed_min_gas_price: 0.15,
},
{
denom:
"l2/ad2344d0c17127cc6bce67e360f43cd6c5fa09a7b5f6f9b7b80f9dc3e0c4876e",
"l2/f23a6c45066bbb0fbee02d3505cc83671717d375baabc44769225752267f0d31",
fixed_min_gas_price: 0.15,
low_gas_price: 0.15,
average_gas_price: 0.15,
Expand All @@ -40,29 +44,24 @@ const info: Chain = {
rpc: [
{
address:
"https://maze-rpc-c64ef367-a391-4e71-901e-87951e5e9030.ue1-prod.newmetric.xyz",
"https://maze-rpc-6a424cc4-117e-46db-ae81-640edd796868.ue1-prod.newmetric.xyz",
},
],
rest: [
{
address:
"https://maze-rest-c64ef367-a391-4e71-901e-87951e5e9030.ue1-prod.newmetric.xyz",
},
],
api: [
{
address: "https://api.blackwing.initia.xyz",
"https://maze-rest-6a424cc4-117e-46db-ae81-640edd796868.ue1-prod.newmetric.xyz",
},
],
},
explorers: [
{
kind: "explorer",
url: "https://explorer.mahalo-2.initia.xyz/?layer=tomcat-1",
url: "https://explorer.mahalo-3.initia.xyz/?layer=tomcat-1",
tx_page:
"https://explorer.mahalo-2.initia.xyz/tx/${txHash}?layer=tomcat-1",
"https://explorer.mahalo-3.initia.xyz/tx/${txHash}?layer=tomcat-1",
account_page:
"https://explorer.mahalo-2.initia.xyz/address/${accountAddress}?layer=tomcat-1",
"https://explorer.mahalo-3.initia.xyz/address/${accountAddress}?layer=tomcat-1",
},
{
kind: "initia scan",
Expand All @@ -74,30 +73,36 @@ const info: Chain = {
],
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",
png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/blackwing/images/BLACKWING.png",
svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/blackwing/images/BLACKWING.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",
png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/blackwing/images/BLACKWING.png",
svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/blackwing/images/BLACKWING.svg",
},
metadata: {
assetlist:
"https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/blackwing/assetlist.json",
op_bridge_id: "108",
"https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/blackwing/assetlist.json",
op_bridge_id: "54",
op_denoms: ["uinit"],
ibc_channels: [
{
chain_id: "mahalo-2",
chain_id: "mahalo-3",
port_id: "nft-transfer",
channel_id: "channel-1",
version: "ics721-1",
},
{
chain_id: "mahalo-3",
port_id: "transfer",
channel_id: "channel-0",
version: "ics20-1",
},
],
minitia: {
type: "minimove",
version: "v0.2.3",
version: "v0.2.9",
},
},
};
Expand Down
35 changes: 0 additions & 35 deletions _packages/initia-registry/src/devnet/blackwing/ibc.ts

This file was deleted.

35 changes: 0 additions & 35 deletions _packages/initia-registry/src/devnet/blackwing/ibc_chain1.ts

This file was deleted.

4 changes: 0 additions & 4 deletions _packages/initia-registry/src/devnet/blackwing/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
import _assets from "./assets";
import _chain from "./chain";
import _ibc from "./ibc";
import _ibc_chain1 from "./ibc_chain1";

export const assets = _assets;
export const chain = _chain;
export const ibc = _ibc;
export const ibc_chain1 = _ibc_chain1;
4 changes: 0 additions & 4 deletions _packages/initia-registry/src/devnet/chains.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
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";
import * as _controverse from "./controverse";
import * as _blackwing from "./blackwing";

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

Expand Down
66 changes: 0 additions & 66 deletions _packages/initia-registry/src/devnet/controverse/assets.ts

This file was deleted.

3 changes: 1 addition & 2 deletions _packages/initia-registry/src/devnet/ibc.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { IBCInfo } from "@initia/initia-registry-types";

import * as _initia from "./initia";
import * as _blackwing from "./blackwing";

const ibc: IBCInfo[] = [..._initia.ibc_chain1, ..._blackwing.ibc_chain1];
const ibc: IBCInfo[] = [..._initia.ibc_chain1];

export default ibc;
2 changes: 0 additions & 2 deletions _packages/initia-registry/src/devnet/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
export * as tucana from "./tucana";
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";
Loading

0 comments on commit b5a95ba

Please sign in to comment.