Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 2.43 KB

COINS.md

File metadata and controls

36 lines (23 loc) · 2.43 KB

Coins Definitions

We currently recognize six categories of coins: bitcoin, eth, erc20, nem, trx, misc. See defs

Adding a new coin

You can add new coin/token/network to the official Onekey firmware.

Forks and derivatives

If the coin you are adding is a fork of Bitcoin or other cryptocurrency we already support (in other words, new app is not needed) you can modify the definitions in the onekey-firmware repository and file a PR. In such case the coin does not have to be in TOP30 (see below), but we still reserve the right not to include the coin. The location depends on the type of the asset to be added:

Misc

You can add a new coin to misc.json by following the steps below

  1. Protobuf Definitions
  2. Implementation of user-facing features app
  3. Command line client
  4. Unit tests
  5. Device tests

New category

In addition to the steps to add a coin to misc, coin_info.py needs to be modified and you can refer to here

Pull request requirements

See CONTRIBUTING.md