Sign credentials with your wallet of choice
delegatedSignature
specification:
issuerDid
: The desired issuer DID represents the entity that will be issuing the credentials.endpoint
: The signing endpoint is the URL or endpoint where the credential signing process takes placetoken
: The Auth token for the endpoint is a secure token used to authenticate requests to the signing endpoint. This token ensures that only authorized entities can access the signing endpoint.wallet.signTypedData(payload)
using Crossmint’s wallet, Crossmint sends the payload to a designated endpoint. This endpoint is responsible for wrapping the signTypedData
call and performing the necessary security checks to ensure only authorized payloads are processed, preventing arbitrary or malicious data from being signed.
"did:{chain}:{address}"
.
"did:web:issuer.com"
. webDID leverages existing web domain reputation to establish trust around decentralized identities.
The issuer must have a DID Document hosted at https://issuer.com/.well-known/did.json
for the webDID mapping to work properly.
The DID document, among other useful information, needs to contain the “service” attribute, stating the issuer’s wallet address:
The issuer’s wallet is the wallet that will be used to sign the credential and verifiers can recognize this wallet by its related webDID.