Migration to TrustVC
This migration guide will help you transition from using the TradeTrust libraries (@tradetrust-tt/tt-verify, @tradetrust-tt/tradetrust) to TrustVC. In addition, it introduces the new W3C Verifiable Credentials (VC) integration for managing verifiable credentials. This version of TrustVC integrates both token-based credentials and W3C VC to provide a unified credential management solution.
1. What’s New?
TrustVC Integration
- TrustVC is a comprehensive library that combines several TradeTrust libraries, including Token Registry v5, W3C Verifiable Credentials, and OpenAttestation Verifiable Documents. By using TrustVC, you can manage both credential documents and token-based credentials seamlessly in a unified solution.
Token Registry v5
- Token Registry v5 is the newest version. It allows you to manage token-based credentials and ownership transfers through smart contracts. For more information refer to here.
2. How to Migrate to TrustVC
To install the TrustVC library:
Run the following command in your project directory:
npm install @trustvc/trustvc