Quick Start
Obtain addressAuthToken through JS-SDK, the steps are as follows:
Download with NPM
npm install --save @relationlabs/auth
Import Dependencies
import { authByMetamask } from '@relationlabs/auth'
Obtain token
const { token } = await authByMetamask()
Tips: Use this token to call the auth interface to exchange for
unifiedAuthToken
.
Last updated