1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-21 23:18:13 +00:00

common/defs: add xpub_magic_multisig_segwit_{native,p2sh} fields to coins

This commit is contained in:
Pavol Rusnak 2021-01-13 22:58:07 +01:00
parent 6689b9c22f
commit 4ed714ba47
69 changed files with 270 additions and 0 deletions

View File

@ -17,6 +17,8 @@
"xpub_magic": 76067358,
"xpub_magic_segwit_p2sh": 77429938,
"xpub_magic_segwit_native": 78792518,
"xpub_magic_multisig_segwit_p2sh": 76067358,
"xpub_magic_multisig_segwit_native": 76067358,
"bech32_prefix": "acm",
"cashaddr_prefix": null,
"slip44": 228,

View File

@ -17,6 +17,8 @@
"xpub_magic": 50221772,
"xpub_magic_segwit_p2sh": null,
"xpub_magic_segwit_native": null,
"xpub_magic_multisig_segwit_p2sh": null,
"xpub_magic_multisig_segwit_native": null,
"bech32_prefix": null,
"cashaddr_prefix": null,
"slip44": 4242,

View File

@ -17,6 +17,8 @@
"xpub_magic": 76067358,
"xpub_magic_segwit_p2sh": null,
"xpub_magic_segwit_native": null,
"xpub_magic_multisig_segwit_p2sh": null,
"xpub_magic_multisig_segwit_native": null,
"bech32_prefix": null,
"cashaddr_prefix": "bitcoincash",
"slip44": 145,

View File

@ -17,6 +17,8 @@
"xpub_magic": 70617039,
"xpub_magic_segwit_p2sh": null,
"xpub_magic_segwit_native": null,
"xpub_magic_multisig_segwit_p2sh": null,
"xpub_magic_multisig_segwit_native": null,
"bech32_prefix": null,
"cashaddr_prefix": "bchtest",
"slip44": 1,

View File

@ -17,6 +17,8 @@
"xpub_magic": 76067358,
"xpub_magic_segwit_p2sh": 77429938,
"xpub_magic_segwit_native": 78792518,
"xpub_magic_multisig_segwit_p2sh": 76067358,
"xpub_magic_multisig_segwit_native": 76067358,
"bech32_prefix": "bm",
"cashaddr_prefix": null,
"slip44": 25252,

View File

@ -17,6 +17,8 @@
"xpub_magic": 76067358,
"xpub_magic_segwit_p2sh": 77429938,
"xpub_magic_segwit_native": 78792518,
"xpub_magic_multisig_segwit_p2sh": 76067358,
"xpub_magic_multisig_segwit_native": 76067358,
"bech32_prefix": "btg",
"cashaddr_prefix": null,
"slip44": 156,

View File

@ -17,6 +17,8 @@
"xpub_magic": 70617039,
"xpub_magic_segwit_p2sh": 71979618,
"xpub_magic_segwit_native": 73342198,
"xpub_magic_multisig_segwit_p2sh": 70617039,
"xpub_magic_multisig_segwit_native": 70617039,
"bech32_prefix": "tbtg",
"cashaddr_prefix": null,
"slip44": 156,

View File

@ -17,6 +17,8 @@
"xpub_magic": 76067358,
"xpub_magic_segwit_p2sh": 77429938,
"xpub_magic_segwit_native": 78792518,
"xpub_magic_multisig_segwit_p2sh": 43365439,
"xpub_magic_multisig_segwit_native": 44728019,
"bech32_prefix": "bc",
"cashaddr_prefix": null,
"slip44": 0,

View File

@ -17,6 +17,8 @@
"xpub_magic": 70617039,
"xpub_magic_segwit_p2sh": 71979618,
"xpub_magic_segwit_native": 73342198,
"xpub_magic_multisig_segwit_p2sh": 37915119,
"xpub_magic_multisig_segwit_native": 39277699,
"bech32_prefix": "bcrt",
"cashaddr_prefix": null,
"slip44": 1,

View File

@ -17,6 +17,8 @@
"xpub_magic": 70617039,
"xpub_magic_segwit_p2sh": 71979618,
"xpub_magic_segwit_native": 73342198,
"xpub_magic_multisig_segwit_p2sh": 37915119,
"xpub_magic_multisig_segwit_native": 39277699,
"bech32_prefix": "tb",
"cashaddr_prefix": null,
"slip44": 1,

View File

@ -17,6 +17,8 @@
"xpub_magic": 76067358,
"xpub_magic_segwit_p2sh": 77429938,
"xpub_magic_segwit_native": 78792518,
"xpub_magic_multisig_segwit_p2sh": 76067358,
"xpub_magic_multisig_segwit_native": 76067358,
"bech32_prefix": "btx",
"cashaddr_prefix": null,
"slip44": 160,

View File

@ -17,6 +17,8 @@
"xpub_magic": 76067358,
"xpub_magic_segwit_p2sh": 77429938,
"xpub_magic_segwit_native": 78792518,
"xpub_magic_multisig_segwit_p2sh": 76067358,
"xpub_magic_multisig_segwit_native": 76067358,
"bech32_prefix": "bz",
"cashaddr_prefix": null,
"slip44": 123,

View File

@ -17,6 +17,8 @@
"xpub_magic": 76067358,
"xpub_magic_segwit_p2sh": null,
"xpub_magic_segwit_native": null,
"xpub_magic_multisig_segwit_p2sh": null,
"xpub_magic_multisig_segwit_native": null,
"bech32_prefix": null,
"cashaddr_prefix": null,
"slip44": 183,

View File

@ -17,6 +17,8 @@
"xpub_magic": 76067358,
"xpub_magic_segwit_p2sh": null,
"xpub_magic_segwit_native": null,
"xpub_magic_multisig_segwit_p2sh": null,
"xpub_magic_multisig_segwit_native": null,
"bech32_prefix": null,
"cashaddr_prefix": null,
"slip44": 10291,

View File

@ -17,6 +17,8 @@
"xpub_magic": 76067358,
"xpub_magic_segwit_p2sh": 77429938,
"xpub_magic_segwit_native": 78792518,
"xpub_magic_multisig_segwit_p2sh": 76067358,
"xpub_magic_multisig_segwit_native": 76067358,
"bech32_prefix": "cpu",
"cashaddr_prefix": null,
"slip44": 363,

View File

