Skip to content

Creating a blockchain using Python in order to learn about python and also blockchain technology

Notifications You must be signed in to change notification settings

mr-amirfazel/tahcoin

Repository files navigation

Tahcoin

I made my own crypto-coin tahcoin , using python

clientside webpage screenshots

the front end UI may change in future wallet_and_node node_network

How to Use

Install these libraries

  • Cryptography
  • flask
  • flask_cors
  • requests

Run app

  • download or clone the repository
  • run the node.py file using python and using this command: python node.py -p <port_number>
    use an unoccupied port number
    the defualt port number is 5000

Brief Description

  • Built a REST API using Flask
  • Also used a predefined clientside UI using jinja,bootstrap & a little bit of vue
  • Like other cryptocurrencies you can mine, add transaction, handle wallet, ...
  • as the blockchain technology requires this coin contains, hashing via sha256, proof of work, public & private keys, signatues, ...
  • to not lose the track of transactions and mined blocks every data is saved in your disc in the wallet-[portNum].txt and blockchain-[portNum].txt file so be sure to delete them if they're cloned with other files,so you could have your own keys
  • wish you Luck

Sourcs and tips

This is the Source I used to learn python and blockchain basics from.
To develop knowlege about the blockchain technology , this Book is recommended.

About

Creating a blockchain using Python in order to learn about python and also blockchain technology

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published