mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-05 10:28:10 +01:00
Update install notes for OSX.
Download correct XMR release. Trust added PGP keys.
This commit is contained in:
@@ -53,21 +53,42 @@ Remove any existing wallets after copying over a pruned chain or the Bitcoin dae
|
||||
|
||||
## Run Without Docker:
|
||||
|
||||
|
||||
### Ubuntu Setup:
|
||||
|
||||
$ apt-get install -y wget python3-pip gnupg unzip protobuf-compiler automake libtool pkg-config
|
||||
|
||||
$ export SWAP_DATADIR=/var/data/coinswaps
|
||||
### OSX Setup:
|
||||
|
||||
Install Homebrew:
|
||||
|
||||
https://brew.sh/
|
||||
|
||||
Command Line Tools:
|
||||
|
||||
$ xcode-select --install
|
||||
|
||||
Dependencies:
|
||||
|
||||
$ brew install wget unzip python git protobuf gnupg automake libtool pkg-config
|
||||
|
||||
|
||||
### Basicswap:
|
||||
|
||||
$ export SWAP_DATADIR=/Users/$USER/coinswaps
|
||||
$ mkdirs -p "$SWAP_DATADIR/venv"
|
||||
$ python3 -m venv "$SWAP_DATADIR/venv"
|
||||
$ . $SWAP_DATADIR/venv/bin/activate && python -V
|
||||
$ cd $SWAP_DATADIR
|
||||
$ wget -O coincurve-anonswap.zip https://github.com/tecnovert/coincurve/archive/anonswap.zip
|
||||
$ unzip coincurve-anonswap.zip
|
||||
$ cd coincurve-anonswap
|
||||
$ cd $SWAP_DATADIR/coincurve-anonswap
|
||||
$ python3 setup.py install --force
|
||||
|
||||
|
||||
$ cd $SWAP_DATADIR
|
||||
$ git clone https://github.com/tecnovert/basicswap.git
|
||||
$ cd basicswap
|
||||
$ cd $SWAP_DATADIR/basicswap
|
||||
$ protoc -I=basicswap --python_out=basicswap basicswap/messages.proto
|
||||
$ pip3 install .
|
||||
|
||||
@@ -75,6 +96,9 @@ Prepare the datadir:
|
||||
|
||||
XMR_RPC_HOST="node.xmr.to" BASE_XMR_RPC_PORT=18081 basicswap-prepare --datadir=$SWAP_DATADIR --withcoins=monero --withoutcoins=litecoin --xmrrestoreheight=2245107
|
||||
|
||||
OR using a local XMR daemon:
|
||||
basicswap-prepare --datadir=$SWAP_DATADIR --withcoins=monero --withoutcoins=litecoin --xmrrestoreheight=2245107
|
||||
|
||||
Record the mnemonic from the output of the above command.
|
||||
|
||||
Start the app
|
||||
@@ -84,6 +108,14 @@ Start the app
|
||||
Open in browser: `http://localhost:12700`
|
||||
|
||||
|
||||
Start after installed:
|
||||
|
||||
$ export SWAP_DATADIR=/Users/$USER/coinswaps
|
||||
$ python3 -m venv "$SWAP_DATADIR/venv"
|
||||
$ basicswap-run --datadir=$SWAP_DATADIR
|
||||
|
||||
|
||||
|
||||
Old notes
|
||||
=============
|
||||
|
||||
@@ -97,34 +129,6 @@ Old notes
|
||||
$ python bin/basicswap-run.py
|
||||
|
||||
|
||||
## OSX
|
||||
|
||||
Install Homebrew:
|
||||
|
||||
https://brew.sh/
|
||||
|
||||
Command Line Tools:
|
||||
|
||||
$ xcode-select --install
|
||||
|
||||
Dependencies:
|
||||
|
||||
$ brew install python git protobuf gnupg
|
||||
|
||||
Python certificates:
|
||||
|
||||
$ /Applications/Python\ 3.7/Install\ Certificates.command
|
||||
|
||||
Basicswap
|
||||
|
||||
$ git clone https://github.com/tecnovert/basicswap.git
|
||||
$ cd basicswap
|
||||
$ protoc -I=basicswap --python_out=basicswap basicswap/messages.proto
|
||||
$ pip3 install .
|
||||
$ basicswap-prepare
|
||||
$ basicswap-run
|
||||
|
||||
|
||||
# Windows
|
||||
|
||||
Install git and python3:
|
||||
|
||||
Reference in New Issue
Block a user