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 1
1
# 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
6
4
5
+ ### New Installation
7
6
``` bash
8
7
git clone https://github.com/nahuhh/basicswap-bash -b dev
9
8
cd basicswap-bash && ./install.sh
10
9
cd .. && rm -rf basicswap-bash
11
10
```
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
+ ```
13
22
14
23
### Running BasicSwapDEX
15
24
```
Original file line number Diff line number Diff line change 2
2
export SWAP_DATADIR=$HOME /coinswaps
3
3
python3 -m venv " $SWAP_DATADIR /venv"
4
4
. $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
30
30
done
31
31
export SWAP_DATADIR=$HOME /coinswaps
32
32
. $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
30
30
done
31
31
export SWAP_DATADIR=$HOME /coinswaps
32
32
. $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
30
30
done
31
31
export SWAP_DATADIR=$HOME /coinswaps
32
32
. $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
30
30
done
31
31
export SWAP_DATADIR=$HOME /coinswaps
32
32
. $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 1
1
#! /bin/bash
2
2
export SWAP_DATADIR=$HOME /coinswaps
3
3
. $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
30
30
done
31
31
export SWAP_DATADIR=$HOME /coinswaps
32
32
. $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 1
1
#! /bin/bash
2
2
. $SWAP_DATADIR /venv/bin/activate && python -V
3
3
if [[ $TAILS ]]; then
4
- /usr/ local/bin/bsx/tails_setup.sh
4
+ $HOME /. local/bin/bsx/tails_setup.sh
5
5
else
6
- /usr/ local/bin/bsx/setup.sh
6
+ $HOME /. local/bin/bsx/setup.sh
7
7
fi
Original file line number Diff line number Diff line change 47
47
$INSTALL tor
48
48
fi
49
49
50
- # Create HashesControlPassword
50
+ # Create HashedControlPassword
51
51
echo -e " In the next step you'll choose a password. NOTE: It will be saved in PLAIN TEXT."
52
52
read -p " Enter a (new) tor control password [example: 123123] " torcontrolpass
53
53
# Edit /etc/tor/torrc
You can’t perform that action at this time.
0 commit comments