Browse Source

move joinmarketd to scripts, update instructions

master
Adam Gibson 9 years ago
parent
commit
47fe98169c
No known key found for this signature in database
GPG Key ID: B3AE09F1E9A3197A
  1. 17
      README.md
  2. 0
      scripts/joinmarketd.py

17
README.md

@ -14,19 +14,26 @@ Next, you can install in 3 different modes:
`python setup.py --backend install`
Then, you can run the daemon with `python joinmarketd.py <port number>`
Then, you can run the daemon with `cd scripts; python joinmarketd.py <port number>`
2. For the client code, using joinmarket's own bitcoin library on the command line:
`python setup.py --client-bitcoin install`
Then, once the daemon is up, you can run sendpayment (e.g. against regtest) with
exactly the same parameters as for normal Joinmarket, refer to the main joinmarket
repo for details, with one addition: use the flag `-p` to specify the daemon port.
Then, once the daemon is up, you can run sendpayment (e.g. against regtest):
`cd scripts; python sendpayment.py -p <port number> <other params> ..`
with similar parameters as for normal Joinmarket, see the notes at the top of the file.
This is currently only for testing, but is nearly in a real-world usable state, and is
working OK on regtest.
3. For the client code, using another bitcoin backend library (currently only Electrum
supported, see https://github.com/AdamISZ/electrum-joinmarket-plugin for details):
`python setup.py --client-only install`
You can then access the library via `import jmclient`.
You can then access the library via `import jmclient`. In particular the
jmclient.Taker class must be instantiated.
Test instructions and test scripts: todo.

0
joinmarketd.py → scripts/joinmarketd.py

Loading…
Cancel
Save