Skip to content
This repository has been archived by the owner on Aug 3, 2022. It is now read-only.

Commit

Permalink
wif startup argument
Browse files Browse the repository at this point in the history
  • Loading branch information
jorian committed Feb 20, 2018
1 parent 434409e commit ebd05aa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/source/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ A node that doesn't relay (client node) has the following marketmaker startup ar
- ``passphrase`` is the passphrase that is needed by ``marketmaker`` to determine the userpass and all smartaddresses that BarterDEX is going to use.
- ``coins`` needs a JSON of all BarterDEX-enabled coins. Not all cryptocurrencies are able to do atomic swaps, because they lack CheckLockTimeVerify (BIP65) or one of the necessary Bitcoin API methods (See :ref:`how-to-get-listed` for details).

Optional:

- ``wif`` when set to 1, the ``setpassphrase`` API call will show WIF addresses for all smartaddresses.

After ``marketmaker`` started successfully, the first RPC to be issued will always return a ``getcoin`` <REF TO GETCOIN> call for all coins, using 'default' as the default passphrase. This will also return the default userpass, which will need to be used to set the passphrase of the user, using the ``passphrase`` api call:

.. code-block:: json
Expand Down

0 comments on commit ebd05aa

Please sign in to comment.