RecoverableWalletConfig

data class RecoverableWalletConfig(accountAddress: AccountKeyPair, deviceAddress: AccountKeyPair, accountThreshold: AccountThreshold, accountIdentity: Map<RecoveryServerKey, List<RecoveryAccountIdentity>>, signerWeight: SignerWeight, sponsorAddress: AccountKeyPair?, builderExtra: (CommonTransactionBuilder<*>) -> Unit?)

Configuration for recoverable wallet

Parameters

accountAddress

Stellar address of the account that is registering

deviceAddress

Stellar address of the device that is added as a primary signer. It will replace the master key of accountAddress

accountThreshold

Low, medium, and high thresholds to set on the account

accountIdentity

A list of account identities to be registered with the recovery servers

signerWeight

Signer weight of the device and recovery keys to set

sponsorAddress

optional Stellar address of the account sponsoring this transaction

Constructors

Link copied to clipboard
fun RecoverableWalletConfig(accountAddress: AccountKeyPair, deviceAddress: AccountKeyPair, accountThreshold: AccountThreshold, accountIdentity: Map<RecoveryServerKey, List<RecoveryAccountIdentity>>, signerWeight: SignerWeight, sponsorAddress: AccountKeyPair? = null, builderExtra: (CommonTransactionBuilder<*>) -> Unit? = null)

Properties

Link copied to clipboard
val accountAddress: AccountKeyPair
Link copied to clipboard
Link copied to clipboard
val accountThreshold: AccountThreshold
Link copied to clipboard
val builderExtra: (CommonTransactionBuilder<*>) -> Unit? = null
Link copied to clipboard
val deviceAddress: AccountKeyPair
Link copied to clipboard
val signerWeight: SignerWeight
Link copied to clipboard
val sponsorAddress: AccountKeyPair? = null