基于区块链的毕业设计Blockchain-Python-Homework-Columbia-FinTech-Boot-Camp – 区块链Python作业哥伦比亚金融科技训练营

本文提供基于区块链的毕业设计国外最新区块链项目源码下载,包括solidity,eth,fabric等blockchain区块链,基于区块链的毕业设计Blockchain-Python-Homework-Columbia-FinTech-Boot-Camp – 区块链Python作业哥伦比亚金融科技训练营 是一篇很好的国外资料

Blockchain-Python-Homework-Columbia-FinTech-Boot-Camp

Overview

This project allows a user to derive testnet BitCoin and Ethereum crypto wallets from a cryptocurrency account, and send transactions between wallets via Python in a command line interface.

Dependencies

In order to run, you must ensure that:

  • The hd-wallet-derive repo is added into the “wallet” directory. It was not possible to push the repo to GitHub with this included in it.
  • The following libraries and technologies are installed in your developer environment:
    • Web3
    • Bit
    • PHP
    • MyCrypto

Instructions

  1. Execute the mnemonic.sh file
  2. Direct to the wallet directory in your Command Prompt / Terminal.
  3. Run python
  4. Within the Python shell, run the command from wallet import *
  5. Derive the crypto wallets associated with the account using the following function:
    • derive_wallets(mnemonic,{BTCTEST or ETH},{# of wallets to derive})

BitCoin

  1. Ensure the account you would like to send funds from has been topped up via a testnet faucet.
    • Use the address output from the desired account.
  2. Initiate a transaction using the following function:
    • send_tx(BTCTEST,{sender address from step 6},{receiving address},{amount})
  3. Monitor the transaction on a block explorer.

Ethereum

  1. Add one of the ETH addresses to the pre-allocated accounts in your networkname.json file.
  2. Delete the geth folder in each node, then re-initialize using geth --datadir nodeX init networkname.json. This will create a new chain, and will pre-fund the new account.
  3. Due to a bug in web3.py, you will need to send a transaction or two with MyCrypto first, since the w3.eth.generateGasPrice() function does not work with an empty chain. You can use one of the ETH address privkey, or one of the node keystore files.
  4. Initiate a transaction using the following function:
    • send_tx(ETH,{sender address from step 6},{receiving address},{amount})
  5. Monitor the transaction on MyCrypto by inputting the txid into the TX Status section.

区块链blockchainPython家庭作业哥伦比亚金融技术训练营

概述

此项目允许用户从加密货币帐户派生testnetBTC以太坊eth加密钱包,并在命令行界面中通过Python在钱包之间发送交易。

说明

为了运行,您必须确保:

  • hd wallet衍生回购被添加到“wallet”目录中。不可能将回购推送到GitHub。
  • 开发人员环境中安装了以下库和技术:Web3位PHP MyCrypto

BTC

  1. 执行助记符.sh文件
  2. 直接进入命令提示符/终端的钱包目录。
  3. 运行python在pythonshell中,从wallet import*运行命令
  4. 使用以下函数派生与帐户相关联的加密钱包:derivate_wallets(助记符,{BTCTEST or ETH},{of wallets to derivate})
  5. 派生钱包(助记符,{BTCTEST或ETH},{ofwallets to derivate})

以太坊eth

  1. 使用所需帐户的地址输出。
  2. 在块资源管理器上监视事务。
  3. 删除每个节点中的geth文件夹,然后使用geth–datadir nodeX init重新初始化网络名称.json. 这将创建一个新的链,并将预先为新帐户提供资金。

Ethereum

  1. 由于web3.py中的一个错误,您需要先用MyCrypto发送一两个事务,因为w3。世代精神()函数不适用于空链。您可以使用一个ETH地址privkey,或节点密钥库文件之一。
  2. 使用以下函数启动一个事务:send_tx(ETH,{sender address from step 6},{receiving address},{amount})
  3. 通过在tx Status部分输入txid来监视MyCrypto上的事务。在
  4. Initiate a transaction using the following function:
    • send_tx(ETH,{sender address from step 6},{receiving address},{amount})
  5. Monitor the transaction on MyCrypto by inputting the txid into the TX Status section.

部分转自网络,侵权联系删除区块链源码网

www.interchains.cc

https://www.interchains.cc/16638.html

区块链毕设网(www.interchains.cc)全网最靠谱的原创区块链毕设代做网站 部分资料来自网络,侵权联系删除! 最全最大的区块链源码站 !
区块链知识分享网, 以太坊dapp资源网, 区块链教程, fabric教程下载, 区块链书籍下载, 区块链资料下载, 区块链视频教程下载, 区块链基础教程, 区块链入门教程, 区块链资源 » 基于区块链的毕业设计Blockchain-Python-Homework-Columbia-FinTech-Boot-Camp – 区块链Python作业哥伦比亚金融科技训练营

提供最优质的资源集合

立即查看 了解详情