lib/bip44/wallet.rb in bip44-extended-0.2.24 vs lib/bip44/wallet.rb in bip44-extended-0.2.25
- old
+ new
@@ -9,9 +9,10 @@
include Bip44::Bitcoin
include Bip44::Ethereum
include Bip44::BitcoinCash
include Bip44::Litecoin
include Bip44::Zcoin
+ include Bip44::Qtum
def self.from_seed(seed, path)
master = MoneyTree::Master.new(seed_hex: seed) # 3. 种子用于使用 HMAC-SHA512 生成根私钥(参见 BIP32)
wallet_node = master.node_for_path(path) # 4. 从该根私钥,导出子私钥(参见 BIP32),其中节点布局由BIP44设置
Wallet.new(wallet_node)