m bc ex1 vinblock

Key Points

  1. custom blockchain example apps here
  2. focus is the new program model for smart contracts, IBM VSCode extension
  3. v2x has new chaincode life cycle for multiple orderers, multiple contract endorsements
  4. new Node SDK is completely refactored in v2x, won't be backported to v1x
  5. Composer is deprecated but under v1.4x it can still be used to prototype solutions


References

Reference_description_with_linked_URLs_______________________Notes______________________________________________________________


https://wiki.hyperledger.org/pages/viewpage.action?pageId=6423554Fabric Dev Meeting Notes / Slides / mp4 – biweekly meetings
https://chat.hyperledger.org/channel/fabric-maintainersRocketchat channel ...  chat.hyperledger.org


https://jira.hyperledger.org/browse/FABN-1347

https://drive.google.com/open?id=1gTJHqGIlE8hzX3m6se-XfEr5HmSQEgH8

slides for Nodejs SDK refactor in v2x
https://www.ibm.com/blogs/blockchain/category/blockchain-developers/hyperledger-fabric/Fabric Developer IBM blog - tips, articles
https://github.com/hyperledger-labsHyperledger Labs project code  - most are Fabric now
https://wiki.hyperledger.org/display/labs/Hyperledger+Labs+HomeHyperledger Labs home


Other Fabric Solutions

https://github.com/hyperledger-labs/umbra

https://wiki.hyperledger.org/display/INTERN/Scaling+Real+World+
Hyperledger+Fabric+Deployments

Umbra- simulate Fabric environment on mininet with Python

- create a platform by the means of Mininet and plugins for Hyperledger distributed ledgers so that they can run under emulation in a lab environment.

https://hub.docker.com/editions/community/docker-ce-desktop-windowsDocker downloads






Articles

https://hub.packtpub.com/installing-a-blockchain-network-using-hyperledger-fabric-and-composertutorial/


Creating a blockchain network using Fabric and Composer - 2019 - packt> tutorial
https://drive.google.com/open?id=1l-xCY1p8MCCTBBlDJ4zgc1Kv8-543QZGOReilly ebook on Enterprise Blockchain
https://www.ibm.com/cloud/garage/architectures/blockchainArchitecture/0_1Fabric reference architecture
https://developer.ibm.com/patterns/implementing-blockchain-events-using-ibp-vscode-extension/Emit events from blockchain to automate workflow

https://developer.ibm.com/tutorials/cl-ibm-blockchain-101-quick-start-guide-for-developers-bluemix-trs/

https://drive.google.com/open?id=1I49bfcy8RMk5OI4fOz25SrB2cIe6OZEf

Blockchain 101 Quick Start Guide

Start a blockchain on IBM Cloud free tier

https://www.ibm.com/blogs/blockchain/2019/08/why-is-interoperability-important-in-blockchain/Cuomo - Blockchain Interoperability Concepts - 2019
https://drive.google.com/open?id=19_R9yWJFO9wwo6x4tHl39i6wmjIyX32KIBM Blockchain for Business Book - 2019  - v1x

https://www.ibm.com/downloads/cas/OK5M0E49

Blockchain for Dummies -IBM- XIM12354USEN.PDF

Blockchain for Dummies ebook

https://drive.google.com/open?id=1ONQw-XIyTk0d9YZsbQohhLQIk3qnnWBi

blockchain-career-hyperchainlabs-c-gabriel-how-to-be-a-bc-resource-document.pdf

Blockchain Evaluation for Business - Chris Gabriel





Setups


Linux VM VB1

backup docs 

/media/sf_vshare/save

_dmx      customized Fabcar

-rw-rw-r-- 1 jim jim 5052 Nov 15  2018 ./_dmx/vin1/chaincode/vinblock/node/fabcar_js.
txt
-rw-rw-r-- 1 jim jim 860019 Dec 15  2018 ./_dmx/_dmx_vin2.txt
-rw-rw-r-- 1 jim jim 860822 Mar 12 13:34 ./_dmx/_dmx_vin1.txt


