Hi Adil,

It is because the SDK is modified in v2.2. You can refer to the fabcar/javascript/invoke.js (or any client apps) and see the new way using Wallets. Besides there are some minor changes as well. Here you can find the apiserver.js updated for v2.2. I have tested it and will make another article on the overall process. See if this helps.

https://gist.github.com/kctam/79c6c33584afc3522513bf81d2f7f87c

cheers,

kc

Written by

Happy to share what I learn on blockchain. Visit http://www.ledgertech.biz/kcarticles.html for my works. or reach me on https://www.linkedin.com/in/ktam1/.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store