Skip to content

Commit b876ad4

Browse files
committed
fix LTC/LTCTEST
1 parent 697e9e7 commit b876ad4

File tree

2 files changed

+22
-22
lines changed

2 files changed

+22
-22
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ This library simplifies the process of creating a new HDWallet's for:
356356
| XUEZ | `XUEZ` | Yes | No | No | 225 | `m/44'/225'/0'/0/0` |
357357
| [XinFin](https://github.com/XinFinOrg/XDPoSChain) | `XDC` | Yes | No | Yes | 550 | `m/44'/550'/0'/0/0` |
358358
| ZClassic | `ZCL` | Yes | No | No | 147 | `m/44'/147'/0'/0/0` |
359-
| [Zcash](https://github.com/zcash/zcash) | `ZEC`, `ZECTEST` | Yes | YES | No | 133 | `m/44'/133'/0'/0/0` |
359+
| [Zcash](https://github.com/zcash/zcash) | `ZEC`, `ZECTEST` | Yes | Yes | No | 133 | `m/44'/133'/0'/0/0` |
360360
| Zencash | `ZEN` | Yes | No | No | 121 | `m/44'/121'/0'/0/0` |
361361
362362
## Donations

hdwallet/cryptocurrencies.py

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3213,18 +3213,18 @@ class LitecoinMainnet(Cryptocurrency):
32133213
})
32143214

32153215
EXTENDED_PRIVATE_KEY = ExtendedPrivateKey({
3216-
"P2PKH": 0x019d9cfe,
3217-
"P2SH": 0x019d9cfe,
3218-
"P2WPKH": 0x04b2430c,
3219-
"P2WPKH_IN_P2SH": 0x01b26792,
3216+
"P2PKH": 0x488ade4,
3217+
"P2SH": 0x488ade4,
3218+
"P2WPKH": None,
3219+
"P2WPKH_IN_P2SH": None,
32203220
"P2WSH": None,
32213221
"P2WSH_IN_P2SH": None
32223222
})
32233223
EXTENDED_PUBLIC_KEY = ExtendedPublicKey({
3224-
"P2PKH": 0x019da462,
3225-
"P2SH": 0x019da462,
3226-
"P2WPKH": 0x04b24746,
3227-
"P2WPKH_IN_P2SH": 0x01b26ef6,
3224+
"P2PKH": 0x488b21e,
3225+
"P2SH": 0x488b21e,
3226+
"P2WPKH": None,
3227+
"P2WPKH_IN_P2SH": None,
32283228
"P2WSH": None,
32293229
"P2WSH_IN_P2SH": None
32303230
})
@@ -3245,33 +3245,33 @@ class LitecoinTestnet(Cryptocurrency):
32453245
"HARDENED": True
32463246
})
32473247

3248-
SCRIPT_ADDRESS = 0xc4
3248+
SCRIPT_ADDRESS = 0x3a
32493249
PUBLIC_KEY_ADDRESS = 0x6f
32503250
SEGWIT_ADDRESS = SegwitAddress({
3251-
"HRP": "litecointestnet",
3251+
"HRP": "tltc",
32523252
"VERSION": 0x00
32533253
})
32543254

32553255
EXTENDED_PRIVATE_KEY = ExtendedPrivateKey({
3256-
"P2PKH": 0x0436ef7d,
3257-
"P2SH": 0x0436ef7d,
3258-
"P2WPKH": 0x04358394,
3259-
"P2WPKH_IN_P2SH": 0x04358394,
3256+
"P2PKH": 0x04358394,
3257+
"P2SH": 0x04358394,
3258+
"P2WPKH": None,
3259+
"P2WPKH_IN_P2SH": None,
32603260
"P2WSH": None,
32613261
"P2WSH_IN_P2SH": None
32623262
})
32633263
EXTENDED_PUBLIC_KEY = ExtendedPublicKey({
3264-
"P2PKH": 0x0436f6e1,
3265-
"P2SH": 0x0436f6e1,
3266-
"P2WPKH": 0x043587cf,
3267-
"P2WPKH_IN_P2SH": 0x043587cf,
3264+
"P2PKH": 0x043587cf,
3265+
"P2SH": 0x043587cf,
3266+
"P2WPKH": None,
3267+
"P2WPKH_IN_P2SH": None,
32683268
"P2WSH": None,
32693269
"P2WSH_IN_P2SH": None
32703270
})
32713271

32723272
MESSAGE_PREFIX = "\x19Litecoin Signed Message:\n"
32733273
DEFAULT_PATH = f"m/44'/{str(COIN_TYPE)}/0'/0/0"
3274-
WIF_SECRET_KEY = 0xb0
3274+
WIF_SECRET_KEY = 0xef
32753275

32763276

32773277
class LitecoinZMainnet(Cryptocurrency):
@@ -6239,7 +6239,7 @@ class ZcashMainnet(Cryptocurrency):
62396239
NAME = "Zcash"
62406240
SYMBOL = "ZEC"
62416241
NETWORK = "mainnet"
6242-
SOURCE_CODE = None
6242+
SOURCE_CODE = "https://github.com/zcash/zcash"
62436243
COIN_TYPE = CoinType({
62446244
"INDEX": 133,
62456245
"HARDENED": True
@@ -6279,7 +6279,7 @@ class ZcashTestnet(Cryptocurrency):
62796279
NAME = "Zcash"
62806280
SYMBOL = "ZECTEST"
62816281
NETWORK = "testnet"
6282-
SOURCE_CODE = "https://github.com/zcash/zcashn"
6282+
SOURCE_CODE = "https://github.com/zcash/zcash"
62836283
COIN_TYPE = CoinType({
62846284
"INDEX": 1,
62856285
"HARDENED": True

0 commit comments

Comments
 (0)