@ -17,6 +17,8 @@
"xpub_magic": 76067358,
"xpub_magic_segwit_p2sh": null,
"xpub_magic_segwit_native": null,
"xpub_magic_multisig_segwit_p2sh": null,
"xpub_magic_multisig_segwit_native": null,
"bech32_prefix": null,
"cashaddr_prefix": null,
"slip44": 72,

View File

@ -17,6 +17,8 @@
"xpub_magic": 50221772,
"xpub_magic_segwit_p2sh": null,
"xpub_magic_segwit_native": null,
"xpub_magic_multisig_segwit_p2sh": null,
"xpub_magic_multisig_segwit_native": null,
"bech32_prefix": null,
"cashaddr_prefix": null,
"slip44": 5,

View File

@ -17,6 +17,8 @@
"xpub_magic": 70617039,
"xpub_magic_segwit_p2sh": null,
"xpub_magic_segwit_native": null,
"xpub_magic_multisig_segwit_p2sh": null,
"xpub_magic_multisig_segwit_native": null,
"bech32_prefix": null,
"cashaddr_prefix": null,
"slip44": 1,

View File

@ -17,6 +17,8 @@
"xpub_magic": 50178342,
"xpub_magic_segwit_p2sh": null,
"xpub_magic_segwit_native": null,
"xpub_magic_multisig_segwit_p2sh": null,
"xpub_magic_multisig_segwit_native": null,
"bech32_prefix": null,
"cashaddr_prefix": null,
"slip44": 42,

View File

@ -17,6 +17,8 @@
"xpub_magic": 70617041,
"xpub_magic_segwit_p2sh": null,
"xpub_magic_segwit_native": null,
"xpub_magic_multisig_segwit_p2sh": null,
"xpub_magic_multisig_segwit_native": null,
"bech32_prefix": null,
"cashaddr_prefix": null,
"slip44": 1,

View File

@ -17,6 +17,8 @@
"xpub_magic": 76067358,
"xpub_magic_segwit_p2sh": 77429938,
"xpub_magic_segwit_native": 78792518,
"xpub_magic_multisig_segwit_p2sh": 76067358,
"xpub_magic_multisig_segwit_native": 76067358,
"bech32_prefix": "dgb",
"cashaddr_prefix": null,
"slip44": 20,

View File

@ -17,6 +17,8 @@
"xpub_magic": 49990397,
"xpub_magic_segwit_p2sh": null,
"xpub_magic_segwit_native": null,
"xpub_magic_multisig_segwit_p2sh": null,
"xpub_magic_multisig_segwit_native": null,
"bech32_prefix": null,
"cashaddr_prefix": null,
"slip44": 3,

View File

@ -17,6 +17,8 @@
"xpub_magic": 70617039,
"xpub_magic_segwit_p2sh": 71979618,
"xpub_magic_segwit_native": 73342198,
"xpub_magic_multisig_segwit_p2sh": 70617039,
"xpub_magic_multisig_segwit_native": 70617039,
"bech32_prefix": "ert",
"cashaddr_prefix": null,
"slip44": 1,

View File

@ -17,6 +17,8 @@
"xpub_magic": 76069926,
"xpub_magic_segwit_p2sh": 77429938,
"xpub_magic_segwit_native": 78792518,
"xpub_magic_multisig_segwit_p2sh": 76069926,
"xpub_magic_multisig_segwit_native": 76069926,
"bech32_prefix": "fc",
"cashaddr_prefix": null,
"slip44": 8,

View File

@ -17,6 +17,8 @@
"xpub_magic": 1526049,
"xpub_magic_segwit_p2sh": 28471030,
"xpub_magic_segwit_native": 78792518,
"xpub_magic_multisig_segwit_p2sh": 1526049,
"xpub_magic_multisig_segwit_native": 1526049,
"bech32_prefix": "flo",
"cashaddr_prefix": null,
"slip44": 216,

View File

@ -17,6 +17,8 @@
"xprv_magic": 76066276,
"xpub_magic_segwit_p2sh": 77429938,
"xpub_magic_segwit_native": 78792518,
"xpub_magic_multisig_segwit_p2sh": 76066276,
"xpub_magic_multisig_segwit_native": 76066276,
"bech32_prefix": "fc",
"cashaddr_prefix": null,
"slip44": 75,

View File

@ -17,6 +17,8 @@
"xprv_magic": 27108450,
"xpub_magic_segwit_p2sh": 28471030,
"xpub_magic_segwit_native": 78792518,
"xpub_magic_multisig_segwit_p2sh": 27108450,
"xpub_magic_multisig_segwit_native": 27108450,
"bech32_prefix": "game",
"cashaddr_prefix": null,
"slip44": 101,

View File

@ -17,6 +17,8 @@
"xpub_magic": 76067358,
"xpub_magic_segwit_p2sh": 77429938,
"xpub_magic_segwit_native": 78792518,
"xpub_magic_multisig_segwit_p2sh": 76067358,
"xpub_magic_multisig_segwit_native": 76067358,
"bech32_prefix": "grs",
"cashaddr_prefix": null,
"slip44": 17,

View File

@ -17,6 +17,8 @@
"xpub_magic": 70617039,
"xpub_magic_segwit_p2sh": 71979618,
"xpub_magic_segwit_native": 73342198,
"xpub_magic_multisig_segwit_p2sh": 70617039,
"xpub_magic_multisig_segwit_native": 70617039,
"bech32_prefix": "tgrs",
"cashaddr_prefix": null,
"slip44": 1,

View File

@ -17,6 +17,8 @@
"xpub_magic": 50221772,
"xpub_magic_segwit_p2sh": null,
"xpub_magic_segwit_native": null,
"xpub_magic_multisig_segwit_p2sh": null,
"xpub_magic_multisig_segwit_native": null,
"bech32_prefix": null,
"cashaddr_prefix": null,
"slip44": 88888888,

View File

@ -17,6 +17,8 @@
"xpub_magic": 70617039,
"xpub_magic_segwit_p2sh": null,
"xpub_magic_segwit_native": null,
"xpub_magic_multisig_segwit_p2sh": null,
"xpub_magic_multisig_segwit_native": null,
"bech32_prefix": null,
"cashaddr_prefix": null,
"slip44": 1,

View File

@ -17,6 +17,8 @@
"xpub_magic": 76067358,
"xpub_magic_segwit_p2sh": null,
"xpub_magic_segwit_native": null,
"xpub_magic_multisig_segwit_p2sh": null,
"xpub_magic_multisig_segwit_native": null,
"bech32_prefix": null,
"cashaddr_prefix": null,
"slip44": 141,

View File

