Starting with version 1.9.0, a minified browser bundle can be obtained from npm CDNs such as unpkg or jsDelivr. The link can be found in the README.md.
In prior versions, the browser bundles were made available in the dist
directory. In order to access those, look in the dist
folder on the version's GitHub tag, e.g. https://github.com/algorand/js-algorand-sdk/tree/v1.8.1/dist.
Yes! If you would instead prefer to host the package yourself, a minified browser bundle can be found in the dist/browser/
folder of the published npm package starting with version 1.9.0.
The SRI hash of algosdk.min.js
is the base64 string after sha384-
in the integrity
attribute of the <script>
tag used to import algosdk.min.js
.
See the instructions to import algosdk in browser.
It can be computed as follows after building the project:
cat dist/browser/algosdk.min.js | openssl dgst -sha384 -binary | openssl base64 -A