m bc ex1 vinblock
Key Points
- custom blockchain example apps here
- focus is the new program model for smart contracts, IBM VSCode extension
- v2x has new chaincode life cycle for multiple orderers, multiple contract endorsements
- new Node SDK is completely refactored in v2x, won't be backported to v1x
- Composer is deprecated but under v1.4x it can still be used to prototype solutions
References
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://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