Using npm: npm install @connext/vector-sdk Using yarn: yarn add @connext/vector-sdk
Add, postinstall script:
then, Install patch-package
using npm: npm i patch-package
You can use --save-dev if you don't need to run npm in production, e.g. if you're making a web frontend.
using yarn: yarn add patch-package postinstall-postinstall
You can use --dev if you don't need to run yarn in production, e.g. if you're making a web frontend.To understand why yarn needs the postinstall-postinstall package see: Why use postinstall-postinstall
Or Refer to https://www.npmjs.com/package/patch-package
create dir patches then, a file under patches dir ts-nkeys+1.0.16.patch
And copy/paste the code snippet below
congrats, setup is complete!!! let's put sdk the in place.