This service is responsible for providing endpoints for IndustryFusion user/company, product objects to be published to Hedera Blockchain to prove authenticity and ownership of Digital Twins.
Nest framework TypeScript starter repository.
$ npm installRequires .env with following contents in root folder.
HEDERA_NETWORK=testnet
HEDERA_ACCOUNT_ID=
HEDERA_PRIVATE_KEY=
HEDERA_PUBLIC_KEY=
PLATFORM_DID=
VC_TOPIC_ID=
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod# build
$ docker build -t <imagename> .
# run
$ docker run --env-file .env <imagename> -p 4021:4021
👉 View the full interactive documentation here: Swagger UI
Every company participating in Industry Fusion must undergo a Know Your Customer (KYC) process to obtain a Certificate of Authenticity.
Once verified, the company can purchase this certificate, which enables it to certify its products on the platform.
Using an open-source service, each company’s certificate request is received and processed as follows:
- A Hedera account and Decentralized Identifier (DID) document are created in the Hedera File Service (HFS).
- The public key of the Hedera account is stored in the company’s IF account.
- The private key is securely delivered to the user and is never stored on the platform.
The DID document serves as the foundational identity for managing certificates.
It supports key lifecycle operations such as:
- Certificate revocation
- Certificate reissuance
Upon successful creation of the Hedera account and DID:
- The company can issue product certificates in the form of Verifiable Credentials (VCs).
- These VCs are recorded on Hedera Consensus Service (HCS) for transparency and immutability.
- VCs can be issued individually or in batches.
- The company’s DID certificate acts as the ownership identity.
- VCs are digitally signed using the company’s private key, securely provided by user in UI and transmitted for single use.
When a product (e.g., a machine) changes ownership (e.g., from manufacturer to end user):
- The existing VC is revoked.
- A new VC is issued with:
- The new owner’s DID
- A digital signature using the new owner’s private key
VCs are also issued for Industry Fusion Dataspace Contracts.
These credentials:
- Reference the DIDs of the participating data-sharing parties
- Ensure secure and verifiable authenticity for the contractual relationship
- Reference the VC of the digital product/machine in context of data sharing
⚠️ Note: All cryptographic keys are handled securely, and private keys are never retained by the platform.