Sign inSign up

cap92/blockchainspython

By cap92

•Updated about 1 year ago

https://github.com/MathieuAudibert/BlockChain

Image
Languages & frameworks
0

226

cap92/blockchainspython repository overview

Bugs Code Smells Coverage Docker

⁠Token, block & blockchain learning

Understanding basic cryptographics through this Python project.

I learned how to :

  • Create my own token (Tekra)
  • Create blocks of this token (or transactions with any other tokens/currency)
  • Create block-chains for these blocks
  • Create result files and logs dated
  • Setup properly Sonarqube, Python & Pytest/Tox

⁠CI/CD

Each commit is analyzed by Sonarqube and Pytest/Tox wich then is pushed to the dockerhub official image https://hub.docker.com/repository/docker/cap92/blockchainspython/general

⁠Usefull docs

https://www.coinbase.com/fr-fr/learn/crypto-basics/what-is-a-token⁠

⁠Config

  • Python 3.x
  • Docker

⁠Usage

  • [Optionnal]: Remove the tests files in /src/transactions/ and /src/results
  • Add your transactions in /src/transactions based of template.json
  • Run cd /src --> python main.py
  • You can then access logs in /src/logs/blocks.txt and results in /src/today-date/blockchain-today-date.json

⁠Installation

You can either clone this repository with git clone https://github.com/MathieuAudibert/BlockChain.git

or pull its public image using Docker docker image pull cap92/blockchainspython or Podman podman image pull cap92/blockchainspython

Tag summary

Content type

Image

Digest

sha256:fe6b39968…

Size

411.1 MB

Last updated

about 1 year ago

docker pull cap92/blockchainspython