_sfw     vinbloc demo 

-rw-rw-r--  1 jim jim   50839 Apr  5  2018 ./_sfw/setup-vbox-ubuntu-notes.txt
-rw-rw-r-- 1 jim jim 749433 Aug 21  2018 ./_sfw/docker-notes4 (copy).txt



Latest file versions ...





Key Concepts



New Program Model for v2x



----------------------
hlf.maint>

- v2x next week
- features
external chaincode
LedgerAPI RFC =
https://github.com/hyperledger/fabric-rfcs/pull/16
GO SDK RFC =
https://github.com/hyperledger/fabric-rfcs/pull/14
Also the suggestion to adopt gh-pages to view RFCs... includes better rendering & full text search
https://github.com/hyperledger/fabric-rfcs/pull/15

use cucumber scripts for testing sdks



Node SDK refactor for v2x concepts

https://drive.google.com/open?id=1gTJHqGIlE8hzX3m6se-XfEr5HmSQEgH8

pdf   https://drive.google.com/open?id=1ZQreNwbZNsMxGeeDFLbeMrrDN03Lqe6f




Create blockchain network with Fabric v1x and Composer Tutorial

https://hub.packtpub.com/installing-a-blockchain-network-using-hyperledger-fabric-and-composertutorial/

https://drive.google.com/open?id=15ZlsmVhUxv7URL64Cea0KMs6qSOML4Gx



Create simple Nodejs smart contract on IBM blockchain network - Tutorial

https://developer.ibm.com/patterns/build-a-blockchain-network/

uses Nodejs, VScode IBM extension, IBM network




HLF Dev meeting 3/19/20


https://wiki.hyperledger.org/display/fabric


https://wiki.hyperledger.org/display/fabric/Fabric+Application+Developer+Community+Calls


past recordings, slides 

https://wiki.hyperledger.org/pages/viewpage.action?pageId=6423554


https://github.com/hyperledger/fabric#documentation-getting-started-and-developer-guides



------------------------------------
chris g k8s


https://github.com/IBM/Hyperledger-Fabric-for-Trusted-IoT

learn k8s
https://www.bretfisher.com/


docker compose
minikube for local
k8s services on provider

why k8s?
scenario - don't want to lose wallet ids if pod or node restarts - pvc

provision storage > pvc > access modes ... from hlf docs

vscode env testing

a> test minikube
a> tutorials
a> read helm charts, ansible playbooks
a> NEXT - ca mgt in k8s


ibm github repo has trusted iot to review


>> security - dns, ip, end pt, tls, pgp, vpn ? , authn, authz,

if HA, if svcs running, keeps ip address if pods deleted etc

redeploy a file ( a pod )


------------------------------------
wallets changes from v1.4 to v2.0

compare docs on wallets in readdocs

see github docs on wallets

goals in v2x

simplify changing persistence storage
storage formats in v2x simpler - not linked to node sdk

view v14 wallet


view v2 wallet


issue can't use old wallets in new env

-------------------
fs wallet migration tool as npm

npmjs.com/package/fabric-wallet-migration


npm package to mgirate fab wallets to v2 format

steps

1> create new fs wallet store for v2 after using fs for old wallet


fabric-network report
new sdk = 2.0.0-beta.4

wallet type demo'd was filesystemwallet

wallet decision
filesystem
memory
hsm
couchdbwallet

commiteventlistener

a> see github page - tutorial-wallet.html


------------------------------------
fabric net deployment tutorial with tls
------------------------------------


github.com/lepar/hyperledger-fabric-generic-network


uses tls


------------------------------------

a> key rotation in hlf docs?


------------------------------------


Potential Value Opportunities



Potential Challenges



Candidate Solutions



Step-by-step guide for Example



sample code block

sample code block
 



Recommended Next Steps