Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# 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