From 3d3fcbde0b414b69a07e395859da4ddae4a9310b Mon Sep 17 00:00:00 2001 From: tecnovert Date: Tue, 19 Dec 2023 11:13:41 +0200 Subject: [PATCH] doc: Make a local xmr node the default option. --- doc/install.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/doc/install.md b/doc/install.md index e7ae95a..fe8d44c 100644 --- a/doc/install.md +++ b/doc/install.md @@ -173,6 +173,7 @@ Close the terminal and open a new one to update the python symlinks. git clone https://github.com/tecnovert/basicswap.git cd $SWAP_DATADIR/basicswap + If installed on OSX, you may need to install additional root ssl certificates for the ssl module. From https://pypi.org/project/certifi/ @@ -189,10 +190,11 @@ Prepare the datadir: CURRENT_XMR_HEIGHT=$(curl https://localmonero.co/blocks/api/get_stats | jq .height) + basicswap-prepare --datadir=$SWAP_DATADIR --withcoins=monero --xmrrestoreheight=$CURRENT_XMR_HEIGHT + + OR using a remote/public XMR daemon (not recommended): XMR_RPC_HOST="node.xmr.to" BASE_XMR_RPC_PORT=18081 basicswap-prepare --datadir=$SWAP_DATADIR --withcoins=monero --xmrrestoreheight=$CURRENT_XMR_HEIGHT - OR using a local XMR daemon: - basicswap-prepare --datadir=$SWAP_DATADIR --withcoins=monero --xmrrestoreheight=$CURRENT_XMR_HEIGHT Record the mnemonic from the output of the above command. @@ -200,6 +202,7 @@ Start Basicswap: basicswap-run --datadir=$SWAP_DATADIR + Open in browser: `http://localhost:12700` It may take a few minutes to start as the coin daemons are started before the http interface.