mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-05 10:28:10 +01:00
doc: Add --upgradecores and --particl_mnemonic.
This commit is contained in:
@@ -82,6 +82,16 @@ To instead use Monero public nodes and not run a local Monero daemon<br>(it can
|
||||
**Mnemonics should be stored encrypted and/or air-gapped.**
|
||||
And the output of `echo $CURRENT_XMR_HEIGHT` for use if you need to later restore your wallet.
|
||||
|
||||
|
||||
##### Restore
|
||||
|
||||
To restore an existing install use --particl_mnemonic to input the existing mnemonic:
|
||||
|
||||
docker-compose run --rm swapclient basicswap-prepare --datadir=/coindata --htmlhost="0.0.0.0" --wshost="0.0.0.0" \
|
||||
--withcoins=monero --xmrrestoreheight=$ORIGINAL_XMR_HEIGHT \
|
||||
--particl_mnemonic="existing mnemonic here"
|
||||
|
||||
|
||||
#### Set the timezone (optional)
|
||||
|
||||
Edit the `.env` file in the docker directory, set TZ to your local timezone.
|
||||
@@ -209,7 +219,7 @@ Add a coin (Stop basicswap first):
|
||||
|
||||
|
||||
Start after installed:
|
||||
|
||||
|
||||
export SWAP_DATADIR=$HOME/coinswaps
|
||||
. $SWAP_DATADIR/venv/bin/activate && python -V
|
||||
basicswap-run --datadir=$SWAP_DATADIR
|
||||
|
||||
@@ -27,11 +27,11 @@ If the dependencies have changed the container must be built with `--no-cache`:
|
||||
|
||||
After updating the code and rebuilding the container run:
|
||||
|
||||
|
||||
basicswap/docker]$ docker-compose run --rm swapclient \
|
||||
basicswap-prepare --datadir=/coindata --preparebinonly --withcoins=monero,bitcoin
|
||||
basicswap-prepare --datadir=/coindata --upgradecores
|
||||
|
||||
|
||||
Specify all required coins after `--withcoins=`, separated by commas.
|
||||
If updating from versions below 0.21, you may need to add `wallet=wallet.dat` to the core config files.
|
||||
|
||||
|
||||
@@ -46,4 +46,4 @@ If updating from versions below 0.21, you may need to add `wallet=wallet.dat` to
|
||||
|
||||
#### Update core versions
|
||||
|
||||
basicswap-prepare --datadir=$SWAP_DATADIR -preparebinonly --withcoins=monero,bitcoin
|
||||
basicswap-prepare --datadir=$SWAP_DATADIR --upgradecores
|
||||
|
||||
Reference in New Issue
Block a user