ProofSuite / OrFeed

DeFi & Distributed Data Service Aggregator
https://www.orfeed.org
Apache License 2.0
241 stars 152 forks source link

Oracle Example Code for Censored Data #46

Closed mikedeshazer closed 4 years ago

mikedeshazer commented 4 years ago

One of the greatest benefits to the Ethereum blockchain is that data can be immutably saved and it is censorship resistant. As we know, with Google, et al, when data that is not friendly to needs of Big Business/States, finding data that might be reported from hacks/leaks might be incredibly hard to find by the non-dark web user. Recently, we added the dataAndEventRegistry (https://github.com/ProofSuite/OrFeed/blob/master/contracts/dataAndEventOracleRegistry.sol) in which anyone can register an oracle with a unique name that is connected to smart contract logic for returning a string of what happened during an event or information for a file. Here's an example oracle SM (that can be used as a template for this) that will always return Satoshi's first message on the blockchain: https://github.com/ProofSuite/OrFeed/blob/master/contracts/examples/ProvideDataExamples/userRegisteredDateOrEventOracleExample.sol

We are seeking a similar contract that allows anyone to register (for free) a "theEvent" string that people can search by via your smart contract to register a string of what happened. For example "deep-fake-providers" as theEvent1 parameter to your SC might return a list of open-source deep fake code/apps that are censored from Google and others... or a "Tiananmen-square-reports"theEvent` parameter might return data for what was reported globally there in the 80s for people in China who have access to the Ethereum chain, but not to websites/other sources regarding global media reports about it.

For this issue, perhaps 3-5 preloaded events might be useful, while users can interface with it to add their own reference strings that are tied to data strings. Optionally, please leave your ideas in the proposal if you are headed over from Gitcoin.

We can then register your contract to OrFeed's data/event registry so people can ping your source/result they're seeking to get the information.

If you have questions or comments about this one, feel free to join the Discord and query within the #issues channel: https://discord.gg/byCPVsY

gitcoinbot commented 4 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


This issue now has a funding of 0.2 ETH (36.51 USD @ $182.55/ETH) attached to it as part of the ProofSuite fund.

gitcoinbot commented 4 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work has been started.

These users each claimed they can complete the work by 3 weeks, 3 days from now. Please review their action plans below:

1) codinmaster has been approved to start work.

Make a function that creates a mapping of "theEvent" to its corresponding data using the values inputted by the user. Also, create a search function to return the result. Create 3-5 preloaded events for testing. 2) linggar155 has been approved to start work.

Good project I will still support :)

Learn more on the Gitcoin Issue Details page.

gitcoinbot commented 4 years ago

@codinmaster Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

gitcoinbot commented 4 years ago

@linggar155 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

apoorvlathey commented 4 years ago

@mikedeshazer Please have a look at my PR: https://github.com/ProofSuite/OrFeed/pull/49

gitcoinbot commented 4 years ago

⚡️ A tip worth 0.20000 ETH (41.43 USD @ $207.13/ETH) has been granted to @codinmaster for this issue from @mikedeshazer. ⚡️

Nice work @codinmaster! Your tip has automatically been deposited in the ETH address we have on file.

gitcoinbot commented 4 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


This Bounty has been completed.

Additional Tips for this Bounty: