2.0.2-beta.0 • Published 5 months ago

@oraichain/service-provider-orai v2.0.2-beta.0

Weekly downloads
-
License
MIT
Repository
-
Last release
5 months ago

oKey Orai Service Provider

npm version minzip

Service Provider in oKey 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 @oraichain/service-provider-orai

Example

import OraiServiceProvider from "@oraichain/service-provider-orai";

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