flipbip_coins.c 742 B

12345678910111213141516
  1. #include <flipbip_coins.h>
  2. // bip44_coin, xprv_version, xpub_version, addr_version, wif_version, addr_format
  3. const uint32_t COIN_INFO_ARRAY[NUM_COINS][COIN_INFO_SIZE] = {
  4. {0, 0x0488ade4, 0x0488b21e, 0x00, 0x80, CoinTypeBTC0},
  5. {60, 0x0488ade4, 0x0488b21e, 0x00, 0x80, CoinTypeETH60},
  6. {3, 0x02fac398, 0x02facafd, 0x1e, 0x9e, CoinTypeBTC0},
  7. {133, 0x0488ade4, 0x0488b21e, 0x1cb8, 0x80, CoinTypeBTC0},
  8. };
  9. // coin_label, derivation_path, coin_name, static_prefix ("_" for none)
  10. const char* COIN_TEXT_ARRAY[NUM_COINS][COIN_TEXT_SIZE] = {
  11. {"BTC", "m/44'/0'/0'/0", "bitcoin:", "_"},
  12. {"ETH", "m/44'/60'/0'/0", "ethereum:", "_"},
  13. {"DOGE", "m/44'/3'/0'/0", "dogecoin:", "_"},
  14. {"ZEC", "m/44'/133'/0'/0", "zcash:", "t"}};