WalletPresentationBuilder
Wallet Presentation Builder DSL.
Provides a fluent API for creating presentations from wallet credentials. Automatically retrieves credentials from wallet by ID or query.
Example Usage:
val pr = trustWeave.presentationFromWalletResult(wallet) {
fromWallet(masterId, job1Id, job2Id)
holder(professionalDid.value)
selectiveDisclosure { reveal("degree.field", "employment.company") }
}
// when (pr) { Success / Failure.* }Content copied to clipboard
Published docs: docs/api-reference/result-types-guide.md, docs/how-to/create-presentations.md.
Functions
Link copied to clipboard
Build the verifiable presentation as a PresentationResult.
Link copied to clipboard
Add credentials from wallet query.
Link copied to clipboard
Add credentials from wallet by ID list.
Add credentials from wallet by ID.
Link copied to clipboard
Configure selective disclosure.
Link copied to clipboard
Set verification method for signing.