@ -17,6 +17,8 @@
"xpub_magic": 76067358,
"xpub_magic_segwit_p2sh": null,
"xpub_magic_segwit_native": null,
"xpub_magic_multisig_segwit_p2sh": null,
"xpub_magic_multisig_segwit_native": null,
"bech32_prefix": null,
"cashaddr_prefix": null,
"slip44": 510,

View File

@ -17,6 +17,8 @@
"xpub_magic": 27108450,
"xpub_magic_segwit_p2sh": 28471030,
"xpub_magic_segwit_native": 78792518,
"xpub_magic_multisig_segwit_p2sh": 27108450,
"xpub_magic_multisig_segwit_native": 27108450,
"bech32_prefix": "ltc",
"cashaddr_prefix": null,
"slip44": 2,

View File

@ -17,6 +17,8 @@
"xpub_magic": 70617039,
"xpub_magic_segwit_p2sh": 71979618,
"xpub_magic_segwit_native": 73342198,
"xpub_magic_multisig_segwit_p2sh": 70617039,
"xpub_magic_multisig_segwit_native": 70617039,
"bech32_prefix": "tltc",
"cashaddr_prefix": null,
"slip44": 1,

View File

@ -17,6 +17,8 @@
"xpub_magic": 76067358,
"xpub_magic_segwit_p2sh": 77429938,
"xpub_magic_segwit_native": 78792518,
"xpub_magic_multisig_segwit_p2sh": 76067358,
"xpub_magic_multisig_segwit_native": 76067358,
"bech32_prefix": "mona",
"cashaddr_prefix": null,
"slip44": 22,

View File

@ -17,6 +17,8 @@
"xpub_magic": 76067358,
"xpub_magic_segwit_p2sh": null,
"xpub_magic_segwit_native": null,
"xpub_magic_multisig_segwit_p2sh": null,
"xpub_magic_multisig_segwit_native": null,
"bech32_prefix": null,
"cashaddr_prefix": null,
"slip44": 31,

View File

@ -17,6 +17,8 @@
"xpub_magic": 76067358,
"xpub_magic_segwit_p2sh": null,
"xpub_magic_segwit_native": null,
"xpub_magic_multisig_segwit_p2sh": null,
"xpub_magic_multisig_segwit_native": null,
"bech32_prefix": null,
"cashaddr_prefix": null,
"slip44": 7,

View File

@ -17,6 +17,8 @@
"xpub_magic": 76067358,
"xpub_magic_segwit_p2sh": 77429938,
"xpub_magic_segwit_native": 78792518,
"xpub_magic_multisig_segwit_p2sh": 76067358,
"xpub_magic_multisig_segwit_native": 76067358,
"bech32_prefix": "nix",
"cashaddr_prefix": null,
"slip44": 400,

View File

@ -17,6 +17,8 @@
"xpub_magic": 2401087160,
"xpub_magic_segwit_p2sh": 28471030,
"xpub_magic_segwit_native": 78792518,
"xpub_magic_multisig_segwit_p2sh": 2401087160,
"xpub_magic_multisig_segwit_native": 2401087160,
"bech32_prefix": "bc",
"cashaddr_prefix": null,
"slip44": 44,

View File

@ -17,6 +17,8 @@
"xpub_magic": 76059768,
"xpub_magic_segwit_p2sh": 71979618,
"xpub_magic_segwit_native": 73342198,
"xpub_magic_multisig_segwit_p2sh": 76059768,
"xpub_magic_multisig_segwit_native": 76059768,
"bech32_prefix": "tb",
"cashaddr_prefix": null,
"slip44": 1,

View File

@ -17,6 +17,8 @@
"xpub_magic": 76067358,
"xpub_magic_segwit_p2sh": 77429938,
"xpub_magic_segwit_native": 78792518,
"xpub_magic_multisig_segwit_p2sh": 76067358,
"xpub_magic_multisig_segwit_native": 76067358,
"bech32_prefix": "pc",
"cashaddr_prefix": null,
"slip44": 6,

View File

@ -17,6 +17,8 @@
"xpub_magic": 70617039,
"xpub_magic_segwit_p2sh": 71979618,
"xpub_magic_segwit_native": 73342198,
"xpub_magic_multisig_segwit_p2sh": 70617039,
"xpub_magic_multisig_segwit_native": 70617039,
"bech32_prefix": "tpc",
"cashaddr_prefix": null,
"slip44": 1,

View File

@ -17,6 +17,8 @@
"xpub_magic": 65166718,
"xpub_magic_segwit_p2sh": null,
"xpub_magic_segwit_native": null,
"xpub_magic_multisig_segwit_p2sh": null,
"xpub_magic_multisig_segwit_native": null,
"bech32_prefix": null,
"cashaddr_prefix": null,
"slip44": 1997,

View File

@ -17,6 +17,8 @@
"xpub_magic": 76067358,
"xpub_magic_segwit_p2sh": null,
"xpub_magic_segwit_native": null,
"xpub_magic_multisig_segwit_p2sh": null,
"xpub_magic_multisig_segwit_native": null,
"bech32_prefix": null,
"cashaddr_prefix": null,
"slip44": 24,

View File

@ -17,6 +17,8 @@
"xpub_magic": 76067358,
"xpub_magic_segwit_p2sh": 77429938,
"xpub_magic_segwit_native": 78792518,
"xpub_magic_multisig_segwit_p2sh": 76067358,
"xpub_magic_multisig_segwit_native": 76067358,
"bech32_prefix": "qc",
"cashaddr_prefix": null,
"slip44": 2301,

View File

@ -17,6 +17,8 @@
"xpub_magic": 70617039,
"xpub_magic_segwit_p2sh": 71979618,
"xpub_magic_segwit_native": 73342198,
"xpub_magic_multisig_segwit_p2sh": 70617039,
"xpub_magic_multisig_segwit_native": 70617039,
"bech32_prefix": "tq",
"cashaddr_prefix": null,
"slip44": 1,

View File

@ -17,6 +17,8 @@
"xpub_magic": 76067358,
"xpub_magic_segwit_p2sh": null,
"xpub_magic_segwit_native": null,
"xpub_magic_multisig_segwit_p2sh": null,
"xpub_magic_multisig_segwit_native": null,
"bech32_prefix": null,
"cashaddr_prefix": null,
"slip44": 175,

View File

