DappAccountsSource

fun interface DappAccountsSource

The accounts a wallet could offer a dApp.

Separate from WalletStore on purpose: the store holds signing identities in the wallet's own terms, while this returns the CIP-0103 projection of them. A host maps between the two and decides what is eligible to share at all.

Functions

Link copied to clipboard
abstract suspend fun accounts(): List<DappWallet>

The accounts the wallet is currently willing to offer. DappSession calls it at connect time to build DappApprovalRequest.Connection.available.