Skip to main content

Install

Latest version: 1.12.1 — install with npm i @mocanetwork/airkit@1.12.1, or omit the version tag to get the latest release from npm. See Release notes for changes and migration guidance.
The package ships ESM, CommonJS, and UMD builds, and your bundler picks the right one. See Platform support for supported browsers, frameworks, and formats.

Initialize

AIR Kit creates an iframe that loads the login flow and sets up communication streams between the iframe and the DApp’s JavaScript context.
Once AirService is initialized, you can use it to authenticate users. See Login. AIR Kit bundles en, ja, ko, tr, and vi. To customize copy or add languages, use hosted JSON in partner configuration. See Language support.

Next steps