@ -17,6 +17,8 @@
"xpub_magic": 87353290,
"xpub_magic_segwit_p2sh": null,
"xpub_magic_segwit_native": null,
"xpub_magic_multisig_segwit_p2sh": null,
"xpub_magic_multisig_segwit_native": null,
"bech32_prefix": null,
"cashaddr_prefix": null,
"slip44": 19169,

View File

@ -17,6 +17,8 @@
"xpub_magic": 76067358,
"xpub_magic_segwit_p2sh": null,
"xpub_magic_segwit_native": null,
"xpub_magic_multisig_segwit_p2sh": null,
"xpub_magic_multisig_segwit_native": null,
"bech32_prefix": null,
"cashaddr_prefix": null,
"slip44": 224,

View File

@ -17,6 +17,8 @@
"xpub_magic": 70617039,
"xpub_magic_segwit_p2sh": null,
"xpub_magic_segwit_native": null,
"xpub_magic_multisig_segwit_p2sh": null,
"xpub_magic_multisig_segwit_native": null,
"bech32_prefix": null,
"cashaddr_prefix": null,
"slip44": 224,

View File

@ -17,6 +17,8 @@
"xpub_magic": 76067358,
"xpub_magic_segwit_p2sh": 77429938,
"xpub_magic_segwit_native": 78792518,
"xpub_magic_multisig_segwit_p2sh": 76067358,
"xpub_magic_multisig_segwit_native": 76067358,
"bech32_prefix": "xc",
"cashaddr_prefix": null,
"slip44": 199,

View File

@ -17,6 +17,8 @@
"xpub_magic": 76067358,
"xpub_magic_segwit_p2sh": 77429938,
"xpub_magic_segwit_native": 78792518,
"xpub_magic_multisig_segwit_p2sh": 76067358,
"xpub_magic_multisig_segwit_native": 76067358,
"bech32_prefix": "sys",
"cashaddr_prefix": null,
"slip44": 57,

View File

@ -17,6 +17,8 @@
"xpub_magic": 76067358,
"xpub_magic_segwit_p2sh": null,
"xpub_magic_segwit_native": null,
"xpub_magic_multisig_segwit_p2sh": null,
"xpub_magic_multisig_segwit_native": null,
"bech32_prefix": null,
"cashaddr_prefix": null,
"slip44": 83,

View File

@ -17,6 +17,8 @@
"xpub_magic": 76067358,
"xpub_magic_segwit_p2sh": null,
"xpub_magic_segwit_native": null,
"xpub_magic_multisig_segwit_p2sh": null,
"xpub_magic_multisig_segwit_native": null,
"bech32_prefix": null,
"cashaddr_prefix": null,
"slip44": 92,

View File

@ -17,6 +17,8 @@
"xpub_magic": 36513075,
"xpub_magic_segwit_p2sh": null,
"xpub_magic_segwit_native": null,
"xpub_magic_multisig_segwit_p2sh": null,
"xpub_magic_multisig_segwit_native": null,
"bech32_prefix": null,
"cashaddr_prefix": null,
"slip44": 77,

View File

@ -17,6 +17,8 @@
"xpub_magic": 76067358,
"xpub_magic_segwit_p2sh": 77429938,
"xpub_magic_segwit_native": 78792518,
"xpub_magic_multisig_segwit_p2sh": 76067358,
"xpub_magic_multisig_segwit_native": 76067358,
"bech32_prefix": "vtc",
"cashaddr_prefix": null,
"slip44": 28,

View File

@ -17,6 +17,8 @@
"xpub_magic": 76067358,
"xpub_magic_segwit_p2sh": 77429938,
"xpub_magic_segwit_native": 78792518,
"xpub_magic_multisig_segwit_p2sh": 76067358,
"xpub_magic_multisig_segwit_native": 76067358,
"bech32_prefix": "via",
"cashaddr_prefix": null,
"slip44": 14,

View File

@ -17,6 +17,8 @@
"xpub_magic": 76067358,
"xpub_magic_segwit_p2sh": 77429938,
"xpub_magic_segwit_native": 78792518,
"xpub_magic_multisig_segwit_p2sh": 76067358,
"xpub_magic_multisig_segwit_native": 76067358,
"bech32_prefix": "vips",
"cashaddr_prefix": null,
"slip44": 1919,

View File

@ -17,6 +17,8 @@
"xpub_magic": 76067358,
"xpub_magic_segwit_p2sh": null,
"xpub_magic_segwit_native": null,
"xpub_magic_multisig_segwit_p2sh": null,
"xpub_magic_multisig_segwit_native": null,
"bech32_prefix": null,
"cashaddr_prefix": null,
"slip44": 133,

View File

@ -17,6 +17,8 @@
"xpub_magic": 70617039,
"xpub_magic_segwit_p2sh": null,
"xpub_magic_segwit_native": null,
"xpub_magic_multisig_segwit_p2sh": null,
"xpub_magic_multisig_segwit_native": null,
"bech32_prefix": null,
"cashaddr_prefix": null,
"slip44": 1,

View File

@ -17,6 +17,8 @@
"xpub_magic": 76067358,
"xpub_magic_segwit_p2sh": null,
"xpub_magic_segwit_native": null,
"xpub_magic_multisig_segwit_p2sh": null,
"xpub_magic_multisig_segwit_native": null,
"bech32_prefix": null,
"cashaddr_prefix": null,
"slip44": 136,

View File

@ -17,6 +17,8 @@
"xpub_magic": 70617039,
"xpub_magic_segwit_p2sh": null,
"xpub_magic_segwit_native": null,
"xpub_magic_multisig_segwit_p2sh": null,
"xpub_magic_multisig_segwit_native": null,
"bech32_prefix": null,
"cashaddr_prefix": null,
"slip44": 1,

View File

@ -17,6 +17,8 @@
"xpub_magic": 78792518,
"xpub_magic_segwit_p2sh": null,
"xpub_magic_segwit_native": null,
"xpub_magic_multisig_segwit_p2sh": null,
"xpub_magic_multisig_segwit_native": null,
"bech32_prefix": null,
"cashaddr_prefix": null,
"slip44": 428,

View File

@ -448,6 +448,8 @@ def check_segwit(coins):
"bech32_prefix",
"xpub_magic_segwit_native",
"xpub_magic_segwit_p2sh",
"xpub_magic_multisig_segwit_native",
"xpub_magic_multisig_segwit_p2sh",
]
if segwit:
for field in segwit_fields:

View File

