Skip to content

Cash Now Block is a decentralized blockchain-based ledger system with a user-friendly web interface that allows users to conduct safe, fast, and recorded, financial transactions.

License

Notifications You must be signed in to change notification settings

YanjunLin-Andrie/CashNow_Block

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

header

CashNow_Block

Cash Now Block is a decentralized blockchain-based ledger system with a user-friendly web interface that allows users to conduct safe, fast, and recorded, financial transactions. The application also allows users to validate the integrity of the transaction data in the blockchain.


Link to the web application click here

Content incudes:


Technologies

This project leverages python 3.7

  • Streamlit - Deploy application into shareable web app

  • Dataclasses - Use the decorator and functions to generate methods automatically

  • Typing - Provides runtime support for type hints

  • Datetime - Supplies classes for date and time manipulations

  • Pandas - Data analysis and manipulation

  • Hashlib - Implements a common interface to different secure hash and message digest algorithms


App Development

Create 3 dataclasses:

  • Class Record: defines inpute data and its type
  • Class Block: process and encode inpute data to create a hash for blocks
  • Class PyChain: defines difficulties, add each block, and validate the entire blockchain

Streamlit deployemt: Designs and deploy app application


App Demo

Go to the file folder contains pychian.py file and

Run application using command line under the virtual environment contains all necessary dependencies

streamlit run pychain.py

commandline


Input Data and add to blockchain

1


Record each transaction

As the Block Difficulty increased from 2 to 4, it took the nonce increased significantly.

2 3


Block Inspector displays selected block information

4


Chain validation shows the blockchain is safe and trustworthy

5


Contributors

Yanjun Lin Andrie    |    email: yanjun.lin.andrie@gmail.com   |    in

UC Berkeley Extension


License

License: MIT

About

Cash Now Block is a decentralized blockchain-based ledger system with a user-friendly web interface that allows users to conduct safe, fast, and recorded, financial transactions.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages