mirror of
https://github.com/openoms/bitcoin-tutorials.git
synced 2025-12-19 21:04:20 +01:00
nokyc create nokycconfig.ini
This commit is contained in:
@@ -4,7 +4,6 @@ Using:
|
|||||||
* https://github.com/j4imefoo/nokyc
|
* https://github.com/j4imefoo/nokyc
|
||||||
* https://github.com/tmuxinator/tmuxinator
|
* https://github.com/tmuxinator/tmuxinator
|
||||||
|
|
||||||
|
|
||||||
## Install
|
## Install
|
||||||
```
|
```
|
||||||
sudo apt-get install tmux git rubygems -y
|
sudo apt-get install tmux git rubygems -y
|
||||||
@@ -14,14 +13,14 @@ git clone https://github.com/j4imefoo/nokyc
|
|||||||
cd nokyc
|
cd nokyc
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
|
|
||||||
|
# create nokycconfig.ini
|
||||||
|
cat << EOF > nokyc/nokycconfig.ini
|
||||||
[DEFAULT]
|
[DEFAULT]
|
||||||
# Local port where tor is running. 9050 for tor daemon, 9150 for tor browser
|
# Local port where tor is running. 9050 for tor daemon, 9150 for tor browser
|
||||||
TOR_PORT = 9050
|
TOR_PORT = 9050
|
||||||
|
|
||||||
# Payment methods to avoid. In lower case.
|
# Payment methods to avoid. In lower case.
|
||||||
avoid_methods = ["ripple", "litecoin", "ethereum", "satispay", "f2f", "paypal", "cardano", "hal-cash", "sepa_instant", "binance smart chain (bsc)", "amazon fr giftcard"]
|
avoid_methods = ["ripple", "litecoin", "ethereum", "cardano", "binance smart chain (bsc)", "amazon fr giftcard"]
|
||||||
|
EOF
|
||||||
|
|
||||||
# install https://github.com/tmuxinator/tmuxinator
|
# install https://github.com/tmuxinator/tmuxinator
|
||||||
sudo gem install tmuxinator
|
sudo gem install tmuxinator
|
||||||
@@ -29,7 +28,7 @@ sudo wget https://raw.githubusercontent.com/tmuxinator/tmuxinator/master/complet
|
|||||||
echo "export EDITOR=$(which nano)" >> ~/.bashrc
|
echo "export EDITOR=$(which nano)" >> ~/.bashrc
|
||||||
|
|
||||||
# tmuxinator config
|
# tmuxinator config
|
||||||
echo "\
|
cat << EOF > ~/.config/tmuxinator/nokyceur.yml
|
||||||
name: nokyc
|
name: nokyc
|
||||||
root: ~/nokyc/
|
root: ~/nokyc/
|
||||||
|
|
||||||
@@ -37,13 +36,13 @@ windows:
|
|||||||
- nokyc:
|
- nokyc:
|
||||||
layout: even-vertical
|
layout: even-vertical
|
||||||
panes:
|
panes:
|
||||||
- buyeur:
|
- selleur:
|
||||||
- while ./nokyc.py -f eur -t buy -d 5; do sleep 600; done
|
- while ./nokyc.py -f eur -t sell -d 5; do sleep 600; done
|
||||||
- buygbp:
|
|
||||||
- while ./nokyc.py -f gbp -t buy -d 5; do sleep 600; done
|
|
||||||
- sellgbp:
|
- sellgbp:
|
||||||
- while ./nokyc.py -f gbp -t sell -d 5; do sleep 600; done
|
- while ./nokyc.py -f gbp -t sell -d 5; do sleep 600; done
|
||||||
" | tee ~/.config/tmuxinator/nokyc.yml
|
- buyeur:
|
||||||
|
- while ./nokyc.py -f eur -t buy -d 5; do sleep 600; done
|
||||||
|
EOF
|
||||||
```
|
```
|
||||||
|
|
||||||
## Start
|
## Start
|
||||||
|
|||||||
Reference in New Issue
Block a user