Bitcoin Forum
May 04, 2024, 11:10:02 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [PoC][Draft] The Bargaining Protocol (when BIP70 met the Bazaar)  (Read 1587 times)
laurentmt (OP)
Sr. Member
****
Offline Offline

Activity: 384
Merit: 258


View Profile
August 24, 2014, 03:44:42 PM
 #1

Hi there,

The Bargaining Protocol is one of my toy projects, initially proposed at a bitcoin hackathon organized at La Maison du Bitcoin.

To be honest, the main goal of this project was to provide an excuse to hack code implying a bunch of bitcoin concepts (creation/validation of transactions, retrieving data from the blockchain, payment protocol, chain of signatures, ...). But the pitch was a bit more elaborated:

Quote
The Payment Protocol (BIP70) has been proposed to offer a better UX and better security on the payment process. Beyond being a payment solution, the Payment Protocol also perfectly matches with a trade model based on fixed prices. But trade models are strongly linked to cultures. Considering that Bitcoin is a global currency, it shouldn't be limited by cultural bias. It should embrace cultural diversity by promoting different models.

The Bargaining Protocol aims to transpose such an alternative model (based on prices negotiation) into the cryptocurrencies world.



This protocol should be a modern digital version of the bargaining process allowing:
  • provable negotiations: messages form a chain of signatures which ensures that the terms of the negotiation can't be forged
  • trust-free negotiations: at every step, the seller is assured that the buyer owns the funds to cover the pledge

Because of its digital nature, the protocol should also help to build advanced use cases:
  • asynchronous bargaining: launch a negotiation, make a pause, complete later
  • 1-to-N bargainings: a buyer (seller) can run multiple concurrent negotiations with multiple sellers (buyers)

Foreseen use cases:
  • human-to-human negotiations : online bazaars, ...
  • computer-to-computer negotiations : automated negotiation of resources (on-demand cloud service provisions), dynamic negotiation strategies (A.I.)
  • human-to-computer negotiations : automated negotiation for e-merchants (travel retail, hotels, cars renting, ...), negotiation assistant for consumers, ...

For the record:
  • the protocol takes inspiration in the Monotonic Concession Protocol from Games Theory (with some modifications: proposals are not simultaneous but sequential, more permissive stop conditions, ...)
  • the protocol is a generalization of the Payment Protocol. Take the Bargaining Protocol. Remove the negotiation phase. Et voilà ! You've got the Payment Protocol (almost)

After the hackathon, I've spent some time to polish the code (i.e. rewrite the code), write draft specifications and release the whole thing on github:

If you feel in mood for bargaining with a computer, try this DEMO which simulates an online wallet allowing to bargain with a seller (aka "MyStupidBot").

All comments, critics or suggestions are welcome.

Kudos to @thibaultj who gave me a hand to build the first version of the demo during the hackathon.

1714821002
Hero Member
*
Offline Offline

Posts: 1714821002

View Profile Personal Message (Offline)

Ignore
1714821002
Reply with quote  #2

1714821002
Report to moderator
1714821002
Hero Member
*
Offline Offline

Posts: 1714821002

View Profile Personal Message (Offline)

Ignore
1714821002
Reply with quote  #2

1714821002
Report to moderator
In order to achieve higher forum ranks, you need both activity points and merit points.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
RagnarDanneskjold
Full Member
***
Offline Offline

Activity: 144
Merit: 100



View Profile
August 26, 2014, 08:33:57 AM
 #2

I like this very much. nice work

git  |  | ID
'Bitcoin is the progress toward a society of privacy. The savage’s whole existence is public, ruled by the laws of his tribe. Bitcoin is the process of setting man free from men'
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!