Skip to content

LaurentMT/pybargain_demo_client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python demo client for the Bargaining Protocol

This is the implementation simulating an online wallet allowing to bargain with an automated seller.

Online demo : http://vps90685.ovh.net:8083/

Python versions

Python 2.7.6

Dependencies

Flask (http://flask.pocoo.org/) - A microframework for web development

pip install flask

PyBitcoinTools (https://github.com/vbuterin/pybitcointools) - A python library for Bitcoin

python setup.py install

pybargain_protocol (https://github.com/LaurentMT/pybitid) - A python library for the Bargaining protocol

Gets the library from Github : https://github.com/LaurentMT/pybargain_protocol/archive/master.zip
Unzips the archive in a temp directory
python setup.py install

Usage

The wallet listen by default on http://localhost:8083/bargain with flask run in debug mode The negotiation is done on the test network These behaviours can be changed by modyfing pybargain_demo_server\seller_demo.py

Links

Author

Twitter: @LaurentMT

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

Python demo client for the Bargaining Protocol

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published