Discover Packages
github.com/predix/chaincode_example
remote_attestation
command
Version:
v0.0.0-...-036677f
Opens a new window with list of versions in this module.
Published: Sep 10, 2017
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
Remote attestation smart contract
Smart contract to record the remote attestation status of device. This smart contract provides a way for attestors/verifiers to record the status and validation hash on block chain to guarantee integrity and allow multiple attestors to record the status.
Steps to deploy and use this smart contract
Deploy chaincode
curl -k -XPOST -d @scripts/deploy_chaincode.txt https://$blockchain_ip/chaincode
Record attestation status
curl -k -XPOST -d @scripts/record_attestation_status.txt https://$blockchain_ip/chaincode
Query all attestation records
curl -k -XPOST -d @scripts/attestation_records.txt https://$blockchain_ip/chaincode
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.