File tree Expand file tree Collapse file tree 14 files changed +45
-25
lines changed
Expand file tree Collapse file tree 14 files changed +45
-25
lines changed Original file line number Diff line number Diff line change 11# basicswap-bash
2- A BasicSwapDEX bash installer for Debian/Ubuntu/Arch/Fedora
3- User account must have sudo privileges
4-
5- ### Installation
2+ A suite of bash scripts to install and manage
3+ BasicSwapDEX on Windows(WSL)/Debian/Ubuntu/Arch/Fedora
64
5+ ### New Installation
76``` bash
87git clone https://github.com/nahuhh/basicswap-bash -b dev
98cd basicswap-bash && ./install.sh
109cd .. && rm -rf basicswap-bash
1110```
12-
11+ ### Update scripts from older versions
12+ ``` bash
13+ cd ~ /coinswaps/basicswap
14+ git clone https://github.com/nahuhh/basicswap-bash -b dev
15+ cd basicswap-bash
16+ mkdir -p $HOME /.local/bin
17+ rm -r $HOME /.local/bin/bsx
18+ mv -f basic* bsx* $HOME /.local/bin/
19+ cd .. && rm -rf basicswap-bash
20+ bsx-update
21+ ```
1322
1423### Running BasicSwapDEX
1524```
Original file line number Diff line number Diff line change 22export SWAP_DATADIR=$HOME /coinswaps
33python3 -m venv " $SWAP_DATADIR /venv"
44. $SWAP_DATADIR /venv/bin/activate && python -V
5- /usr/ local/bin/bsx/startup.sh
5+ $HOME /. local/bin/bsx/startup.sh
Original file line number Diff line number Diff line change @@ -30,4 +30,4 @@ read -p 'Select an option [1|2]: ' l
3030done
3131export SWAP_DATADIR=$HOME /coinswaps
3232. $SWAP_DATADIR /venv/bin/activate && python -V
33- /usr/ local/bin/bsx/addcoin.sh
33+ $HOME /. local/bin/bsx/addcoin.sh
Original file line number Diff line number Diff line change @@ -30,4 +30,4 @@ read -p 'Select an option [1|2]: ' l
3030done
3131export SWAP_DATADIR=$HOME /coinswaps
3232. $SWAP_DATADIR /venv/bin/activate && python -V
33- /usr/ local/bin/bsx/disabletor.sh
33+ $HOME /. local/bin/bsx/disabletor.sh
Original file line number Diff line number Diff line change @@ -30,4 +30,4 @@ read -p 'Select an option [1|2]: ' l
3030done
3131export SWAP_DATADIR=$HOME /coinswaps
3232. $SWAP_DATADIR /venv/bin/activate && python -V
33- /usr/ local/bin/bsx/enabletor.sh
33+ $HOME /. local/bin/bsx/enabletor.sh
Original file line number Diff line number Diff line change @@ -30,4 +30,4 @@ read -p 'Select an option [1|2]: ' l
3030done
3131export SWAP_DATADIR=$HOME /coinswaps
3232. $SWAP_DATADIR /venv/bin/activate && python -V
33- /usr/ local/bin/bsx/removecoin.sh
33+ $HOME /. local/bin/bsx/removecoin.sh
Original file line number Diff line number Diff line change 11#! /bin/bash
22export SWAP_DATADIR=$HOME /coinswaps
33. $SWAP_DATADIR /venv/bin/activate && python -V
4- /usr/ local/bin/bsx/update.sh
4+ $HOME /. local/bin/bsx/update.sh
Original file line number Diff line number Diff line change @@ -30,4 +30,4 @@ read -p 'Select an option [1|2]: ' l
3030done
3131export SWAP_DATADIR=$HOME /coinswaps
3232. $SWAP_DATADIR /venv/bin/activate && python -V
33- /usr/ local/bin/bsx/upgradecoins.sh
33+ $HOME /. local/bin/bsx/upgradecoins.sh
Original file line number Diff line number Diff line change 11#! /bin/bash
22. $SWAP_DATADIR /venv/bin/activate && python -V
33if [[ $TAILS ]]; then
4- /usr/ local/bin/bsx/tails_setup.sh
4+ $HOME /. local/bin/bsx/tails_setup.sh
55else
6- /usr/ local/bin/bsx/setup.sh
6+ $HOME /. local/bin/bsx/setup.sh
77fi
Original file line number Diff line number Diff line change 4747 $INSTALL tor
4848fi
4949
50- # Create HashesControlPassword
50+ # Create HashedControlPassword
5151echo -e " In the next step you'll choose a password. NOTE: It will be saved in PLAIN TEXT."
5252read -p " Enter a (new) tor control password [example: 123123] " torcontrolpass
5353# Edit /etc/tor/torrc
You can’t perform that action at this time.
0 commit comments