Getting started with IdentityWallet SDK is simple. Just follow these two steps:
Install IdentityWallet in your npm project:
$ npm install identity-wallet
Import IdentityWallet into your project using one of the following methods:
Import the identity-wallet module:
const IdentityWallet = require('identity-wallet')
Import using the dist build in your html code:
<script type="text/javascript" src="../dist/identity-wallet.js"></script>
Load a remote copy from unpkg CDN
<!-- The most recent version --><script src="https://unpkg.com/identity-wallet/dist/identity-wallet.js"></script><!-- The most recent minified version --><script src="https://unpkg.com/identity-wallet/dist/identity-wallet.min.js"></script><!-- Load specific versions by specifying the version as follows --><script src="https://www.unpkg.com/[email protected]<version>/dist/identity-wallet.js"></script>