Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If everything is going on a blockchain, it's very simple. I made this simple contract to demonstrate. [1] It can be tested with Remix. [2]

In [3], the getArticle is called which shows the article text has not yet been set. Then, in [4] I'm showing that by calling a method on the contract, the text of the article can be set by someone using the contract. In [5] I show that this previous edit changed the text of the article. In [6] I'm showing that different signers of transactions can also be displayed as an editor. And finally, in [7], I'm showing the an item in the edit history can be looked up by index.

If what is stored on the blockchain does not match what Wikipedia is showing, then Wikipedia is censoring what is supposed to be in the article. This isn't showing endorsements, but, endorsements could easily be added to this contract by creating a mapping on the contract for users that want to endorse edits at an index, etc.

This is not state everything should be on a blockchain, but just demonstrate that it is possible to create censorship resistant article edit tracking that has endorsing users.

[1] https://pastebin.mozilla.org/5zu9mDrg/raw

[2] https://remix.ethereum.org

[3] https://i.imgur.com/osPMT57.png

[4] https://i.imgur.com/mq9oRJ9.png

[5] https://i.imgur.com/oXghJhn.png

[6] https://i.imgur.com/Ku0DOJY.png

[7] https://i.imgur.com/AaDifV1.png



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: