10.0.0 • Published 1 year ago
@tkey-mpc/service-provider-torus v10.0.0
tKey Torus Service Provider
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-mpc/service-provider-torusSee the full SDK Reference on the Web3Auth Documentation
Example
import TorusServiceProvider from "@tkey-mpc/service-provider-torus";
const customAuthParams = {
  baseUrl: `${window.location.origin}/serviceworker`,
  enableLogging: true,
  network: "testnet",
  web3AuthClientId: "test",
};
const serviceProvider = new TorusServiceProvider({ customAuthParams });