NOTE: The SDK can be used also server-side.
- Verification: The SDK provides a straightforward method to verify any given credential.
- Presentation: By inputting a user’s wallet address, the SDK allows you to retrieve all credentials issued to that address. It also provides a filtering option for easy navigation through the credentials.
- Decryption: In case of encrypted credentials, the SDK enables you to decrypt a credential for a specific user interacting with the lit protocol.
Developers -> API Keys
tab, click on New API Key
in the Client-side keys
section, and select the scopes credentials.read
and credentials.decrypt
.
SDK Reference Table of Contents
Classes
- ContractMetadataService
- CredentialService
- CrossmintDecrypt
- CrossmintMetamaskDecrypt
- Lit
- WalletAuthService
Interfaces
- Collection
- CredentialFilter
- CredentialMetadata
- CredentialsCollection
- EncryptedVerifiableCredential
- VCNFT
- VerifiableCredential
- VerifiableCredentialEncryption
Type Aliases
Variables
Functions
- getCredentialNFTFromLocator
- getCredentialNfts
- isCredentialType
- isEncryptedVerifiableCredential
- isVcChain
- isVerifiableCredential
- verifyCredential