Blockchain-Python:区块链Python作业

  • U2_989531
    了解作者
  • 185.2KB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-05-07 12:32
    上传日期
区块链Python HD(分层确定性)钱包可以允许从单个种子短语生成许多crpyto钱包。这是一个从根节点开始的公共/私有密钥树,该根节点是主节点。任何节点都可以有多个子代。主私钥的唯一目的是重新生成钱包树,并且无法签署交易。 HD钱包能够从单个种子或助记符生成许多公钥/私钥对。理想情况下,每个父级都应有一个孩子,直到到达链结点为止,此时应允许无数个孩子。 “子代”代表地址节点。为了构建交易,您需要确保地址具有与其关联的货币,并使用地址节点的私钥进行签名。这使用地址节点的私钥来签署交易,以从地址节点的公钥中花钱。
Blockchain-Python-main.zip
  • Blockchain-Python-main
  • blockchain terminal crypto keys VS.PNG
    77.9KB
  • README.md
    917B
  • ETH.PNG
    111KB
  • 19-Blockchain-Python_Supplemental_HD_Wallet_Derive_Install_Guide.md
    11.2KB
  • wallet.py
    3.1KB
  • 19-Blockchain-Python_Homework_README.md
    9.7KB
内容介绍
# Blockchain-Python HD (Hierarchial Deterministic) Wallets can allow for many crpyto wallets to be generated from a single seed phrase. It's a public/private key tree starting from a root node which is the master node. Any node can have an number of children. The master private key's sole purpose is wallet tree regeneration and is unable to sign transactions. The HD wallet is able to generate many public/private keys pairs from a single seed or mnemonic. Ideally every parent should have one child until reaching the chain node at which point an unlimited number of children should be allowed. The "children" represent the address nodes. In order to construct a transaction, you need to make sure the address has currency associated with it and use the private key of the address node to sign. This uses the address node's private key to sign a transaction spending money from the address node's public key.
评论
    相关推荐