Integrate Network

How to add your network to Nova Wallet

If you want to test your network in Nova Wallet then please follow this guide: Add Network

When you are ready to add your network to the production build of Nova Wallet then follow these steps:

  1. Submit a Pull Request to the following Nova config paths in this repo

chains/v{latest}/preConfigured/chains_dev.json

chains/v{latest}/preConfigured/detailsDev

  1. Message the Nova Wallet team on Telegram so that a chat room can be created between our teams.

Required Data

ChainId

In the chainId field, you need to input the hexadecimal genesis hash of your chain (without the 0x). If you do not know how to find the genesis hash of your chain, then do the following:

  1. Open the Polkadot JS Portal for your chain.

  2. Navigate to Settings -> Metadata

  3. The genesis hash will be displayed here

ParentId

If your chain is connected to a relay chain (such as Polkadot) then you need to input the hexadecimal genesis hash of that relay chain (without the 0x) in the parentId field.

  1. Open the Polkadot JS Portal for the relay chain

  2. Navigate to Settings -> Metadata

  3. The genesis hash will be displayed there

The genesis hash for Polkadot is: 91b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c3

The genesis hash for Kusama is: b0a8d493285c2df73290dfb7e61f870f17b41801197a149ca93654499ea3dafe

Assets

Include details of your chain's primary token in the PR.

AssetId: This will typically be '0'. Symbol: This is the ticker of your native token. Precision: This is the number of decimals for your native asset. You can typically verify this by checking the Chain State of assets in your AssetRegistry pallet on the Polkadot JS Portal priceId: This typically is the ticker of your native token. Icon: You should submit an SVG of your token's logo

If you want to add more assets then you should follow the typical process as shown in the chains.json file. The Nova Wallet team will double-check everything for you.

Nodes

In this section, you need to include the URL of a public RPC node for your chain.

You can find the URL of your RPC by selecting your network in the Polkadot JS Portal, then selecting switch, and navigating to "development" at the bottom of the list and you will find the URL.

Explorers

In this section, you should include the name of your block explorer, a link to the extrinsics URL, and the accounts URL. See the example below:

"name": "Subscan",
"extrinsic": "https://hydradx.subscan.io/extrinsic/{hash}",
"account": "https://hydradx.subscan.io/account/{address}"

Other Fields

There are other fields for externalAPI, Governance, and Staking. Please contact the Nova Wallet team regarding these parameters.

Last updated