Skip to main content

@atala/prism-wallet-sdk / Exports / AgentDIDHigherFunctions

Interface: AgentDIDHigherFunctions

Implemented by

Table of contents

Methods

Methods

createNewPeerDID

createNewPeerDID(services, updateMediator): Promise<DID>

Parameters

NameType
servicesService[]
updateMediatorboolean

Returns

Promise<DID>

Defined in

src/edge-agent/types/index.ts:90


createNewPrismDID

createNewPrismDID(alias, services, keyPathIndex?, issuingKeys?): Promise<DID>

Parameters

NameType
aliasstring
servicesService[]
keyPathIndex?number
issuingKeys?(PublicKey | KeyPair)[]

Returns

Promise<DID>

Defined in

src/edge-agent/types/index.ts:95


signWith

signWith(did, message): Promise<Signature>

Parameters

NameType
didDID
messageUint8Array

Returns

Promise<Signature>

Defined in

src/edge-agent/types/index.ts:88