@tkey/service-provider-torus
TypeScript icon, indicating that this package has built-in type declarations

13.0.0-alpha.1 • Public • Published

tKey Torus Service Provider

npm version minzip

Service Provider in tKey is used for generating a social login share of the private key share managed by a wallet service provider via their own authentication flows.

Installation

npm install --save @tkey/service-provider-torus

See the full SDK Reference on the Web3Auth Documentation

Example

import TorusServiceProvider from "@tkey/service-provider-torus";

const customAuthParams = {
  baseUrl: `${window.location.origin}/serviceworker`,
  enableLogging: true,
  network: "testnet",
  web3AuthClientId: "test",
};
const serviceProvider = new TorusServiceProvider({ customAuthParams });

/@tkey/service-provider-torus/

    Package Sidebar

    Install

    npm i @tkey/service-provider-torus

    Weekly Downloads

    1,224

    Version

    13.0.0-alpha.1

    License

    MIT

    Unpacked Size

    412 kB

    Total Files

    9

    Last publish

    Collaborators

    • himanshunpm009
    • chaitanyapotti