-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: add contro * fix: controverse chain name of assetlist
- Loading branch information
Showing
13 changed files
with
198 additions
and
12 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -97,7 +97,7 @@ const info: Chain = { | |
], | ||
minitia: { | ||
type: "minimove", | ||
version: "0.2.3", | ||
version: "v0.2.3", | ||
}, | ||
}, | ||
}; | ||
|
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
66 changes: 66 additions & 0 deletions
66
_packages/initia-registry/src/devnet/controverse/assets.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,66 @@ | ||
import { AssetList } from "@initia/initia-registry-types"; | ||
const info: AssetList = { | ||
$schema: "../../assetlist.schema.json", | ||
chain_name: "controverse", | ||
assets: [ | ||
{ | ||
description: "The native token of Initia", | ||
denom_units: [ | ||
{ | ||
denom: | ||
"l2/2716295e82bab3b0308dc1e35837fe471657ea07ee71aebb6129739fb0f1278a", | ||
exponent: 0, | ||
}, | ||
{ | ||
denom: "INIT", | ||
exponent: 6, | ||
}, | ||
], | ||
base: "l2/2716295e82bab3b0308dc1e35837fe471657ea07ee71aebb6129739fb0f1278a", | ||
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/controverse/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", | ||
chain_name: "controverse", | ||
chain_id: "contro-test-1", | ||
website: "https://contro.tech", | ||
pretty_name: "The Controverse", | ||
status: "live", | ||
network_type: "devnet", | ||
bech32_prefix: "init", | ||
daemon_name: "minitiad", | ||
node_home: "$HOME/.minitia", | ||
key_algos: ["secp256k1"], | ||
slip44: 118, | ||
fees: { | ||
fee_tokens: [ | ||
{ | ||
denom: | ||
"l2/2716295e82bab3b0308dc1e35837fe471657ea07ee71aebb6129739fb0f1278a", | ||
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: "Controverse Closed Devnet", | ||
apis: { | ||
rpc: [ | ||
{ | ||
address: | ||
"https://maze-rpc-493360ba-cd86-4627-aca3-8b61635eb2bf.ue1-prod.newmetric.xyz", | ||
}, | ||
], | ||
rest: [ | ||
{ | ||
address: | ||
"https://maze-rest-493360ba-cd86-4627-aca3-8b61635eb2bf.ue1-prod.newmetric.xyz", | ||
}, | ||
], | ||
api: [ | ||
{ | ||
address: "https://api.contro.initia.xyz", | ||
}, | ||
], | ||
}, | ||
explorers: [ | ||
{ | ||
kind: "explorer", | ||
url: "https://explorer.mahalo-2.initia.xyz/?layer=controverse", | ||
tx_page: | ||
"https://explorer.mahalo-2.initia.xyz/tx/${txHash}?layer=controverse", | ||
account_page: | ||
"https://explorer.mahalo-2.initia.xyz/address/${accountAddress}?layer=controverse", | ||
}, | ||
{ | ||
kind: "initia scan", | ||
url: "https://scan.initia.xyz/contro-test-1", | ||
tx_page: "https://scan.initia.xyz/contro-test-1/txs/${txHash}", | ||
account_page: | ||
"https://scan.initia.xyz/contro-test-1/accounts/${accountAddress}", | ||
}, | ||
], | ||
images: [ | ||
{ | ||
png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/miniwasm/images/INIT.png", | ||
svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/miniwasm/images/INIT.svg", | ||
}, | ||
], | ||
logo_URIs: { | ||
png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/miniwasm/images/INIT.png", | ||
svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/miniwasm/images/INIT.svg", | ||
}, | ||
metadata: { | ||
op_bridge_id: "116", | ||
op_denoms: ["uinit"], | ||
ibc_channels: [ | ||
{ | ||
chain_id: "mahalo-2", | ||
port_id: "transfer", | ||
channel_id: "channel-0", | ||
version: "ics20-1", | ||
}, | ||
], | ||
assetlist: | ||
"https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/controverse/assetlist.json", | ||
minitia: { | ||
type: "miniwasm", | ||
version: "v2.2.0", | ||
}, | ||
}, | ||
}; | ||
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,5 @@ | ||
import _assets from "./assets"; | ||
import _chain from "./chain"; | ||
|
||
export const assets = _assets; | ||
export const chain = _chain; |
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,4 +1,5 @@ | ||
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"; |
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