Giter VIP home page Giter VIP logo

19_multi_currency_blockchain_wallet's Introduction

week19_blockchain_python

In this project, we are creating a Cryptocurrency wallet to hold an unlimited number of cryptocurrencies and transact among different account addressess.

Libraries used

Activate the virtual environment where the Web3 dependency was installed.

  • os
  • web3
  • json
  • subprocess
  • eth_account

Tools/Technologies

  • Mnemonic code converter
  • HD Wallet
  • Github
  • Gitbash
  • Jupyter Lab
  • Windows 10, 64-bit

High level steps

  • The function derive_wallets() will fetch the private, public, keys account addresses of BTCTEST and ETH, using the generated mnemonic.
  • Subsequently, the above parameters will be returned in a json format.
  • The function priv_key_to_account() will first check for the coin type and then convert the private key string in the child key to to a transactable object.
  • The function create_tx() contains the data of unsigned transaction. Depending upon the coin type, the corresponding object is returned.
  • The function send_tx() calls the create_tx() function, signs the transaction and sends it to the designated network, based on the coin type.

Difficulties faced

  • The command line code f'./derive -g --mnemonic="{mnemonic}" --coin={coin_type} --numderive={nd} --cols=path,address,privkey,pubkey --format= json' does not work for multiple coins, but it shows the deisred output individually.
  • Even my tutor was unable to fix the problem. Thus, the project is incomplete.

Contributors

  • Satheesh Narasimman

People who helped

  • Khaled Karman, Bootcamp tutor

References

19_multi_currency_blockchain_wallet's People

Contributors

satheeshnarasimman avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.