aries / net.globalid.aries.storage.models.wallet / WalletConfiguration

WalletConfiguration

@JsonClass(true) data class WalletConfiguration

Wallet configuration

Constructors

<init>

Wallet configuration

WalletConfiguration(id: String, storageType: String? = "default", storageConfig: WalletStorageConfiguration? = null)

Properties

id

String, Identifier of the wallet. Configured storage uses this identifier to look for wallet

val id: String

storageConfig

optional WalletStorageConfiguration, configuration where files are saved in system Can be optional if storage supports default configuration. For 'default' storage type configuration is: { "path": optionalstring, Path to the directory with wallet files. Defaults to $HOME/.indy_client/wallet. Wallet will be stored in the file {path}/{id}/sqlite.db }

val storageConfig: WalletStorageConfiguration?

storageType

optional String, Type of the wallet storage. Defaults to 'Default' 'Default' storage type allows to store wallet data in the local file.

val storageType: String?