Adding a New Network to MyCrypto

Adding support for your Ethereum-like network is easy, assuming you don't have any significant differences from the Ethereum network. To make sure your network is well supported, we require the following:

  • Must have at least one reliable, working node
  • Must be EIP155 compliant with a unique Chain ID not used by any other MyCrypto-supported network
  • Must have a block explorer that can view addresses, transactions, and blocks
  • Should not have a token name that conflicts with a more popular token

If you meet all of those requirements, all that's left is to make a pull request with the following changes:

  1. Add a deterministic path (aka dpath) to common/configs/dpath.ts for your network, even if it just uses Ethereum's default path
  2. Add at least one node to common/libs/nodes/configs.ts
  3. Add your network configuration to common/reducers/config/networks/staticNetworks.ts
  4. Add your network's key (matching the key in staticNetworks.ts) to shared/types/network.d.ts

An example commit showing what the above steps look like is available here: https://github.com/MyCryptoHQ/MyCrypto/commit/afaa9e71c0313d9953cf39e4731a4b73f832a14a

If you'd like to provide users with a direct link to your network without having to select it from the dropdown, you can send a URL like https://mycrypto.com/account?network={network} where {network} is the key from the staticNetworks.ts config.

Adding a Node

If you'd simply like to add a node to support an existing network, all you need to do is follow step 2 listed above. Nodes are automatically load balanced based on performance, so your node will automatically get used by anyone using the network. Thanks for supporting the ecosystem!





Need Help? Message Us