mirror of
https://github.com/openoms/bitcoin-tutorials.git
synced 2025-12-19 04:54:18 +01:00
nokyc create nokycconfig.ini
This commit is contained in:
@@ -4,7 +4,6 @@ Using:
|
||||
* https://github.com/j4imefoo/nokyc
|
||||
* https://github.com/tmuxinator/tmuxinator
|
||||
|
||||
|
||||
## Install
|
||||
```
|
||||
sudo apt-get install tmux git rubygems -y
|
||||
@@ -14,14 +13,14 @@ git clone https://github.com/j4imefoo/nokyc
|
||||
cd nokyc
|
||||
pip install -r requirements.txt
|
||||
|
||||
|
||||
# create nokycconfig.ini
|
||||
cat << EOF > nokyc/nokycconfig.ini
|
||||
[DEFAULT]
|
||||
# Local port where tor is running. 9050 for tor daemon, 9150 for tor browser
|
||||
TOR_PORT = 9050
|
||||
|
||||
# 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
|
||||
sudo gem install tmuxinator
|
||||
@@ -29,7 +28,7 @@ sudo wget https://raw.githubusercontent.com/tmuxinator/tmuxinator/master/complet
|
||||
echo "export EDITOR=$(which nano)" >> ~/.bashrc
|
||||
|
||||
# tmuxinator config
|
||||
echo "\
|
||||
cat << EOF > ~/.config/tmuxinator/nokyceur.yml
|
||||
name: nokyc
|
||||
root: ~/nokyc/
|
||||
|
||||
@@ -37,13 +36,13 @@ windows:
|
||||
- nokyc:
|
||||
layout: even-vertical
|
||||
panes:
|
||||
- buyeur:
|
||||
- while ./nokyc.py -f eur -t buy -d 5; do sleep 600; done
|
||||
- buygbp:
|
||||
- while ./nokyc.py -f gbp -t buy -d 5; do sleep 600; done
|
||||
- selleur:
|
||||
- while ./nokyc.py -f eur -t sell -d 5; do sleep 600; done
|
||||
- sellgbp:
|
||||
- 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
|
||||
|
||||
Reference in New Issue
Block a user