Skip to content

Installing Arcana Auth SDK

Developers must install the appropriate Arcana Auth SDK package as per their application type and then integrate the app.

Arcana Auth SDK Flavors

The Arcana Auth SDK comes in multiple flavors to support different Web3 app types. For some app types, developers may need to install and integrate the app with the auth package in addition to the app-specific package listed below.

SDK Name Web3 Application Type Package Name
Auth SDK Basic SDK for Vanilla HTML/CSS/JS Apps, Vue Apps auth
Auth React SDK React Apps auth-react
Auth Wagmi SDK Apps using wallet connectors such as Wagmi, RainbowKit auth-wagmi
Auth Web3-React SDK Apps using Web3-React wallet connector auth-web3-react
Auth Flutter SDK Mobile apps built using Flutter arcana_auth_flutter
Auth React Native SDK Mobile apps built using React Native auth-react-native
Auth Unity SDK Gaming apps built using Unity Coming soon!
Auth MetaEngine SDK Gaming apps built using MetaEngine Coming soon!
Auth-Core SDK Whitelabeled Auth SDK for custom wallet UI Coming soon!

Installation Instructions

Simple HTML/CSS/JS Apps

npm

npm install --save @arcana/auth

yarn

yarn add @arcana/auth

CDN

<script src="https://cdn.jsdelivr.net/npm/@arcana/auth"></script>
<script src="https://unpkg.com/@arcana/auth"></script>

React/NextJS Apps

npm

npm install --save @arcana/auth-react

Wagmi/RainbowKit Apps

npm

npm install --save @arcana/auth-wagmi @arcana/auth

yarn

yarn add @arcana/auth-wagmi @arcana/auth

Web3-React Apps

npm

npm install --save @arcana/auth-web3-react @arcana/auth

yarn

yarn add @arcana/auth-web3-react @arcana/auth

Mobile Apps

Flutter

pubspec.yaml
dependencies:
  flutter:       # Required for every Flutter project
    sdk: flutter # Required for every Flutter project
  flutter_localizations: # Required to enable localization
    sdk: flutter         # Required to enable localization
  arcana_auth_flutter: ^0.0.6 # Required for integrating with Arcana Auth SDK

React-Native

npm i @arcana/auth-react-native
(cd ios && pod install)

Last update: July 12, 2023 by shaloo