This forked repository is used as a archive for the results of the ONTOCHAIN open call 2
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.
Table of Contents
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
- WAM
cd ./example-tds
npm install
npm run build
npm start
cd ..
- Directory
cd ./directory
- Download and install GO go.dev
./downloadRepo.sh
cd ./directoryManager
npm install
npm start
cd ../../
- DApp
cd ./DApp
npm install -g ts-node typescript '@types/node'
RUN TEST
- WAM
cd ./example-tds
npm start
cd ..
- Directory
cd ./directory
./buildAndRunMultiple.sh
./setupMultiple.sh
cd ../../
- DApp
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:
- download the repository here
docker-compose up
To test the DApp with Zion as Direcotry:
- WAM
cd ./example-tds
npm start
cd ..
- Directory
- if Zion is not up yet, go in the Zion repository folder and then
docker-compose up
- if Zion is not up yet, go in the Zion repository folder and then
- DApp
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.