-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add minitia field and add blackwing chain (#38)
- Loading branch information
Showing
23 changed files
with
414 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
import { AssetList } from "@initia/initia-registry-types"; | ||
const info: AssetList = { | ||
$schema: "../../assetlist.schema.json", | ||
chain_name: "blackwing", | ||
assets: [ | ||
{ | ||
description: "The native token of Initia", | ||
denom_units: [ | ||
{ | ||
denom: | ||
"l2/ad2344d0c17127cc6bce67e360f43cd6c5fa09a7b5f6f9b7b80f9dc3e0c4876e", | ||
exponent: 0, | ||
}, | ||
{ | ||
denom: "INIT", | ||
exponent: 6, | ||
}, | ||
], | ||
base: "l2/ad2344d0c17127cc6bce67e360f43cd6c5fa09a7b5f6f9b7b80f9dc3e0c4876e", | ||
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", | ||
}, | ||
], | ||
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", | ||
}, | ||
}, | ||
{ | ||
description: "The fake USDC", | ||
denom_units: [ | ||
{ | ||
denom: | ||
"ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", | ||
exponent: 0, | ||
}, | ||
{ | ||
denom: "USDC", | ||
exponent: 6, | ||
}, | ||
], | ||
base: "ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", | ||
display: "USDC", | ||
name: "USDC", | ||
symbol: "USDC", | ||
coingecko_id: "", | ||
images: [ | ||
{ | ||
png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/USDC.png", | ||
svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/USDC.svg", | ||
}, | ||
], | ||
logo_URIs: { | ||
png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/USDC.png", | ||
svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/USDC.svg", | ||
}, | ||
}, | ||
], | ||
}; | ||
export default info; |
104 changes: 104 additions & 0 deletions
104
_packages/initia-registry/src/devnet/blackwing/chain.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
import { Chain } from "@initia/initia-registry-types"; | ||
const info: Chain = { | ||
$schema: "../../chain.schema.json", | ||
website: "https://blackwing.fi", | ||
pretty_name: "Blackwing", | ||
status: "live", | ||
network_type: "devnet", | ||
daemon_name: "minitiad", | ||
node_home: "$HOME/.minitia", | ||
key_algos: ["secp256k1"], | ||
slip44: 118, | ||
chain_name: "blackwing", | ||
chain_id: "tomcat-1", | ||
bech32_prefix: "init", | ||
fees: { | ||
fee_tokens: [ | ||
{ | ||
denom: | ||
"l2/ad2344d0c17127cc6bce67e360f43cd6c5fa09a7b5f6f9b7b80f9dc3e0c4876e", | ||
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-c64ef367-a391-4e71-901e-87951e5e9030.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", | ||
}, | ||
], | ||
}, | ||
explorers: [ | ||
{ | ||
kind: "explorer", | ||
url: "https://explorer.mahalo-2.initia.xyz/?layer=tomcat-1", | ||
tx_page: | ||
"https://explorer.mahalo-2.initia.xyz/tx/${txHash}?layer=tomcat-1", | ||
account_page: | ||
"https://explorer.mahalo-2.initia.xyz/address/${accountAddress}?layer=tomcat-1", | ||
}, | ||
{ | ||
kind: "initia scan", | ||
url: "https://scan.initia.xyz/tomcat-1", | ||
tx_page: "https://scan.initia.xyz/tomcat-1/txs/${txHash}", | ||
account_page: | ||
"https://scan.initia.xyz/tomcat-1/accounts/${accountAddress}", | ||
}, | ||
], | ||
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", | ||
}, | ||
], | ||
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", | ||
}, | ||
metadata: { | ||
assetlist: | ||
"https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/blackwing/assetlist.json", | ||
op_bridge_id: "108", | ||
op_denoms: ["uinit"], | ||
ibc_channels: [ | ||
{ | ||
chain_id: "mahalo-2", | ||
port_id: "transfer", | ||
channel_id: "channel-0", | ||
version: "ics20-1", | ||
}, | ||
], | ||
minitia: { | ||
type: "minimove", | ||
version: "0.2.3", | ||
}, | ||
}, | ||
}; | ||
export default info; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
import { IBCInfo } from "@initia/initia-registry-types"; | ||
const info: IBCInfo[] = [ | ||
{ | ||
$schema: "../../ibc_data.schema.json", | ||
chain_1: { | ||
chain_name: "blackwing", | ||
client_id: "07-tendermint-0", | ||
connection_id: "connection-0", | ||
}, | ||
chain_2: { | ||
chain_name: "initia", | ||
client_id: "07-tendermint-73", | ||
connection_id: "connection-67", | ||
}, | ||
channels: [ | ||
{ | ||
chain_1: { | ||
channel_id: "channel-0", | ||
port_id: "transfer", | ||
}, | ||
chain_2: { | ||
channel_id: "channel-65", | ||
port_id: "transfer", | ||
}, | ||
ordering: "unordered", | ||
version: "ics20-1", | ||
tags: { | ||
status: "live", | ||
preferred: true, | ||
}, | ||
}, | ||
], | ||
}, | ||
]; | ||
export default info; |
35 changes: 35 additions & 0 deletions
35
_packages/initia-registry/src/devnet/blackwing/ibc_chain1.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
import { IBCInfo } from "@initia/initia-registry-types"; | ||
const info: IBCInfo[] = [ | ||
{ | ||
$schema: "../../ibc_data.schema.json", | ||
chain_1: { | ||
chain_name: "blackwing", | ||
client_id: "07-tendermint-0", | ||
connection_id: "connection-0", | ||
}, | ||
chain_2: { | ||
chain_name: "initia", | ||
client_id: "07-tendermint-73", | ||
connection_id: "connection-67", | ||
}, | ||
channels: [ | ||
{ | ||
chain_1: { | ||
channel_id: "channel-0", | ||
port_id: "transfer", | ||
}, | ||
chain_2: { | ||
channel_id: "channel-65", | ||
port_id: "transfer", | ||
}, | ||
ordering: "unordered", | ||
version: "ics20-1", | ||
tags: { | ||
status: "live", | ||
preferred: true, | ||
}, | ||
}, | ||
], | ||
}, | ||
]; | ||
export default info; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
import { IBCInfo } from "@initia/initia-registry-types"; | ||
|
||
import * as _initia from "./initia"; | ||
import * as _blackwing from "./blackwing"; | ||
|
||
const ibc: IBCInfo[] = [..._initia.ibc_chain1]; | ||
const ibc: IBCInfo[] = [..._initia.ibc_chain1, ..._blackwing.ibc_chain1]; | ||
|
||
export default ibc; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
export * as miniwasm from "./miniwasm"; | ||
export * as minimove from "./minimove"; | ||
export * as initia from "./initia"; | ||
export * as blackwing from "./blackwing"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.