Back to Motions
#93
Encode Hackathon University of Texas - treasury proposal #20
3mos ago
Executed

Context

Phala Network co-hosted a hackathon for the Encode Club on June 10th - 12th in Austin, TX at The University of Texas at Austin. Prizes were marketed as 1st Place - $2.5k, 2nd Place - $1.5k & 3rd Place - $1k. We had 3 entries into the hackathon, but one project was disqualified due to not utilizing Fat Contracts in their solution. This leads to an allocation at the current market price of 1 PHA per $0.1069 USD at $4k USD to be 37418.147801684 PHA for the 1st and 2nd place winners.

Project Winners

1st place went to Gavin Whelan

Image Processing with Phala Fat Contracts for Trusted Verification

Technical prototype of image processing on a Phala fat contract. The contract securely receives image data off chain and processes it within the Secure Enclave looking for specific features. This model allows the contract to avoid expensive on-chain actions while still having a trusted pathway of recording critical data of the interaction onto the chain for record keeping and chain visibility.

The prototype serves to proof the structure and implementation cost of building more complex systems such as trusted off-chain facial recognition for authentication to services (on or off-chain) with indelible audit logging.

Rust image processing libraries had to be modified to run on the more restrictive Ink! environment, providing an example of the changes that would be required for other libraries.

For testing purposes a simple front-end was also built based on the Phala JS-SDK example that allows selecting and sending local images to the fat contract for processing.

2nd Place Winner Aidan Dunlap

Fatrenheit Weather Contract

A Fat Contract in Rust that interacts with the National Weather Service and gets the current temperature for me. This could be used in the future to create a special decentralized oracle for something like a weather prediction market or futures exchange. The trustless nature of such an oracle comes from the contract itself being able to get real-world data from a trusted third-party source (the US government), without a human running a server that's sending numbers on-chain. I think this is a really neat application of the unique ability of Fat Contracts to interact with the real world/web services.

Fatrenheit Weather Contract

Edited
Reply
Up
Share
This vote has been closed.
Business
Metadata
Proposer
Index
93
Threshold
3
Hash
0x0a99526f3d3804b21b2872a9632bafc4e41d77432305a16202c4313088f71069
Call
Table
Json
callIndex0x3f02
sectiontreasury
methodapproveProposal
args
proposalId20
TimelineLatest activity 3mos ago
2022-06-20 05:28:30
Proposed
approveProposal
3/3
Aye(3)
Nay(0)
2022-06-20 05:29:24
Vote
2022-06-20 11:18:36
Vote
2022-06-20 17:03:06
Vote
2022-06-20 18:14:18
Closed
2022-06-20 18:14:18
Approved
2022-06-20 18:14:18
Executed
Comments
There are no comments here