Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ZakCheb/AgreedOnThatData
Ethereum Smart Contract that validates a document approuved by identified parties
https://github.com/ZakCheb/AgreedOnThatData
decentralization ethereum smart-contracts solidity
Last synced: 3 months ago
JSON representation
Ethereum Smart Contract that validates a document approuved by identified parties
- Host: GitHub
- URL: https://github.com/ZakCheb/AgreedOnThatData
- Owner: ZakCheb
- License: mit
- Created: 2017-11-21T11:51:08.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-06-11T07:53:24.000Z (over 6 years ago)
- Last Synced: 2024-05-20T03:14:34.353Z (8 months ago)
- Topics: decentralization, ethereum, smart-contracts, solidity
- Size: 538 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-algeria - AgreedOnThatData - Ethereum Smart Contract that validates a document approved by identified parties built with Solidity (Other)
README
# AgreedOnThatData
Ethereum Smart Contract that validates a document approved by identified parties.My early works on ETH Dapps, this simulates the proof of existence of any document agreed upon by N<20 identified parties.
# How does it work
First we create an identity to match an ethereum address to one person (struct Person object)Then we made a function that is controled by an entity that can identify the parties with (AddPerson), each of those identified parties are now eligible to make contracts(WeMadeAContract) with others, they need to specify the Contract Document Hash (CDH) plus an array containing the parties concerned, notice that the contract is not active until all the parties concerned pushed the same data (array & CDH)
Finaly the parties are linked with that document hash, if anyone do not honor his commitement agreed upon on the CDH, the others are able to prouve it with (IsItActivated), and apply the punishments written on the CDH.
# Pseudo CDH
List Person Concerned :
Person1
Person2
Person3
Person4
We agreed to do:
foo bar
Punishement if someone do not honor:
Pay the other parties 100000$
Signed by all the:
23/12/2013# Screenshoots
![Alt text](./OnlyOneParty.png?raw=true "Title")
![Alt text](./TwoParties.png?raw=true "Title")