Please install Docker that is mandatory for most exercises:
- Linux: https://docs.docker.com/v17.12/cs-engine/1.13/
- Windows: https://docs.docker.com/docker-for-windows/install/
- Mac: https://docs.docker.com/docker-for-mac/install/
Slides are placed in the main directory of this repository.
Setup steps for Ethereum:
- Get the docker image from https://hub.docker.com/r/kprzystalski/dlt-ethereum. You can pull it:
docker pull kprzystalski/dlt-ethereum
- If you would like to modify the image, the Dockerfile is placed in Ethereum directory of this repository.
The examples are pulled in the container.
To run the container use the following command:
docker run -it -p 8888:8888 -p 8545:8545 -p 3000:3000 kprzystalski/dlt-ethereum
To access the bash on this container please find the container ID with docker ps
and execute the bash command on this container with docker exec <CONTAINER> /bin/bash
.
We have the example based on Hyperledger Fabric. The installation of Hyperledger Fabric consist of one simple step, run the setup.sh
script in the setup directory of the fabric
branch of this repository. The second directory is the example chaincode.
Just pull the prepared Corda docker image https://hub.docker.com/r/kprzystalski/dlt-corda
:
docker pull kprzystalski/dlt-corda
.
The examples are already on the container, but you need to map the ports:
docker run -it -p 8000:8000 kprzystalski/dlt-corda
.
You can access the bash in the same way like we did in the Ethereum example.
-
Mastering Ethereum, Gavin Wood, Andreas M. Antonopoulos. O'Reilly 2018
-
Hyperledger Fabric and Composer - First Practical Blockchain, Dr. Mohammad Nauman. Packt 2018
-
R3 Corda for Architects and Developers : With Case Studies in Finance, Insurance, Healthcare, Travel, Telecom, and Agriculture, Debajani Mohanty. Apress 2019