@sbtauth/sbtauth
TypeScript icon, indicating that this package has built-in type declarations

0.8.65 • Public • Published

SBTAuth

Quick Start

Install package

# Use yarn
yarn add @sbtauth/sbtauth
# Or use npm
npm install --save-dev @sbtauth/sbtauth

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 @sbtauth/sbtauth

Weekly Downloads

0

Version

0.8.65

License

MIT

Unpacked Size

128 kB

Total Files

6

Last publish

Collaborators

  • stone_edward