Loic.dvf.blockchain
1.0.0
dotnet add package Loic.dvf.blockchain --version 1.0.0
NuGet\Install-Package Loic.dvf.blockchain -Version 1.0.0
<PackageReference Include="Loic.dvf.blockchain" Version="1.0.0" />
<PackageVersion Include="Loic.dvf.blockchain" Version="1.0.0" />
<PackageReference Include="Loic.dvf.blockchain" />
paket add Loic.dvf.blockchain --version 1.0.0
#r "nuget: Loic.dvf.blockchain, 1.0.0"
#:package Loic.dvf.blockchain@1.0.0
#addin nuget:?package=Loic.dvf.blockchain&version=1.0.0
#tool nuget:?package=Loic.dvf.blockchain&version=1.0.0
Are you looking for the source code for my book?
Please find it here: https://github.com/dvf/blockchain-book
The book is available on Amazon: https://www.amazon.com/Learn-Blockchain-Building-Understanding-Cryptocurrencies/dp/1484251709
Learn Blockchains by Building One
This is the source code for my post on Building a Blockchain.
Installation
- Make sure Python 3.6+ is installed.
- Install pipenv.
$ pip install pipenv
- Install requirements
$ pipenv install
- Run the server:
$ pipenv run python blockchain.py
$ pipenv run python blockchain.py -p 5001
$ pipenv run python blockchain.py --port 5002
Docker
Another option for running this blockchain program is to use Docker. Follow the instructions below to create a local Docker container:
- Clone this repository
- Build the docker container
$ docker build -t blockchain .
- Run the container
$ docker run --rm -p 80:5000 blockchain
- To add more instances, vary the public port number before the colon:
$ docker run --rm -p 81:5000 blockchain
$ docker run --rm -p 82:5000 blockchain
$ docker run --rm -p 83:5000 blockchain
Installation (C# Implementation)
Install a free copy of Visual Studio IDE (Community Edition): https://www.visualstudio.com/vs/
Once installed, open the solution file (BlockChain.sln) using the File > Open > Project/Solution menu options within Visual Studio.
From within the "Solution Explorer", right click the BlockChain.Console project and select the "Set As Startup Project" option.
Click the "Start" button, or hit F5 to run. The program executes in a console window, and is controlled via HTTP with the same commands as the Python version.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net5.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
1.0.0 | 0 | 7/31/2021 |