- Blind auction Implmented in solidity but with vickrey protocol winner pays second highest bid
- rock-paper-scissor game written in solidity the protocol ensures binding and fairness through commit-reveal scheme
-
The idea is to make a fair private media trading system via smart contracts where the seller sells media ex: movie privately to every buyer and ensure that either parties can't cheat here I assume that there is an IPFS in the network where the seller can share the media encrypted with some key the idea is driven from this paper the protocol is as follow :
- every potential buyer provides payment for random samples + g^x encrypted with the sellers public key
- the media is divided into parts where every part is encrypted with g^(x+yi) and share the encrypted files on IPFS
- the seller commits to g^yi for every sample
- random samples are generated
- seller reveals the random samples
- buyer checks the data
- buyer buys the data if he is ok with it
- seller revealls gyi
- seller claims money
- if the seller didn't reveal samples in pre-specified time the buyer can redeem his money
- the buyer have to pay money equivalent to the amount of data revealed so the buyer won't generate fake accounts and keep requesting random reveals till he collects the movie parts
-
Notifications
You must be signed in to change notification settings - Fork 0
islamfahmy/SmartContracts
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Smart Contracts written in solidity
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published