Overview
Desmo-LD will leverage on iExec distributed cloud computing features to deploy its off-chain Oracle components. The Oracle DApp is an IExec decentralized application written in node-js (Typescript) which acts as the backend of Desmo-LD iExecDOracle. In particular, it is in charge of parsing and translating the on-chain oracle requests, collecting the results from the selected TDDs, reaching a consensus on the Web Thing response, and returning the response. Thanks to iExec secure environment facilities, enabled Web Things can be operated within a secure enclave where credentials can be shared without any risk of information leaking.
Here you can find a short way to configure all the services that you need to run the DApp. If you need more details about these services, you can find them in their section, look at the Table of Contents
SETUP
cd ./example-tds
npm install
npm run build
npm start
cd ..
cd ./directory
./downloadRepo.sh
cd ./directoryManager
npm install
npm start
cd ../../
cd ./DApp
npm install -g ts-node typescript '@types/node'
RUN TEST
cd ./example-tds
npm start
cd ..
cd ./directory
./buildAndRunMultiple.sh
./setupMultiple.sh
cd ../../
cd ./DApp
ts-node tests/runTests.ts usecase
Zion as Directory
Zion is an Directory implementation, you can find the Zion repository here
The final demo of DESMO-LD project will use Zion Directories, to use an isntace of that with docker:
docker-compose up
To test the DApp with Zion as Direcotry:
cd ./example-tds
npm start
cd ..
docker-compose up
cd ./DApp
ts-node tests/runTests.ts zion
DESMO-LD DApp is founded by the DESMO-LD project inside the ONTOCHAIN european organization part of the Next Generation Internet fund.