Skip to content
README.md 1.12 KiB
Newer Older
# ADRENALINE DLT App

<figure>
    <img src="../resources/DLT_App.png"
         alt="DLT_APP for chaincode tests"
         width="960"
         height="480">
    <figcaption>DLT_APP for chaincode tests.</figcaption>
</figure>

## Description

The DLT app consists of a **fabricConnect.ts** TypeScript file which contains the logic for Identification management (Certificates required for the MSP), connection management to the blockchain, and finally it exposes a contract object with all the required information for interacting with the chaincode. The compiled **fabricConnect.ts** logic can be imported into a **dltGateway.js** or other testing code inside the [/tests](./tests/) folder. 

## Requisites

NodeJS

## Running the App

Install the dependencies and compile the sourcecode.

```bash
npm install

```

Run the Gateway application

```bash
node .\src\dltGateway.js

```

In another terminal run the test client application.

```bash
node .\src\testGateway.js

```

The purpose of the dltGateway is to expose the chaincode operations to gRPC connections for integration with the ADRENALINE testbed modules.


## Performance Test