Skip to content

Commit

Permalink
feat: add stone-12
Browse files Browse the repository at this point in the history
  • Loading branch information
evilpeach committed Nov 30, 2023
1 parent 1c99308 commit 3b2d436
Show file tree
Hide file tree
Showing 3 changed files with 119 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Features

- [#642](https://github.com/alleslabs/celatone-frontend/pull/642) Add stone-12 network
- [#629](https://github.com/alleslabs/celatone-frontend/pull/629) Add Amplitude for save account,to save code page count, and to save contract count
- [#628](https://github.com/alleslabs/celatone-frontend/pull/628) Add Amplitude for contract states, pagination and contract details
- [#620](https://github.com/alleslabs/celatone-frontend/pull/620) Add hex address in save account feature in initia
Expand Down
48 changes: 48 additions & 0 deletions src/config/chain/initia.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,52 @@ export const INITIA_CHAIN_CONFIGS: ChainConfigs = {
},
extra: {},
},
"stone-12": {
chain: "initia",
registryChainName: "initiatestnet12",
prettyName: "Initia Testnet 12",
lcd: "https://stone-12-rest.initia.tech",
rpc: "https://stone-12-rpc.initia.tech:443",
indexer: "https://stone-12-graphql.alleslabs.dev/v1/graphql",
wallets: [...keplrWallets],
features: {
faucet: {
enabled: true,
url: process.env.NEXT_PUBLIC_INITIA_TESTNET_FAUCET_URL ?? "",
},
wasm: {
enabled: false,
},
move: {
enabled: true,
moduleMaxFileSize: 1_048_576,
decodeApi: "https://initia-api-jiod42ec2q-as.a.run.app/decode_module",
},
pool: {
enabled: false,
},
publicProject: {
enabled: true,
},
gov: {
enabled: true,
},
nft: {
enabled: true,
},
},
gas: {
gasPrice: {
tokenPerGas: 0.151,
denom: "uinit",
},
gasAdjustment: 1.5,
maxGasLimit: 25_000_000,
},
explorerLink: {
validator: "https://next.app.initia.tech/validator",
proposal: "https://next.app.initia.tech/proposal",
},
extra: {},
},
};
70 changes: 70 additions & 0 deletions src/lib/chain-registry/initiatestnet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,53 @@ export const initiatestnet: Chain[] = [
],
},
},
{
$schema: "../chain.schema.json",
chain_name: "initiatestnet12",
status: "live",
network_type: "testnet",
pretty_name: "Initia Testnet 12",
chain_id: "stone-12",
bech32_prefix: "init",
daemon_name: "initiad",
node_home: "$HOME/.init",
key_algos: ["secp256k1"],
slip44: 118,
fees: {
fee_tokens: [
{
denom: "uinit",
fixed_min_gas_price: 0,
low_gas_price: 0.151,
average_gas_price: 0.151,
high_gas_price: 0.151,
},
],
},
staking: {
staking_tokens: [
{
denom: "uinit",
},
],
},
logo_URIs: {
png: "",
svg: "",
},
apis: {
rpc: [
{
address: "https://stone-12-rpc.initia.tech:443",
},
],
rest: [
{
address: "https://stone-12-rest.initia.tech",
},
],
},
},
];

export const initiatestnetAssets: AssetList[] = [
Expand All @@ -74,4 +121,27 @@ export const initiatestnetAssets: AssetList[] = [
},
],
},
{
$schema: "../assetlist.schema.json",
chain_name: "initiatestnet12",
assets: [
{
description: "The native staking token of Initia.",
denom_units: [
{
denom: "uinit",
exponent: 0,
},
{
denom: "init",
exponent: 6,
},
],
base: "uinit",
name: "Init",
display: "init",
symbol: "INIT",
},
],
},
];

0 comments on commit 3b2d436

Please sign in to comment.