Skip to content

Project repository to install and run TrustID project on Fabric for OpenClimate use cases

License

Notifications You must be signed in to change notification settings

LedgerAcademy/trustid-openclimate

 
 

Repository files navigation

TrustID for OpenClimate

This repo includes artifacts to run TrustID on Fabric for OpenClimate use case exploration

Steps to setup in environment

cd fabric-samples/test-network

./network.sh down

./network.sh up createChannel -ca

source setenv.sh

./scripts/deployTID.sh

cd scripts

rm -rf wallet
node enrollAdmin.js

add ca-tls.pem to testTrustId.js

Open organizations/peerOrganizations/org1.example.com/connection-org1.json and copy byte64 encrypted tlsCACerts pem. Open testTrustId.js and replace trustedRoots tlsCACerts pem.

node testTrustId.js

Next steps (2020/11/20)

Test walletInteraction()
  1. Paste did from console output to `const did = await wal.getDID("paste some did here")`` e.g., const did = await wal.getDID("did:vtn:trustid:90b7fc4de0f28998f05d8bee7c5bce6ac327d69ed5bd381b972b267b593186ef")
  2. Try to get did.verify working current error (2020/11/20)
(node:52129) UnhandledPromiseRejectionWarning: Error: no key found at processSig (/Users/robinklemens/Documents/GitHub/ca2sig/trustid-openclimate/trustid-sdk/node_modules/node-jose/lib/jws/verify.js:131:22)
Test serviceInteraction()
  1. Create a service ---> First figure out how to start a service

License

Hyperledger Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. The files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.

About

Project repository to install and run TrustID project on Fabric for OpenClimate use cases

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 35.3%
  • JavaScript 28.9%
  • Java 13.5%
  • Shell 13.2%
  • TypeScript 9.0%
  • Dockerfile 0.1%