@ -23,6 +23,8 @@ class CoinInfo:
xpub_magic: int,
xpub_magic_segwit_p2sh: Optional[int],
xpub_magic_segwit_native: Optional[int],
xpub_magic_multisig_segwit_p2sh: Optional[int],
xpub_magic_multisig_segwit_native: Optional[int],
bech32_prefix: Optional[str],
cashaddr_prefix: Optional[str],
slip44: int,
@ -47,6 +49,8 @@ class CoinInfo:
self.xpub_magic = xpub_magic
self.xpub_magic_segwit_p2sh = xpub_magic_segwit_p2sh
self.xpub_magic_segwit_native = xpub_magic_segwit_native
self.xpub_magic_multisig_segwit_p2sh = xpub_magic_multisig_segwit_p2sh
self.xpub_magic_multisig_segwit_native = xpub_magic_multisig_segwit_native
self.bech32_prefix = bech32_prefix
self.cashaddr_prefix = cashaddr_prefix
self.slip44 = slip44
@ -99,6 +103,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x0488b21e,
xpub_magic_segwit_p2sh=0x049d7cb2,
xpub_magic_segwit_native=0x04b24746,
xpub_magic_multisig_segwit_p2sh=0x0295b43f,
xpub_magic_multisig_segwit_native=0x02aa7ed3,
bech32_prefix="bc",
cashaddr_prefix=None,
slip44=0,
@ -125,6 +131,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x043587cf,
xpub_magic_segwit_p2sh=0x044a5262,
xpub_magic_segwit_native=0x045f1cf6,
xpub_magic_multisig_segwit_p2sh=0x024289ef,
xpub_magic_multisig_segwit_native=0x02575483,
bech32_prefix="bcrt",
cashaddr_prefix=None,
slip44=1,
@ -151,6 +159,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x043587cf,
xpub_magic_segwit_p2sh=0x044a5262,
xpub_magic_segwit_native=0x045f1cf6,
xpub_magic_multisig_segwit_p2sh=0x024289ef,
xpub_magic_multisig_segwit_native=0x02575483,
bech32_prefix="tb",
cashaddr_prefix=None,
slip44=1,
@ -180,6 +190,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x0488b21e,
xpub_magic_segwit_p2sh=0x049d7cb2,
xpub_magic_segwit_native=0x04b24746,
xpub_magic_multisig_segwit_p2sh=0x0488b21e,
xpub_magic_multisig_segwit_native=0x0488b21e,
bech32_prefix="acm",
cashaddr_prefix=None,
slip44=228,
@ -206,6 +218,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x02fe52cc,
xpub_magic_segwit_p2sh=None,
xpub_magic_segwit_native=None,
xpub_magic_multisig_segwit_p2sh=None,
xpub_magic_multisig_segwit_native=None,
bech32_prefix=None,
cashaddr_prefix=None,
slip44=4242,
@ -232,6 +246,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x0488b21e,
xpub_magic_segwit_p2sh=0x049d7cb2,
xpub_magic_segwit_native=0x04b24746,
xpub_magic_multisig_segwit_p2sh=0x0488b21e,
xpub_magic_multisig_segwit_native=0x0488b21e,
bech32_prefix="bm",
cashaddr_prefix=None,
slip44=25252,
@ -258,6 +274,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x0488b21e,
xpub_magic_segwit_p2sh=0x049d7cb2,
xpub_magic_segwit_native=0x04b24746,
xpub_magic_multisig_segwit_p2sh=0x0488b21e,
xpub_magic_multisig_segwit_native=0x0488b21e,
bech32_prefix="bz",
cashaddr_prefix=None,
slip44=123,
@ -284,6 +302,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x0488b21e,
xpub_magic_segwit_p2sh=None,
xpub_magic_segwit_native=None,
xpub_magic_multisig_segwit_p2sh=None,
xpub_magic_multisig_segwit_native=None,
bech32_prefix=None,
cashaddr_prefix="bitcoincash",
slip44=145,
@ -310,6 +330,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x043587cf,
xpub_magic_segwit_p2sh=None,
xpub_magic_segwit_native=None,
xpub_magic_multisig_segwit_p2sh=None,
xpub_magic_multisig_segwit_native=None,
bech32_prefix=None,
cashaddr_prefix="bchtest",
slip44=1,
@ -336,6 +358,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x0488b21e,
xpub_magic_segwit_p2sh=0x049d7cb2,
xpub_magic_segwit_native=0x04b24746,
xpub_magic_multisig_segwit_p2sh=0x0488b21e,
xpub_magic_multisig_segwit_native=0x0488b21e,
bech32_prefix="btg",
cashaddr_prefix=None,
slip44=156,
@ -362,6 +386,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x043587cf,
xpub_magic_segwit_p2sh=0x044a5262,
xpub_magic_segwit_native=0x045f1cf6,
xpub_magic_multisig_segwit_p2sh=0x043587cf,
xpub_magic_multisig_segwit_native=0x043587cf,
bech32_prefix="tbtg",
cashaddr_prefix=None,
slip44=156,
@ -388,6 +414,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x0488b21e,
xpub_magic_segwit_p2sh=None,
xpub_magic_segwit_native=None,
xpub_magic_multisig_segwit_p2sh=None,
xpub_magic_multisig_segwit_native=None,
bech32_prefix=None,
cashaddr_prefix=None,
slip44=183,
@ -414,6 +442,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x0488b21e,
xpub_magic_segwit_p2sh=None,
xpub_magic_segwit_native=None,
xpub_magic_multisig_segwit_p2sh=None,
xpub_magic_multisig_segwit_native=None,
bech32_prefix=None,
cashaddr_prefix=None,
slip44=10291,
@ -440,6 +470,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x0488b21e,
xpub_magic_segwit_p2sh=0x049d7cb2,
xpub_magic_segwit_native=0x04b24746,
xpub_magic_multisig_segwit_p2sh=0x0488b21e,
xpub_magic_multisig_segwit_native=0x0488b21e,
bech32_prefix="btx",
cashaddr_prefix=None,
slip44=160,
@ -466,6 +498,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x0488b21e,
xpub_magic_segwit_p2sh=0x049d7cb2,
xpub_magic_segwit_native=0x04b24746,
xpub_magic_multisig_segwit_p2sh=0x0488b21e,
xpub_magic_multisig_segwit_native=0x0488b21e,
bech32_prefix="cpu",
cashaddr_prefix=None,
slip44=363,
@ -492,6 +526,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x0488b21e,
xpub_magic_segwit_p2sh=None,
xpub_magic_segwit_native=None,
xpub_magic_multisig_segwit_p2sh=None,
xpub_magic_multisig_segwit_native=None,
bech32_prefix=None,
cashaddr_prefix=None,
slip44=72,
@ -518,6 +554,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x02fe52cc,
xpub_magic_segwit_p2sh=None,
xpub_magic_segwit_native=None,
xpub_magic_multisig_segwit_p2sh=None,
xpub_magic_multisig_segwit_native=None,
bech32_prefix=None,
cashaddr_prefix=None,
slip44=5,
@ -544,6 +582,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x043587cf,
xpub_magic_segwit_p2sh=None,
xpub_magic_segwit_native=None,
xpub_magic_multisig_segwit_p2sh=None,
xpub_magic_multisig_segwit_native=None,
bech32_prefix=None,
cashaddr_prefix=None,
slip44=1,
@ -570,6 +610,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x02fda926,
xpub_magic_segwit_p2sh=None,
xpub_magic_segwit_native=None,
xpub_magic_multisig_segwit_p2sh=None,
xpub_magic_multisig_segwit_native=None,
bech32_prefix=None,
cashaddr_prefix=None,
slip44=42,
@ -596,6 +638,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x043587d1,
xpub_magic_segwit_p2sh=None,
xpub_magic_segwit_native=None,
xpub_magic_multisig_segwit_p2sh=None,
xpub_magic_multisig_segwit_native=None,
bech32_prefix=None,
cashaddr_prefix=None,
slip44=1,
@ -622,6 +666,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x0488b21e,
xpub_magic_segwit_p2sh=0x049d7cb2,
xpub_magic_segwit_native=0x04b24746,
xpub_magic_multisig_segwit_p2sh=0x0488b21e,
xpub_magic_multisig_segwit_native=0x0488b21e,
bech32_prefix="dgb",
cashaddr_prefix=None,
slip44=20,
@ -648,6 +694,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x02facafd,
xpub_magic_segwit_p2sh=None,
xpub_magic_segwit_native=None,
xpub_magic_multisig_segwit_p2sh=None,
xpub_magic_multisig_segwit_native=None,
bech32_prefix=None,
cashaddr_prefix=None,
slip44=3,
@ -674,6 +722,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x043587cf,
xpub_magic_segwit_p2sh=0x044a5262,
xpub_magic_segwit_native=0x045f1cf6,
xpub_magic_multisig_segwit_p2sh=0x043587cf,
xpub_magic_multisig_segwit_native=0x043587cf,
bech32_prefix="ert",
cashaddr_prefix=None,
slip44=1,
@ -700,6 +750,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x0488bc26,
xpub_magic_segwit_p2sh=0x049d7cb2,
xpub_magic_segwit_native=0x04b24746,
xpub_magic_multisig_segwit_p2sh=0x0488bc26,
xpub_magic_multisig_segwit_native=0x0488bc26,
bech32_prefix="fc",
cashaddr_prefix=None,
slip44=8,
@ -726,6 +778,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x00174921,
xpub_magic_segwit_p2sh=0x01b26ef6,
xpub_magic_segwit_native=0x04b24746,
xpub_magic_multisig_segwit_p2sh=0x00174921,
xpub_magic_multisig_segwit_native=0x00174921,
bech32_prefix="flo",
cashaddr_prefix=None,
slip44=216,
@ -752,6 +806,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x0488b21e,
xpub_magic_segwit_p2sh=0x049d7cb2,
xpub_magic_segwit_native=0x04b24746,
xpub_magic_multisig_segwit_p2sh=0x0488ade4,
xpub_magic_multisig_segwit_native=0x0488ade4,
bech32_prefix="fc",
cashaddr_prefix=None,
slip44=75,
@ -778,6 +834,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x019d9cfe,
xpub_magic_segwit_p2sh=0x01b26ef6,
xpub_magic_segwit_native=0x04b24746,
xpub_magic_multisig_segwit_p2sh=0x019da462,
xpub_magic_multisig_segwit_native=0x019da462,
bech32_prefix="game",
cashaddr_prefix=None,
slip44=101,
@ -804,6 +862,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x0488b21e,
xpub_magic_segwit_p2sh=0x049d7cb2,
xpub_magic_segwit_native=0x04b24746,
xpub_magic_multisig_segwit_p2sh=0x0488b21e,
xpub_magic_multisig_segwit_native=0x0488b21e,
bech32_prefix="grs",
cashaddr_prefix=None,
slip44=17,
@ -830,6 +890,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x043587cf,
xpub_magic_segwit_p2sh=0x044a5262,
xpub_magic_segwit_native=0x045f1cf6,
xpub_magic_multisig_segwit_p2sh=0x043587cf,
xpub_magic_multisig_segwit_native=0x043587cf,
bech32_prefix="tgrs",
cashaddr_prefix=None,
slip44=1,
@ -856,6 +918,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x02fe52cc,
xpub_magic_segwit_p2sh=None,
xpub_magic_segwit_native=None,
xpub_magic_multisig_segwit_p2sh=None,
xpub_magic_multisig_segwit_native=None,
bech32_prefix=None,
cashaddr_prefix=None,
slip44=88888888,
@ -882,6 +946,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x043587cf,
xpub_magic_segwit_p2sh=None,
xpub_magic_segwit_native=None,
xpub_magic_multisig_segwit_p2sh=None,
xpub_magic_multisig_segwit_native=None,
bech32_prefix=None,
cashaddr_prefix=None,
slip44=1,
@ -908,6 +974,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x0488b21e,
xpub_magic_segwit_p2sh=None,
xpub_magic_segwit_native=None,
xpub_magic_multisig_segwit_p2sh=None,
xpub_magic_multisig_segwit_native=None,
bech32_prefix=None,
cashaddr_prefix=None,
slip44=141,
@ -934,6 +1002,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x0488b21e,
xpub_magic_segwit_p2sh=None,
xpub_magic_segwit_native=None,
xpub_magic_multisig_segwit_p2sh=None,
xpub_magic_multisig_segwit_native=None,
bech32_prefix=None,
cashaddr_prefix=None,
slip44=510,
@ -960,6 +1030,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x019da462,
xpub_magic_segwit_p2sh=0x01b26ef6,
xpub_magic_segwit_native=0x04b24746,
xpub_magic_multisig_segwit_p2sh=0x019da462,
xpub_magic_multisig_segwit_native=0x019da462,
bech32_prefix="ltc",
cashaddr_prefix=None,
slip44=2,
@ -986,6 +1058,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x043587cf,
xpub_magic_segwit_p2sh=0x044a5262,
xpub_magic_segwit_native=0x045f1cf6,
xpub_magic_multisig_segwit_p2sh=0x043587cf,
xpub_magic_multisig_segwit_native=0x043587cf,
bech32_prefix="tltc",
cashaddr_prefix=None,
slip44=1,
@ -1012,6 +1086,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x0488b21e,
xpub_magic_segwit_p2sh=0x049d7cb2,
xpub_magic_segwit_native=0x04b24746,
xpub_magic_multisig_segwit_p2sh=0x0488b21e,
xpub_magic_multisig_segwit_native=0x0488b21e,
bech32_prefix="mona",
cashaddr_prefix=None,
slip44=22,
@ -1038,6 +1114,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x0488b21e,
xpub_magic_segwit_p2sh=None,
xpub_magic_segwit_native=None,
xpub_magic_multisig_segwit_p2sh=None,
xpub_magic_multisig_segwit_native=None,
bech32_prefix=None,
cashaddr_prefix=None,
slip44=31,
@ -1064,6 +1142,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x0488b21e,
xpub_magic_segwit_p2sh=0x049d7cb2,
xpub_magic_segwit_native=0x04b24746,
xpub_magic_multisig_segwit_p2sh=0x0488b21e,
xpub_magic_multisig_segwit_native=0x0488b21e,
bech32_prefix="nix",
cashaddr_prefix=None,
slip44=400,
@ -1090,6 +1170,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x0488b21e,
xpub_magic_segwit_p2sh=None,
xpub_magic_segwit_native=None,
xpub_magic_multisig_segwit_p2sh=None,
xpub_magic_multisig_segwit_native=None,
bech32_prefix=None,
cashaddr_prefix=None,
slip44=7,
@ -1116,6 +1198,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x8f1daeb8,
xpub_magic_segwit_p2sh=0x01b26ef6,
xpub_magic_segwit_native=0x04b24746,
xpub_magic_multisig_segwit_p2sh=0x8f1daeb8,
xpub_magic_multisig_segwit_native=0x8f1daeb8,
bech32_prefix="bc",
cashaddr_prefix=None,
slip44=44,
@ -1142,6 +1226,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x04889478,
xpub_magic_segwit_p2sh=0x044a5262,
xpub_magic_segwit_native=0x045f1cf6,
xpub_magic_multisig_segwit_p2sh=0x04889478,
xpub_magic_multisig_segwit_native=0x04889478,
bech32_prefix="tb",
cashaddr_prefix=None,
slip44=1,
@ -1168,6 +1254,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x0488b21e,
xpub_magic_segwit_p2sh=0x049d7cb2,
xpub_magic_segwit_native=0x04b24746,
xpub_magic_multisig_segwit_p2sh=0x0488b21e,
xpub_magic_multisig_segwit_native=0x0488b21e,
bech32_prefix="pc",
cashaddr_prefix=None,
slip44=6,
@ -1194,6 +1282,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x043587cf,
xpub_magic_segwit_p2sh=0x044a5262,
xpub_magic_segwit_native=0x045f1cf6,
xpub_magic_multisig_segwit_p2sh=0x043587cf,
xpub_magic_multisig_segwit_native=0x043587cf,
bech32_prefix="tpc",
cashaddr_prefix=None,
slip44=1,
@ -1220,6 +1310,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x03e25d7e,
xpub_magic_segwit_p2sh=None,
xpub_magic_segwit_native=None,
xpub_magic_multisig_segwit_p2sh=None,
xpub_magic_multisig_segwit_native=None,
bech32_prefix=None,
cashaddr_prefix=None,
slip44=1997,
@ -1246,6 +1338,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x0488b21e,
xpub_magic_segwit_p2sh=None,
xpub_magic_segwit_native=None,
xpub_magic_multisig_segwit_p2sh=None,
xpub_magic_multisig_segwit_native=None,
bech32_prefix=None,
cashaddr_prefix=None,
slip44=24,
@ -1272,6 +1366,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x0488b21e,
xpub_magic_segwit_p2sh=0x049d7cb2,
xpub_magic_segwit_native=0x04b24746,
xpub_magic_multisig_segwit_p2sh=0x0488b21e,
xpub_magic_multisig_segwit_native=0x0488b21e,
bech32_prefix="qc",
cashaddr_prefix=None,
slip44=2301,
@ -1298,6 +1394,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x043587cf,
xpub_magic_segwit_p2sh=0x044a5262,
xpub_magic_segwit_native=0x045f1cf6,
xpub_magic_multisig_segwit_p2sh=0x043587cf,
xpub_magic_multisig_segwit_native=0x043587cf,
bech32_prefix="tq",
cashaddr_prefix=None,
slip44=1,
@ -1324,6 +1422,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x0488b21e,
xpub_magic_segwit_p2sh=None,
xpub_magic_segwit_native=None,
xpub_magic_multisig_segwit_p2sh=None,
xpub_magic_multisig_segwit_native=None,
bech32_prefix=None,
cashaddr_prefix=None,
slip44=175,
@ -1350,6 +1450,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x0534e7ca,
xpub_magic_segwit_p2sh=None,
xpub_magic_segwit_native=None,
xpub_magic_multisig_segwit_p2sh=None,
xpub_magic_multisig_segwit_native=None,
bech32_prefix=None,
cashaddr_prefix=None,
slip44=19169,
@ -1376,6 +1478,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x0488b21e,
xpub_magic_segwit_p2sh=None,
xpub_magic_segwit_native=None,
xpub_magic_multisig_segwit_p2sh=None,
xpub_magic_multisig_segwit_native=None,
bech32_prefix=None,
cashaddr_prefix=None,
slip44=224,
@ -1402,6 +1506,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x043587cf,
xpub_magic_segwit_p2sh=None,
xpub_magic_segwit_native=None,
xpub_magic_multisig_segwit_p2sh=None,
xpub_magic_multisig_segwit_native=None,
bech32_prefix=None,
cashaddr_prefix=None,
slip44=224,
@ -1428,6 +1534,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x0488b21e,
xpub_magic_segwit_p2sh=0x049d7cb2,
xpub_magic_segwit_native=0x04b24746,
xpub_magic_multisig_segwit_p2sh=0x0488b21e,
xpub_magic_multisig_segwit_native=0x0488b21e,
bech32_prefix="xc",
cashaddr_prefix=None,
slip44=199,
@ -1454,6 +1562,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x0488b21e,
xpub_magic_segwit_p2sh=0x049d7cb2,
xpub_magic_segwit_native=0x04b24746,
xpub_magic_multisig_segwit_p2sh=0x0488b21e,
xpub_magic_multisig_segwit_native=0x0488b21e,
bech32_prefix="sys",
cashaddr_prefix=None,
slip44=57,
@ -1480,6 +1590,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x0488b21e,
xpub_magic_segwit_p2sh=None,
xpub_magic_segwit_native=None,
xpub_magic_multisig_segwit_p2sh=None,
xpub_magic_multisig_segwit_native=None,
bech32_prefix=None,
cashaddr_prefix=None,
slip44=92,
@ -1506,6 +1618,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x0488b21e,
xpub_magic_segwit_p2sh=0x049d7cb2,
xpub_magic_segwit_native=0x04b24746,
xpub_magic_multisig_segwit_p2sh=0x0488b21e,
xpub_magic_multisig_segwit_native=0x0488b21e,
bech32_prefix="vips",
cashaddr_prefix=None,
slip44=1919,
@ -1532,6 +1646,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x022d2533,
xpub_magic_segwit_p2sh=None,
xpub_magic_segwit_native=None,
xpub_magic_multisig_segwit_p2sh=None,
xpub_magic_multisig_segwit_native=None,
bech32_prefix=None,
cashaddr_prefix=None,
slip44=77,
@ -1558,6 +1674,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x0488b21e,
xpub_magic_segwit_p2sh=0x049d7cb2,
xpub_magic_segwit_native=0x04b24746,
xpub_magic_multisig_segwit_p2sh=0x0488b21e,
xpub_magic_multisig_segwit_native=0x0488b21e,
bech32_prefix="vtc",
cashaddr_prefix=None,
slip44=28,
@ -1584,6 +1702,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x0488b21e,
xpub_magic_segwit_p2sh=0x049d7cb2,
xpub_magic_segwit_native=0x04b24746,
xpub_magic_multisig_segwit_p2sh=0x0488b21e,
xpub_magic_multisig_segwit_native=0x0488b21e,
bech32_prefix="via",
cashaddr_prefix=None,
slip44=14,
@ -1610,6 +1730,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x04b24746,
xpub_magic_segwit_p2sh=None,
xpub_magic_segwit_native=None,
xpub_magic_multisig_segwit_p2sh=None,
xpub_magic_multisig_segwit_native=None,
bech32_prefix=None,
cashaddr_prefix=None,
slip44=428,
@ -1636,6 +1758,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x0488b21e,
xpub_magic_segwit_p2sh=None,
xpub_magic_segwit_native=None,
xpub_magic_multisig_segwit_p2sh=None,
xpub_magic_multisig_segwit_native=None,
bech32_prefix=None,
cashaddr_prefix=None,
slip44=133,
@ -1662,6 +1786,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x043587cf,
xpub_magic_segwit_p2sh=None,
xpub_magic_segwit_native=None,
xpub_magic_multisig_segwit_p2sh=None,
xpub_magic_multisig_segwit_native=None,
bech32_prefix=None,
cashaddr_prefix=None,
slip44=1,
@ -1688,6 +1814,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x0488b21e,
xpub_magic_segwit_p2sh=None,
xpub_magic_segwit_native=None,
xpub_magic_multisig_segwit_p2sh=None,
xpub_magic_multisig_segwit_native=None,
bech32_prefix=None,
cashaddr_prefix=None,
slip44=136,
@ -1714,6 +1842,8 @@ def by_name(name: str) -> CoinInfo:
xpub_magic=0x043587cf,
xpub_magic_segwit_p2sh=None,
xpub_magic_segwit_native=None,
xpub_magic_multisig_segwit_p2sh=None,
xpub_magic_multisig_segwit_native=None,
bech32_prefix=None,
cashaddr_prefix=None,
slip44=1,

