@iexec/dataprotector-deserializer
v0.1.0
Published
Helper module to deserialize protected data in trusted dapp
Downloads
300
Keywords
Readme
This package helps nodejs iExec dapps to deserialize protected data created with @iexec/dataprotector
Installation
npm install @iexec/dataprotector-deserializer
Get started
In your nodejs iExec dapp
import { IExecDataProtectorDeserializer } from '@iexec/dataprotector-deserializer';
const deserializer = new IExecDataProtectorDeserializer();
const value1 = await deserializer.getValue('path.to.value1', 'bool');
const value2 = await deserializer.getValue('path.to.value2', 'string');