Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Latest commit

 

History

43 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blockchain in Python

Table of Content

Introduction

This is a program of psuedo bitcoin.
The program demostrates how the bitcoin works.

How to Run

    python3 -m pip install -r requirements.txt
    python3 -m main

Usage:

 ./psudobitcoin createwallet
 ./psudobitcoin createblockchain -address <address>
 ./psudobitcoin printchain
 ./psudobitcoin printblock -height <height>
 ./psudobitcoin send -from <from> -to <to> -amount <amount>
 ./psudobitcoin getbalance -address <address>

Functions

  • Block, Blockchain, Pow
  • Database, Client
  • Utxo
  • Mining Reward
  • Merkle Tree
  • Sign and Verify(TBD)

Requirements

  • Python >= 3.6
  • base58
  • ecdsa

About

A pseudo bitcoin program written in Python3

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages