Truvera Credential SDK

The Truvera Credential SDK is an opensource library that powers Truvera SaaS API. It provides the credential management, cryptography, and blockchain storage features for Truvera's supported credential variants:

  • W3C VC JSON-LD ed25519 credential using StatusList 2021 for revocation targetted at interoperability

  • W3C VC JSON-LD BBS credential using accumulators for revocation targetted at privacy

  • W3C VC JSON-LD KVAC credential using accumulators for revocation allowing monetization of credentials

Most of the SDK is written in JavaScript / TypeScript with safety-critical code written in Rust. The SDK depends on the Arkworks math libraryarrow-up-right.

Some useful references:

  1. Complete examplesarrow-up-right in SDK for various features

  2. Another useful place is the SDK testsarrow-up-right

  3. To see how to do basic operations like generate addresses, validate addresses, check balance, do token transfer, get block by hash or number, etc, see this example scriptarrow-up-right. The script uses functions defined herearrow-up-right.

Last updated

Was this helpful?