From 1f73105f0cd81ca9982715eb484ff150ac8f13fb Mon Sep 17 00:00:00 2001 From: openoms Date: Fri, 22 Jul 2022 13:35:12 +0100 Subject: [PATCH] nokyc create nokycconfig.ini --- nokyc/README.md | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/nokyc/README.md b/nokyc/README.md index c3a08fd..e545004 100644 --- a/nokyc/README.md +++ b/nokyc/README.md @@ -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