View File

@ -23,6 +23,8 @@ class CoinInfo:
xpub_magic: int,
xpub_magic_segwit_p2sh: Optional[int],
xpub_magic_segwit_native: Optional[int],
xpub_magic_multisig_segwit_p2sh: Optional[int],
xpub_magic_multisig_segwit_native: Optional[int],
bech32_prefix: Optional[str],
cashaddr_prefix: Optional[str],
slip44: int,
@ -47,6 +49,8 @@ class CoinInfo:
self.xpub_magic = xpub_magic
self.xpub_magic_segwit_p2sh = xpub_magic_segwit_p2sh
self.xpub_magic_segwit_native = xpub_magic_segwit_native
self.xpub_magic_multisig_segwit_p2sh = xpub_magic_multisig_segwit_p2sh
self.xpub_magic_multisig_segwit_native = xpub_magic_multisig_segwit_native
self.bech32_prefix = bech32_prefix
self.cashaddr_prefix = cashaddr_prefix
self.slip44 = slip44
@ -107,6 +111,8 @@ ATTRIBUTES = (
("xpub_magic", hexfmt),
("xpub_magic_segwit_p2sh", hexfmt),
("xpub_magic_segwit_native", hexfmt),
("xpub_magic_multisig_segwit_p2sh", hexfmt),
("xpub_magic_multisig_segwit_native", hexfmt),
("bech32_prefix", black_repr),
("cashaddr_prefix", black_repr),
("slip44", int),

View File

@ -39,6 +39,8 @@ const CoinInfo coins[COINS_COUNT] = {
.xpub_magic = ${hex(c.xpub_magic)},
.xpub_magic_segwit_p2sh = ${hex(c.xpub_magic_segwit_p2sh)},
.xpub_magic_segwit_native = ${hex(c.xpub_magic_segwit_native)},
.xpub_magic_multisig_segwit_p2sh = ${hex(c.xpub_magic_multisig_segwit_p2sh)},
.xpub_magic_multisig_segwit_native = ${hex(c.xpub_magic_multisig_segwit_native)},
.fork_id = ${c_int(c.fork_id)},
.bech32_prefix = ${c_str(c.bech32_prefix)},
.cashaddr_prefix = ${c_str(c.cashaddr_prefix)},

View File

@ -42,6 +42,8 @@ typedef struct _CoinInfo {
uint32_t xpub_magic;
uint32_t xpub_magic_segwit_p2sh;
uint32_t xpub_magic_segwit_native;
uint32_t xpub_magic_multisig_segwit_p2sh;
uint32_t xpub_magic_multisig_segwit_native;
uint32_t fork_id;
const char *bech32_prefix;
const char *cashaddr_prefix;