@safematrix-auth/sbt-auth
TypeScript icon, indicating that this package has built-in type declarations

0.1.14 • Public • Published

SBTAuth

Quick Start

Install package

# Use yarn
yarn add @safematrix-auth/sbt-auth
# Or use npm
npm install --save-dev @safematrix-auth/sbt-auth

Initialize SBTAuth

const sbtauth = new SbtAuth({
  clientId: 'Demo',
  debug: true,
  defaultChainId: '0x4',
})

Login

await sbtauth.login()

Get user info

const user = sbtauth.getUserInfo()

Readme

Keywords

none

Package Sidebar

Install

npm i @safematrix-auth/sbt-auth

Weekly Downloads

1

Version

0.1.14

License

MIT

Unpacked Size

6.48 kB

Total Files

6

Last publish

Collaborators

  • stone_edward