Library to interact with Verifiable Credentials
The Zenroom VM is used : https://github.com/lorena-ssi/zenroom-lib
Add an organization
const credentials =let org = "did:lor:lab:1000"let keypair = await zenroomawait orgconst pubKey = keypair'issuerID'keypairpublic_keylet check = await org// check is True
This is the process so far.
- First we create an org object with the DID associated to it.
- Then we create a new Keypait with Zenroom (or maybe we can reuse any key previously sotred in your wallet.)
- We can now Sign the credential.
Set the member of this organizatio0n
let org = "did:lor:lab:1000"orgname'Caelum Labs'let developer = 'did:lor:lab:1001'developerorg// Now you can sign it and send it.
Create one action
let action = "did:lor:lab:1000" 20let agent = 'did:lor:lab:1001'action// Now you can sign it and send it.