Git Product home page Git Product logo

18_blockchain_ledger's Introduction

Blockchain PyChain Ledger

You’re a fintech engineer who’s working at one of the five largest banks in the world. You were recently promoted to act as the lead developer on their decentralized finance team. Your task is to build a blockchain-based ledger system, complete with a user-friendly web interface. This ledger should allow partner banks to conduct financial transactions (that is, to transfer money between senders and receivers) and to verify the integrity of the data in the ledger.

Technologies

Programming Languages: Python 3.7.13

Libraries:

  • Pandas - a Python library that is used for data manipulation, analysis, and visualization.
  • Streamlit - an open-source Python library that is designed to create custom web applications for machine learning and data science projects. It allows you to turn your data scripts into interactive web applications with just a few lines of code, making it easier to share and visualize your results with others.
  • Data Classes - a programming language feature that simplify the creation of classes primarily used to store and manage data. By using data classes, you can focus on defining the fields (attributes) of the class, and the Python interpreter will automatically generate various special methods for you.
  • Hashlib - module commonly used for tasks like data integrity verification, password hashing, and creating unique identifiers. It provides secure hash algorithms, making it suitable for cryptographic applications.

Operating System(s): Any operating system that supports Python, including Windows & macOS.

Installation Guide

To run this analysis, make sure you install the necessary dependencies:

  1. Install Python: https://www.python.org/downloads/
  2. Clone the repository: git clone "https://github.com/mikenguyenx/18_blockchain_ledger.git" using git or download the ZIP file and extract it to a local directory.
  3. Install the Streamlit library by running the following command:
pip install streamlit

Usage

  1. Open a terminal or command prompt and navigate to the directory with the python file.
  2. In the terminal, run the Streamlit application by using streamlit run pychain.py.
streamlit run pychain.py 
  1. Enter values for the sender, receiver, and amount, and then click the Add Block button. Do this several times to store several blocks in the ledger.

  2. Verify the block contents and hashes in the Streamlit drop-down menu.

  3. Test the blockchain validation process by using the web interface.

streamlit_terminal

streamlit

streamlit_dropdown

Contributors

Mike Nguyen

License

GNU General Public License v3.0

18_blockchain_ledger's People

Contributors

mikenguyenx 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.