Adding Tokens to Initia Wallet

Overview

This section provides a guide to add tokens locally to the Initia Wallet.

Local Deployment on Initia Wallet

Step 1: Create JSON File

Using this link, create a JSON file.

Example:

{
  "$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"
    }
  }
}

This example includes large information but you will only have to add relevant data. Also, if the typescript dev environment requires type declaration, install the following npm package:

npm add -D @initia/initia-registry-types

Step 2: Add to Initia Wallet

  • Then, click +Add custom Minitia on the top right corner.

  • Copy and paste the JSON URL and JSON.

Official Initia Wallet Deployment

Step 1: Create a PR

Create a PR adding the JSON file you created above to the following repo. For more information, refer to this section.

Initia Registry

Step 2: Merge PR

The Initia team will merge the PR. This layer will be applied to the following endpoint.

After this process, your minitia will be included in the “Manage my Minitias” list on the Initia wallet.

Last updated

Logo

© 2024 Initia Foundation, All rights reserved.