The Entropy Protocol

A trustless onchain entropy source utilizing verifiable randomness

ETHOnline 2024Shipped August 23, 2024Prize winner#infra#security
Repo
The Entropy Protocol banner

About

The Entropy Protocol is an onchain decentralized randomness solution designed to replace oracle-based randomness generation. It combines contributions of randomness from 'entropy providers' that is supplied to 'entropy consumers' that use the random data. Consumers can mix randomness from multiple providers using their choice of method to add extra security to the protocol. Providers have to make 'commits' to randomness ahead of time, when they don't know what the other data in the pool is, so they can't manipulate the end result. These features ensure that randomness is entirely unpredictable to all parties involved.

How it's made

For the smart contracts, we used Sign Protocol to handle attestations entropy providers make to provide randomness at some later date. We leveraged the Schema Hooks feature to automatically trigger logic when new commits are made. Sign Protocol was an incredible addition to our tech stack, as it allowed for standardized interfaces that could enable interoperability with the protocol. For the protocol's token, ENTP, we utilized OpenZeppelin Contracts for ERC20 implementations and interfaces. And to test, deploy, and interact with the contracts via scripts, we used the Hardhat Javascript library.

For the frontend, we took advantage of the Web3Auth ecosystem to provide an integrated user experience. It streamlined our frontend and allowed a familiar Web2-like interface for our blockchain-based application. We connected Web3Auth with the ethers Javascript/Typescript library to integrate the interface with the underlying protocol. To design the interface, we used React, which provided an optimal component-based structure for our use-case.

Prizes

  • Sign Protocol · Sign Everything Pool Prize · Sign Everything Pool Prize
  • Sign Protocol · Best Technical Integration of Schema Hooks · Best Technical Integration of Schema Hooks

From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.

Nebula Protocol

a modern plug n play onchain identity oracle protocol. build your own identities and use it anywhere

Starkudan-Swap

Secure, trustless atomic swaps between EVM and Starknet ecosystems with HTLCs and 1inch’s contracts