Esta sección proporciona una guía para agregar tokens localmente a Initia Wallet.
Implementación local en Initia Wallet
Paso 1: crear un archivo JSON
Copy {
"$schema": "../../chain.schema.json",
"chain_name": "minimove",
"chain_id": "minimove-1",
"website": "https://initia.xyz",
"pretty_name": "Minimove",
"status": "live",
"network_type": "testnet",
"bech32_prefix": "init",
"daemon_name": "minitiad",
"node_home": "$HOME/.minitia",
"key_algos": ["secp256k1"],
"slip44": 118,
"fees": {
"fee_tokens": [
{
"denom": "l2/771d639f30fbe45e3fbca954ffbe2fcc26f915f5513c67a4a2d0bc1d635bdefd",
"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": []
},
"codebase": {
"git_repo": "https://github.com/initia-labs/minimove",
"recommended_version": "v0.2.12",
"compatible_versions": ["v0.2.12", "main"],
"binaries": {
"linux/amd64": "https://initia.s3.ap-southeast-1.amazonaws.com/minimove-1/minimove_v0.2.12_Linux_x86_64.tar.gz",
"linux/arm64": "https://initia.s3.ap-southeast-1.amazonaws.com/minimove-1/minimove_v0.2.12_Linux_aarch64.tar.gz",
"darwin/amd64": "https://initia.s3.ap-southeast-1.amazonaws.com/minimove-1/minimove_v0.2.12_Darwin_x86_64.tar.gz",
"darwin/arm64": "https://initia.s3.ap-southeast-1.amazonaws.com/minimove-1/minimove_v0.2.12_Darwin_aarch64.tar.gz"
},
"genesis": {
"genesis_url": "https://initia.s3.ap-southeast-1.amazonaws.com/minimove-1/genesis.json"
},
"versions": []
},
"description": "Minimove Public Testnet",
"peers": {
"seeds": [],
"persistent_peers": []
},
"apis": {
"rpc": [
{
"address": "https://rpc.minimove-1.initia.xyz",
"provider": "Foundation"
}
],
"rest": [
{
"address": "https://lcd.minimove-1.initia.xyz",
"provider": "Foundation"
}
],
"grpc": [
{
"address": "grpc://35.198.215.41:9090",
"provider": "Foundation"
}
]
},
"explorers": [
{
"kind": "initia scan",
"url": "https://scan.testnet.initia.xyz/minimove-1",
"tx_page": "https://scan.testnet.initia.xyz/minimove-1/txs/${txHash}",
"account_page": "https://scan.testnet.initia.xyz/minimove-1/accounts/${accountAddress}"
}
],
"images": [
{
"png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/minimove/images/minimove.png",
"svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/minimove/images/minimove.svg"
}
],
"logo_URIs": {
"png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/minimove/images/minimove.png",
"svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/minimove/images/minimove.svg"
},
"metadata": {
"op_bridge_id": "1",
"op_denoms": ["uinit"],
"ibc_channels": [
{
"chain_id": "initiation-1",
"port_id": "transfer",
"channel_id": "channel-0",
"version": "ics20-1"
},
{
"chain_id": "initiation-1",
"port_id": "nft-transfer",
"channel_id": "channel-1",
"version": "ics721-1"
}
],
"assetlist": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/testnets/minimove/assetlist.json",
"minitia": {
"type": "minimove",
"version": "v0.2.12"
}
}
}
Este ejemplo incluye mucha información pero solo tendrás que añadir datos relevantes. Además, si el entorno de desarrollo de TypeScript requiere una declaración de tipo, instale el siguiente paquete npm:
Copy npm add -D @initia/initia-registry-types
Paso 2: Agregar a Initia Wallet
Implementación oficial de Initia Wallet
Paso 2: fusionar relaciones públicas
El equipo de Initia fusionará el PR. Esta capa se aplicará al siguiente punto final.
Después de este proceso, su minitia se incluirá en la lista "Administrar mis Minitias" en la billetera Initia.