Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 1.27 KB

README.md

File metadata and controls

26 lines (18 loc) · 1.27 KB

Secure Aadhaar Composer Application

This repository contains the code for the composer application. This smart contract generated from this code defines the behaviour of the blockchain.

File Structure

  • models/org.alpha.secureaadhaar: Contains the model definitions
  • logic.js: Contains the business logic for the transactions.
  • permissions.acl: Contains the access control rules.
  • queries.qry: Contains the query definitions.

Running the application

The application can be run by either deploying it to a fabric blockchain network or using the composer-playground.

For running using either of these methods, one needs to create the business network definition file.

composer archive create -t dir -n .

This generates a secure-aadhaar.bna file which can then be deployed to:

Prequisites

You need to have Hyperledger Composer and Hyperledger Fabric installed in order to run this application. Instructions for the same can be found here.