You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Adam Gibson bb07a09e25
a lot more coverage of jmclient; only client_protocol left
9 years ago
..
cmtdata Add commitments tools 9 years ago
logs reorg user scripts to scripts dir 9 years ago
wallets schedules read from files; joinmarketd state bugfix on ioauth receipt 9 years ago
README.md Refactor daemon protocol to jmdaemon package in prep. for binary. 9 years ago
add-utxo.py a lot more coverage of jmclient; only client_protocol left 9 years ago
joinmarketd.py Refactor daemon protocol to jmdaemon package in prep. for binary. 9 years ago
sample-schedule-for-testnet choose address based on INTERNAL flag in schedule 9 years ago
sendpayment.py a lot more coverage of jmclient; only client_protocol left 9 years ago
sendtomany.py Add commitments tools 9 years ago
wallet-tool.py a lot more coverage of jmclient; only client_protocol left 9 years ago

README.md

Command line scripts for Joinmarket

All user level scripts here.

(The phrase "normal Joinmarket" in the below refers to the existing repo.

The subdirectories logs and wallets have the same role as in normal Joinmarket. The subdirectory cmtdata contains only your commitments.json storage of your used commitments (ignored by github of course!). The filename is set in joinmarket.cfg.

The joinmarket.cfg will be created and maintained in this directory.

Brief explanation of the function of each of the scripts:

###sendpayment.py

Either use the same syntax as for normal Joinmarket:

`python sendpayment.py --fast -N 3 -m 1 -P wallet.json 50000000 <address>`

or use the new schedule approach. For an example, see the sample schedule file. Do:

`python sendpayment.py --fast -S sample-schedule-for-testnet wallet.json`

Note that the magic string INTERNAL in the file creates a payment to a new address in the next mixdepth (wrapping around to zero if you reach the maximum mixdepth).

The schedule file can have any name, and is a comma separated value file, the lists must follow that format (length 4 items).

###wallet-tool.py

This is the same as in normal Joinmarket.

###joinmarketd.py

This file's role is explained in the main README in the top level directory. It only takes one argument, the port it serves on (default 27183):

`python joinmarketd.py 27183`

###add-utxo.py

This works exactly as in normal Joinmarket, with the exception of the location of the commitments.json file, explained above.

###sendtomany.py

As above.

More details above, and probably more scripts, will be added later.