Slides I used for Full Stack Fest presentation about Hyperledger Fabric and Hyperledger Composer. Shows a hello world application, then I will demo a more complex Proof of concept.
Getting up and running with Hyperledger Fabric & Composer (Full Stack)
1. @horeaporutiu IBM Code
Horea Porutiu, IBM
Developer Advocate
Getting up and running
with Hyperledger
Fabric & Composer
2. Slides posted on my Twitter
@horeaporutiu
1. Go to my Twitter: @horeaporutiu
2. Find my slides -> pinned at the top of profile
3. Click on slides -> go to slideshare, and click
download
IBM Code
4. Hyperledger Fabric vs. Composer
@horeaporutiu
https://www.infoq.com/articles/blockchain-poc-hyperledger
IBM Code
5. Download Fabric & dev environment
@horeaporutiu
https://hyperledger-fabric.readthedocs.io/en/
release-1.0/samples.html#binaries
💻
IBM Code
6. Stop and start Fabric
@horeaporutiu
$ ./createPeerAdminCard.sh
$ ./downloadFabric.sh
$ ./startFabric.sh
🔑
IBM Code
7. Writing your first model file (.cto)
@horeaporutiu
1. namespace
2. Participants
3. Assets
4. Transactions
5. Events
Need to define the following:
# $
🏸
💰
‼
🔡
Need more help? Check this tutorial: https://www.skcript.com/svr/
writing-your-first-business-model-in-hyperledger-composer/
IBM Code
11. Generate network archive
$ composer archive create --sourceType
dir --sourceName . -a ./dist/events.bna
Model File .cto
Access Control
Script File .js
Assets, participants,
and transactions
Transaction functions
Access Control Rules
Business Network
Packaged business
network definition
Archive .bna
.acl
networkadmin.card
Credentials for admin
of the network
IBM Code@horeaporutiu