doc: Make a local xmr node the default option.
This commit is contained in:
		
							parent
							
								
									61845a7a84
								
							
						
					
					
						commit
						3d3fcbde0b
					
				@ -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.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user