This script is issuing and verifying NFT with VC(Verifiable Credential). VC functionality add a verification layer to ensure the authenticity of NFT issuers. This uses veramo as a vc framework.
./src/veramo/setup.ts (line39)
// You will need to get a project ID from infura https://www.infura.io
const INFURA_PROJECT_ID = '${YOUR_INFURA_ID}'
yarn
// registrater issuer did
yarn node --loader ts-node/esm ./src/create-identifier.ts
// resolve did document
yarn node --loader ts-node/esm ./src/resolve-did.ts
// list did
yarn node --loader ts-node/esm ./src/list-identifiers.ts
// mint nft with vc
yarn node --loader ts-node/esm ./src/mint-vcnft.ts
// mint vwbl with vc
yarn node --loader ts-node/esm ./src/mint-vcvwbl.ts
// verify nft with vc
yarn node --loader ts-node/esm ./src/verify-vcnft.ts
// sign message by issuer private key
yarn node --loader ts-node/esm ./src/sign-message.ts