Copyright (c) 2021 Aleksander Sadowski
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Description: # Simplified Blockchain
This simplified model of a blockchain was created to help students understand the blockchain technology, which is also the technology behind the well known crypto-currency Bitcoin.
## How to use Create your own blockchain in 3 easy steps.
### 1. Create blockchain `python blockchain = Blockchain() ` ### 2. Add transactions `python transaction_1 = Transaction("Aleksander Sadowski", "Wiktor Domaradzki", 1.00) transaction_2 = Transaction("Aleksander Sadowski", "Wiktor Domaradzki", 2.50) transaction_3 = Transaction("Wiktor Domaradzki", "Aleksander Sadowski", 3.50) blockchain.add_transactions([transaction_1, transaction_2, transaction_3]) ` ### 3. Display blockchain `python blockchain.display() `
Platform: UNKNOWN Classifier: Development Status :: 4 - Beta Classifier: Intended Audience :: Education Classifier: Operating System :: Microsoft :: Windows :: Windows 10 Classifier: License :: OSI Approved :: MIT License Classifier: Programming Language :: Python :: 3
Metadata
Release files for simple-blockchain 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| simple-blockchain-0.1.1.tar.gz | 3.5 kB | Details |
Release files / simple-blockchain-0.1.1.tar.gz
| Download URL | simple-blockchain-0.1.1.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bff75adeaca50329204ac3870a844fc518fabea55fcc987b98cdde894da3bd73
|
|
BLAKE2b-256 checksum How to use checksums |
ed6b23eaabc4c437c28ea526fede4263ebaa5924fb07eb04694925370d57142e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.9
|