Abstract
Environment
to use.
Optional
apiKey: stringAPI key to use.
Optional
opts: ConstructorOptsAdditional constructor options; see ConstructorOpts
.
Private
Optional
disablePrivate
Optional
emailOptional
loginEncryption key pair generated from loginEncryptionKey.
Private
platformOptional
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.
Private
Optional
sessionPrivate
Optional
userPrivate
Optional
walletsPrivate
convertPrivate
convertCreates a new wallet.
if true, recovery share will not be distributed.
method called when createWallet is done.
Optional
params: any[wallet, recoveryShare]
Private
deleteDistributes a new wallet recovery share.
the wallet to distribute the recovery share for.
the user share generate the recovery share from.
Private
getProtected
Abstract
getPrivate
getPrivate
getGet transmission shares associated with session.
Optional
isForNewDevice: booleantrue if this device is registering.
Private
getGenerates 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
Private
localPrivate
localPrivate
persistPrivate
populatePrivate
retrieveSends 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.
Private
sessionPrivate
sessionPrivate
sessionSigns 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.
Private
waitGenerated using TypeDoc
Constructs a new
CoreCapsule
instance.