Difference between revisions of "Hyperledger"
Jump to navigation
Jump to search
(8 intermediate revisions by one other user not shown) | |||
Line 5: | Line 5: | ||
=Getting started= |
=Getting started= |
||
+ | |||
⚫ | |||
+ | |||
+ | ==Installation== |
||
+ | |||
+ | Prerequises : Install [[Docker]] CE (and docker-compose). |
||
+ | <pre> |
||
+ | sudo curl -L https://github.com/docker/compose/releases/download/1.17.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose |
||
+ | sudo chmod +x /usr/local/bin/docker-compose |
||
+ | docker-compose --version |
||
+ | </pre> |
||
+ | |||
+ | |||
+ | Term 1: |
||
+ | <pre> |
||
+ | mkdir hyperledger |
||
+ | cd hyperledger |
||
+ | curl -sSL https://goo.gl/fMh2s3 | bash |
||
+ | |||
+ | docker ps -a |
||
+ | export PATH=~/hyperledger/bin:$PATH |
||
+ | cryptogen help |
||
+ | |||
+ | </pre> |
||
+ | |||
+ | |||
+ | <pre> |
||
+ | git clone -b master https://github.com/hyperledger/fabric-samples.git |
||
+ | cd fabric-samples |
||
+ | ls -al |
||
+ | </pre> |
||
+ | |||
+ | |||
+ | http://hyperledger-fabric.readthedocs.io/en/latest/build_network.html |
||
+ | <pre> |
||
+ | cd first-network |
||
+ | ./byfn.sh |
||
+ | |||
+ | |||
+ | </pre> |
||
+ | |||
+ | |||
+ | |||
+ | |||
+ | Next |
||
+ | <pre> |
||
+ | cd chaincode-docker-devmode |
||
+ | docker-compose -f docker-compose-simple.yaml up |
||
+ | </pre> |
||
+ | |||
+ | Term 2 |
||
+ | <pre> |
||
+ | docker exec -it chaincode bash |
||
+ | sudo apt-get update |
||
+ | sudo apt-get install -y vim |
||
+ | cd chaincode_example02/go |
||
+ | go build |
||
+ | ./go |
||
+ | |||
+ | |||
+ | |||
+ | </pre> |
||
+ | |||
+ | == Hyperledger composer == |
||
+ | Hyperledger Composer is an application development framework which simplifies and expedites the creation of Hyperledger fabric blockchain applications. |
||
+ | |||
+ | You can find more details on the official project pages : |
||
+ | |||
+ | * Github : https://github.com/hyperledger/composer |
||
+ | * Tutorials : https://hyperledger.github.io/composer/latest/ |
||
+ | * Youtube : https://www.youtube.com/watch?v=gAxK6zYrfxI |
||
+ | |||
+ | =Misc= |
||
+ | ==Presentations== |
||
+ | * Marko Vukolić, IBM Research Zurich, Hyperledger Fabric : an open-source distributed operating system for permissioned blockchains https://blockchain-summer.epfl.ch/talks/hyperledger-fabric-vukolic.pdf |
||
+ | * Shengyun Liu, Paolo Viotti, Christian Cachin, Vivien Quéma, Marko Vukolić, XFT: Practical Fault Tolerance Beyond Crashes, OSDI 2016, https://www.usenix.org/system/files/conference/osdi16/osdi16-liu.pdf |
||
+ | * Marko Vukolić, The Quest for Scalable Blockchain Fabric: Proof-of-Work vs. BFT Replication, https://allquantor.at/blockchainbib/pdf/vukolic2015quest.pdf |
||
+ | |||
+ | |||
+ | ==Hyperledger's Images Repository== |
||
+ | * https://hub.docker.com/r/hyperledger/ |
||
⚫ | |||
+ | |||
+ | ==Blockchain-as-a-Service== |
||
+ | * [https://www.ibm.com/blockchain/ IBM Bluemix Blockchain] (Hyperledger PaaS) |
||
+ | * [https://azure.microsoft.com/en-us/solutions/blockchain/ Microsoft Azure Blockchain Technology] (Hyperledger PaaS) |
||
+ | * [Amazon AWS Blockchain Technology] |
||
+ | * [https://www.r3.com/ R3 Corda Blockchain Technology] |
Latest revision as of 18:46, 11 April 2018
https://twitter.com/FablabAIR/status/916188340294246400
Getting started
Installation
Prerequises : Install Docker CE (and docker-compose).
sudo curl -L https://github.com/docker/compose/releases/download/1.17.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-compose docker-compose --version
Term 1:
mkdir hyperledger cd hyperledger curl -sSL https://goo.gl/fMh2s3 | bash docker ps -a export PATH=~/hyperledger/bin:$PATH cryptogen help
git clone -b master https://github.com/hyperledger/fabric-samples.git cd fabric-samples ls -al
http://hyperledger-fabric.readthedocs.io/en/latest/build_network.html
cd first-network ./byfn.sh
Next
cd chaincode-docker-devmode docker-compose -f docker-compose-simple.yaml up
Term 2
docker exec -it chaincode bash sudo apt-get update sudo apt-get install -y vim cd chaincode_example02/go go build ./go
Hyperledger composer
Hyperledger Composer is an application development framework which simplifies and expedites the creation of Hyperledger fabric blockchain applications.
You can find more details on the official project pages :
- Github : https://github.com/hyperledger/composer
- Tutorials : https://hyperledger.github.io/composer/latest/
- Youtube : https://www.youtube.com/watch?v=gAxK6zYrfxI
Misc
Presentations
- Marko Vukolić, IBM Research Zurich, Hyperledger Fabric : an open-source distributed operating system for permissioned blockchains https://blockchain-summer.epfl.ch/talks/hyperledger-fabric-vukolic.pdf
- Shengyun Liu, Paolo Viotti, Christian Cachin, Vivien Quéma, Marko Vukolić, XFT: Practical Fault Tolerance Beyond Crashes, OSDI 2016, https://www.usenix.org/system/files/conference/osdi16/osdi16-liu.pdf
- Marko Vukolić, The Quest for Scalable Blockchain Fabric: Proof-of-Work vs. BFT Replication, https://allquantor.at/blockchainbib/pdf/vukolic2015quest.pdf
Hyperledger's Images Repository
Blockchain-as-a-Service
- IBM Bluemix Blockchain (Hyperledger PaaS)
- Microsoft Azure Blockchain Technology (Hyperledger PaaS)
- [Amazon AWS Blockchain Technology]
- R3 Corda Blockchain Technology