orbis.connectLit()

Will get the user to connect only to Lit Protocol. It can be used if you passed false to the connect or connect_v2 functions for the lit parameter.

How to use?

let res = await orbis.connectLit(provider);

Parameters

  • provider: By default it will be using window.ethereum if available. Can be used to pass any provider.

Examples

/**
 * Will generate a new Metamask message to be signed
 * to generate the Lit private account locally.
 */
orbis.connectLit(window.ethereum});

Returns

{
  status: 200,
  result: "Generated Lit signature for address: 0x..."
}