-
Notifications
You must be signed in to change notification settings - Fork 46
Power your dApp with Verifiable Real-world Data #36
Comments
Issue Status: 1. Open 2. Started 3. Submitted 4. Done This issue now has a funding of 2500.0 USDT (2500.0 USD @ $1.0/USDT) attached to it.
|
Issue Status: 1. Open 2. Started 3. Submitted 4. Done Work has been started. These users each claimed they can complete the work by 19 hours ago. 1) jpick713 has been approved to start work. The project will allow monitoring of VOC emissions from a kiln to conform to environmental regulations and also though temperature and humidity tracking give insight into MC% at a given time and possibly trigger actions once certain conditions are met. Learn more on the Gitcoin Issue Details page. |
Issue Status: 1. Open 2. Started 3. Submitted 4. Done Work for 2500.0 USDT (2500.00 USD @ $1.0/USDT) has been submitted by:
|
Issue Status: 1. Open 2. Started 3. Submitted 4. Done Work for 2500.0 USDT (2500.00 USD @ $1.0/USDT) has been submitted by: @simonerom please take a look at the submitted work:
|
Power your dApp with Verifiable Real-world Data
Welcome!
Thank you for your interest in IoTeX. You are welcome to participate in our competitions. Also, take a look at the other prizes:
Please join our Discord to discuss the bounties.
Bounty Prize
2500 USDT
to the most creative submission
The Challenge
Pebble Tracker is a multi-sensor IoT board that converts real-world phenomena into verifiable, blockchain-ready data. We would like you to create a simple dApp that gets periodically fed by these verifiable data messages containing sensor values, verifies the message signature, and takes specific actions based on the sensor's values.
Below we provide the basic specifications, but anyone is free to extend it and get creative:
For the Smart Contract, you are required to use Solidity 0.5.13, for the frontend we suggest our dApp sample (though not a strict requirement)
Acceptance Criteria
Judging Criteria
Misc/References
Useful links
Pebble Message Verification
Important notice: the simulator only support Linux and macOS
Data message verification is the key concept behind the verifiability of Pebble Tracker data: you can both verify the source (i.e. the device public key) of the data, and the integrity of the data in one single step using the signature included in the Pebble Tracker data messages:
r
ands
are the two components of the elliptic curve signature (using secp256k1 curve) of the data message, obtained by signing the keccak256 hash of the JSON object rendered to a string without any formatting. A possible example to verify the message signature would be the following, using the solidity ecrecover function:If
ecrecover()
returns a valid, non-zero address, this means that the data integrity is assured (i.e. the data passed to the contract correspond to those originally signed by the device). If the returned address is also included among the whitelisted devices then both the source and integrity of the data are verified, all is good and the contract can go ahead processing the sensors data (which is now trusted data!) and taking the specific actions required by the dApp.IoTeX Useful Links
Discuss: Please join our Discord Dev Chat to ask questions or reach out to
Simone_IoTeX
on Discord if you need any help.Docs: IoTeX Docs | Ethereum Compatibility | DID | Full Nodes
Follow Us: iotex.io | Telegram | Twitter | Medium | Reddit
The text was updated successfully, but these errors were encountered: