Environment to use.
Optional apiKey: stringAPI key to use.
Optional opts: ConstructorOptsAdditional constructor options; see ConstructorOpts.
Optional loginEncryption key pair generated from loginEncryptionKey.
Optional portalHex color to use in the portal for the background color.
Optional portalHex color to use in the portal for the primary button.
Optional portalHex text color to use in the portal.
Creates a new wallet.
if true, recovery share will not be distributed.
method called when createWallet is done.
Optional params: any[wallet, recoveryShare]
Distributes a new wallet recovery share.
the wallet to distribute the recovery share for.
the user share generate the recovery share from.
Protected getGet transmission shares associated with session.
Optional isForNewDevice: booleantrue if this device is registering.
Generates a URL that can be used to perform web auth for creating a new credential.
id of the session to use for web auth
public key to use for encrypting the login encryption key
Optional partnerId: stringid of the partner to get the portal URL for
Optional newDeviceSessionId: stringid of the session to use for web auth for a new device
Optional newDeviceEncryptionKey: stringpublic key to use for encrypting the login encryption key for a new device
Sends a transaction.
id of the wallet to send the transaction from.
rlp encoded tx as base64 string
chain id of the chain the transaction is being sent on.
Signs a message.
If you want to sign the keccak256 hash of a message, hash the message first and then pass in the base64 encoded hash.
id of the wallet to sign with.
base64 encoding of exact message that should be signed
Signs a transaction.
id of the wallet to sign the transaction from.
rlp encoded tx as base64 string
chain id of the chain the transaction is being sent on.
Performs 2FA verification.
email to use for performing a 2FA verification.
verification code to received via 2FA.
Generated using TypeDoc
Constructs a new
CoreCapsuleinstance.