Decrypt credentials you care about
Lit.decrypt(encryptedCredential)
function.
If the credentials are encrypted using Crossmint, the SDK provides a CrossmintMetamaskDecrypt().decrypt(encryptedCredential)
function that decrypts the credential, assuming the user has a Metamask wallet. For the support of additional wallets during decryption, review our SDK reference.
A Crossmint API key (credentials.decrypt
) is needed when:
crossmint-recoverable
encryption modality)