Authereum
Search
⌃K

Install

Installing

Install the Authereum SDK package from NPM:
$ npm install authereum --save
Please note that Authereum is meant for browser applications. For node.js support, see this FAQ.

Upgrading package

Upgrade to the latest version using the @latest tag:
$ npm install [email protected] --save

CDN

The Authereum SDK library is available on the jsDelivr CDN:
<script src="https://cdn.jsdelivr.net/npm/[email protected]/authereum.js"></script>
Note: to purge the jsdeliver cache, visit this purge url.
Alternatively, it's also available on the unpkg CDN:
<script src="https://unpkg.com/[email protected]/authereum.js"></script>
Afterwards the window function window.Authereum will be available to instantiate Authereum.

Importing

Using ES6 modules:

import Authereum from 'authereum'

Using commonjs modules:

const Authereum = require('authereum').default