Skip to content

Commit

Permalink
Update basicswapguides_addremovecoins.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptoguard committed Jan 30, 2023
1 parent a35ba0b commit 07615bf
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions basicswap-guides/basicswapguides_addremovecoins.rst
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,18 @@ If you've built :term:`BasicSwap` using the Docker method, follow these steps to
.. code-block:: bash
docker-compose stop
#. If you haven’t set your COINDATA_PATH variable permanently in your :guilabel:`.env` file, you’ll need to export the variable first.

.. code-block:: bash
export COINDATA_PATH=/var/data/coinswaps
#. Enable coins by typing the following commands accompanied by the coin you want to enable after the :guilabel:`--addcoin`.

.. code-block:: bash
export COINDATA_PATH=/var/data/coinswaps && docker run --rm -t --name swap_prepare -v $COINDATA_PATH:/coindata i_swapclient basicswap-prepare --datadir=/coindata --addcoin=bitcoin
docker run --rm -t --name swap_prepare -v $COINDATA_PATH:/coindata i_swapclient basicswap-prepare --datadir=/coindata --addcoin=bitcoin
.. note::

Expand Down Expand Up @@ -125,13 +131,15 @@ If you've built :term:`BasicSwap` without using the Docker method, follow these

.. code-block:: bash
export SWAP_DATADIR=/Users/$USER/coinswaps && basicswap-prepare --usebtcfastsync --datadir=/$SWAP_DATADIR --addcoin=bitcoin
export SWAP_DATADIR=/Users/$USER/coinswaps
basicswap-prepare --usebtcfastsync --datadir=/$SWAP_DATADIR --addcoin=bitcoin
#. Activate the change to your BasicSwap instance.

.. code-block::
export SWAP_DATADIR=/Users/$USER/coinswaps && . $SWAP_DATADIR/venv/bin/activate && python -V
export SWAP_DATADIR=/Users/$USER/coinswaps
. $SWAP_DATADIR/venv/bin/activate && python -V
.. note::

Expand Down Expand Up @@ -185,4 +193,4 @@ If you've built :term:`BasicSwap` without using the Docker method, follow these
- BasicSwap Guides - :doc:`Update BasicSwap <../basicswap-guides/basicswapguides_update>`
- BasicSwap Guides - :doc:`Route BasicSwap Through Tor <../basicswap-guides/basicswapguides_update>`
- BasicSwap Guides - :doc:`Make an Offer <../basicswap-guides/basicswapguides_make>`
- BasicSwap Guides - :doc:`Take an Offer <../basicswap-guides/basicswapguides_take>`
- BasicSwap Guides - :doc:`Take an Offer <../basicswap-guides/basicswapguides_take>`

0 comments on commit 07615bf

Please sign in to comment.