Author

Topic: Luckyb.it bets *BOT* - Curl + Blockchain API (Read 4715 times)

legendary
Activity: 3346
Merit: 3125
October 19, 2014, 08:25:08 PM
#21
I have try but error

The code has been made for run in a shell... it must work with linux and Mac, please let me know what error you got to fix it.
full member
Activity: 154
Merit: 100
I have try but error
legendary
Activity: 3346
Merit: 3125
The user "Deliverance" on luckybit, report me a problem with the yellow martingale.

I change all the;

Code:
cat tx.txt | cut -d " " -f5 | cut -c48- | sed -e 's/"}//g'

For

Code:
cat tx.txt | cut -d " " -f1 | cut -c13-76

And that fix the problem.

Is nice to know people are trying these codes,  if some one make a update for the codes, please let me know.
legendary
Activity: 3346
Merit: 3125
Nice script anyway, well done!

People was thinking make a bot like this was hard because its a onchain system... I have shown how this is posible with Blockchain API.

The problem of this bot is the code, it work realy nice in bash script for linux, but i need to migrate the code from bash to python or hava, some windows/linux compatible code.

I will work on that next time i have some free time.
hero member
Activity: 706
Merit: 519
Official LuckyBit Support
i dont see how you can make a large profit with this on luckybit, and those transaction fees will add up but if u think it will make you a profit then go ahead and how does this bot run?

Transaction fees impact are relative to your bets amounts. If you play large bets, fees are negligible. We do not recommend playing small bets like 0.001 BTC, with or without martingale, except on red. (We leave such small amounts available only for people to try out the game cheaply the first few times  - again, except on red where it might makes sense to play this).

Nice script anyway, well done!
legendary
Activity: 3346
Merit: 3125
i dont see how you can make a large profit with this on luckybit, and those transaction fees will add up but if u think it will make you a profit then go ahead and how does this bot run?

1 MrBot rolling on luckybit:
 
Code:
#!/bin/bash
#Guid
gu="baxxx-xxx6-xxxxx-xxxf-14xxxxxxxx"
#Blockchain password
pas="MYPASSWORD"
echo "Good luck in your bets"
for a in $(seq 1 100)
do
curl "https://blockchain.info/es/merchant/$gu/payment?password=$pas&to=1LuckyG4tMMZf64j6ea7JhCz7sDpk6vdcS&amount=250000"
echo ""
echo "Green sent" && date
sleep 300
curl "https://blockchain.info/es/merchant/$gu/payment?password=$pas&to=1LuckyY9fRzcJre7aou7ZhWVXktxjjBb9S&amount=150000"
echo ""
echo "Yellow sent" && date
sleep 300
curl "https://blockchain.info/es/merchant/$gu/payment?password=$pas&to=1LuckyR1fFHEsXYyx5QK4UFzv3PEAepPMK&amount=100000"
echo ""
echo "Red sent" && date
sleep 300
done



http://luckyb.it/browse?search=1MrBoT2Ng9EZsingTFVfkjJvKDTh2zys9n


Source: https://bitcointalksearch.org/topic/luckybit-bets-bot-curl-blockchain-api-806051
member
Activity: 70
Merit: 10
★Bitin.io★ - Instant Exchange
i dont see how you can make a large profit with this on luckybit, and those transaction fees will add up but if u think it will make you a profit then go ahead and how does this bot run?
legendary
Activity: 1008
Merit: 1001
Out of crypto entirely and don't miss it
Pssst.. you might be interested in this.
legendary
Activity: 3346
Merit: 3125
LUCKYB.IT BET BOT V3 (My yellow martingale)

*Linux bash / Blockchain API / Luckyb.it API
*Single bet
*Increase 0.0001 after lost
*when get x3 or better, it return tu base bet (0.001)

Code:

Code:
#!/bin/bash
echo "**********************************"
echo "******BtcBoss Luckyb.it bot*******"
echo "**********************************"
echo "1BtcBoSSnqe8mFJCUEyCNmo3EcF8Yzhpnc"
echo "**********************************"
#Guid
gu="xxxxxx-xxxxx-xxxx-xxxx-xxxxxxx"
#Blockchain password
pas="xxxxxxxxxxx"
BTCy="100000"
y="0"
while true
do
a=$(curl "https://blockchain.info/es/merchant/$gu/payment?password=$pas&to=1LuckyY9fRzcJre7aou7ZhWVXktxjjBb9S&amount=$BTCy");
echo $a > tx.txt
sleep 60
b="0"
b=$(curl http://luckyb.it/api/getbetsbytxid/$(cat tx.txt | cut -d " " -f5 | cut -c48- | sed -e 's/"}//g') | grep "multiplier" | cut -d " " -f6 | sed -e "s/,//g");
while [ -z $b ]
do
b=$(curl http://luckyb.it/api/getbetsbytxid/$(cat tx.txt | cut -d " " -f5 | cut -c48- | sed -e 's/"}//g') | grep "multiplier" | cut -d " " -f6 | sed -e "s/,//g");
curl http://luckyb.it/api/getbetsbytxid/$(cat tx.txt | cut -d " " -f5 | cut -c48- | sed -e 's/"}//g');
sleep 5
done
if [ "$b" = "0.3" ]
then
let "BTCy = $BTCy + 10000"
curl http://luckyb.it/api/getbetsbytxid/$(cat tx.txt | cut -d " " -f5 | cut -c48- | sed -e 's/"}//g');
sleep 60
echo $a > tx.txt
elif [ "$b" = "0.5" ]
then
let "BTCy = $BTCy + 10000"
curl http://luckyb.it/api/getbetsbytxid/$(cat tx.txt | cut -d " " -f5 | cut -c48- | sed -e 's/"}//g');
sleep 60
echo $a > tx.txt
elif [ "$b" = "1" ]
then
let "BTCy = $BTCy + 10000"
curl http://luckyb.it/api/getbetsbytxid/$(cat tx.txt | cut -d " " -f5 | cut -c48- | sed -e 's/"}//g');
sleep 60
echo $a > tx.txt
elif [ "$b" = "1.4" ]
then
let "BTCy = $BTCy + 10000"
curl http://luckyb.it/api/getbetsbytxid/$(cat tx.txt | cut -d " " -f5 | cut -c48- | sed -e 's/"}//g');
sleep 60
echo $a > tx.txt
elif [ "$b" = "3" ]
then
echo "************"
echo "YOU WIN x3"
echo "************"
echo ""
curl http://luckyb.it/api/getbetsbytxid/$(cat tx.txt | cut -d " " -f5 | cut -c48- | sed -e 's/"}//g');sleep 60
BTCy="100000"
elif [ "$b" = "5" ]
then
echo "************"
echo "YOU WIN x5"
echo "************"
echo ""
curl http://luckyb.it/api/getbetsbytxid/$(cat tx.txt | cut -d " " -f5 | cut -c48- | sed -e 's/"}//g');sleep 60
BTCy="100000"
elif [ "$b" = "12" ]
then
echo "************"
echo "YOU WIN x12"
echo "************"
echo ""
curl http://luckyb.it/api/getbetsbytxid/$(cat tx.txt | cut -d " " -f5 | cut -c48- | sed -e 's/"}//g');sleep 60
BTCy="100000"
elif [ "$b" = "38" ]
then
echo "************"
echo "YOU WIN x38"
echo "************"
echo ""
curl http://luckyb.it/api/getbetsbytxid/$(cat tx.txt | cut -d " " -f5 | cut -c48- | sed -e 's/"}//g');sleep 60
BTCy="100000"
elif [ "$b" = "111" ]
then
echo "************"
echo "YOU WIN x111"
echo "************"
echo ""
curl http://luckyb.it/api/getbetsbytxid/$(cat tx.txt | cut -d " " -f5 | cut -c48- | sed -e 's/"}//g');sleep 60
BTCy="100000"
else
echo "Waiting Transaction..."
fi
done


Output:

Code:
[windows@localhost ~]$ sh lucky.sh
**********************************
******BtcBoss Luckyb.it bot*******
**********************************
1BtcBoSSnqe8mFJCUEyCNmo3EcF8Yzhpnc
**********************************
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
143   143  143   143    0     0     77      0  0:00:01  0:00:01 --:--:--   174
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
102   616  102   616    0     0   1186      0 --:--:-- --:--:-- --:--:--  1638
{
  "dd2d7b325650c03ed2831a87a320aead1a978672e7221c47f26a253df4360b84:0": {
    "bet_amount": 0.001,
    "binary_string": "1100110010001100",
    "created_at": "2014-10-03 00:19:17",
    "game_address": "1LuckyY9fRzcJre7aou7ZhWVXktxjjBb9S",
    "game_name": "yellow",
    "multiplier_obtained": 0.5,
    "payout_amount": 0.0005,
    "player_address": "1Bot4vHX7hNhVd5TJaaGtqBEywMY9x4Kkk",
    "txin_id": "dd2d7b325650c03ed2831a87a320aead1a978672e7221c47f26a253df4360b84",
    "txin_vout": 0,
    "txout_id": "6dd3c3b6b950980288ba73b7bc997003c954a94107392f1225185ca863edf063",
    "type": "VALID_BET"
  }
}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
144   144  144   144    0     0    115      0  0:00:01  0:00:01 --:--:--   272
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
103   618  103   618    0     0   1195      0 --:--:-- --:--:-- --:--:--  1639
{
  "5d76234ac480be8b8b42d36773edc6a197b4d59fce6c8b91112569374e33a52d:0": {
    "bet_amount": 0.0011,
    "binary_string": "1001011100101100",
    "created_at": "2014-10-03 00:21:07",
    "game_address": "1LuckyY9fRzcJre7aou7ZhWVXktxjjBb9S",
    "game_name": "yellow",
    "multiplier_obtained": 0.3,
    "payout_amount": 0.00033,
    "player_address": "1Bot4vHX7hNhVd5TJaaGtqBEywMY9x4Kkk",
    "txin_id": "5d76234ac480be8b8b42d36773edc6a197b4d59fce6c8b91112569374e33a52d",
    "txin_vout": 0,
    "txout_id": "064cf374c7d9dc263d3ee9697deefcf313064c9bff109c1a1b0038dbf7539c85",
    "type": "VALID_BET"
  }
}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
144   144  144   144    0     0     93      0  0:00:01  0:00:01 --:--:--   249
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
102   615  102   615    0     0    614      0  0:00:01  0:00:01 --:--:--   831
************
YOU WIN x3
************

{
  "b17ce7289254265b0c3b455a0ba830eabba341c6d83622236ffcae81c26203b6:0": {
    "bet_amount": 0.0012,
    "binary_string": "0100000000110010",
    "created_at": "2014-10-03 00:23:10",
    "game_address": "1LuckyY9fRzcJre7aou7ZhWVXktxjjBb9S",
    "game_name": "yellow",
    "multiplier_obtained": 3,
    "payout_amount": 0.0036,
    "player_address": "1Bot4vHX7hNhVd5TJaaGtqBEywMY9x4Kkk",
    "txin_id": "b17ce7289254265b0c3b455a0ba830eabba341c6d83622236ffcae81c26203b6",
    "txin_vout": 0,
    "txout_id": "c6e6bc9106209c092bcfefb928e9326b00393646b1158869d9a883d7826a2606",
    "type": "VALID_BET"
  }
}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
143   143  143   143    0     0    104      0  0:00:01  0:00:01 --:--:--   229
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
110   551  110   551    0     0    943      0 --:--:-- --:--:-- --:--:--  1290
************
YOU WIN x3
************

{
  "8106a4ddebc2beac1e51d1c887675b061c5b690c93da7a95c87733af5b307c3a:0": {
    "bet_amount": 0.001,
    "binary_string": "1111011101111001",
    "created_at": "2014-10-03 00:25:15",
    "game_address": "1LuckyY9fRzcJre7aou7ZhWVXktxjjBb9S",
    "game_name": "yellow",
    "multiplier_obtained": 3,
    "payout_amount": 0.003,
    "player_address": "1Bot4vHX7hNhVd5TJaaGtqBEywMY9x4Kkk",
    "txin_id": "8106a4ddebc2beac1e51d1c887675b061c5b690c93da7a95c87733af5b307c3a",
    "txin_vout": 0,
    "txout_id": "-1",
    "type": "VALID_BET"
  }
}

legendary
Activity: 3346
Merit: 3125
Code:
[windows@localhost ~]$

Wait... your username is 'windows'?

And my user name on windows is root, lol.

I'm integrating the Luckybit API to the bot, its almost done
legendary
Activity: 1008
Merit: 1001
Out of crypto entirely and don't miss it
Code:
[windows@localhost ~]$

Wait... your username is 'windows'?
legendary
Activity: 3346
Merit: 3125

Hey guys,

awesome work you are doing here! We have re-enabled our API for you - as there is now some use for it!  Wink

The API's documentation can be found here: http://luckybit-api-docs.readthedocs.org/

By checking results, you can now implement a real martingale or a similar bot!

Let us know what you think!

The LuckyBit team

Great API, with that i can make bets with my bot and validate each bet form the TX id:

Code:
[windows@localhost ~]$ aaa=$(curl "https://blockchain.info/es/merchant/xxxxxxx-xxxxx-xxxx-xxxxxxxxx/payment?password=xxxxxxxxx&to=1LuckyR1fFHEsXYyx5QK4UFzv3PEAepPMK&amount=100000")
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
143   143  143   143    0     0    110      0  0:00:01  0:00:01 --:--:--   248
[windows@localhost ~]$ echo $aaa
{"message":"Sent 0.001 BTC to 1LuckyR1fFHEsXYyx5QK4UFzv3PEAepPMK","tx_hash":"30409716d2b2c5d0e7c0ef030aac86249f2e6ce2e1452e41e7c848efb4b82d02"}
[windows@localhost ~]$ echo $aaa > tx.txt
[windows@localhost ~]$ cat tx.txt | cut -d " " -f5
1LuckyR1fFHEsXYyx5QK4UFzv3PEAepPMK","tx_hash":"30409716d2b2c5d0e7c0ef030aac86249f2e6ce2e1452e41e7c848efb4b82d02"}
[windows@localhost ~]$ cat tx.txt | cut -d " " -f5 | cut -c48-
30409716d2b2c5d0e7c0ef030aac86249f2e6ce2e1452e41e7c848efb4b82d02"}
[windows@localhost ~]$ cat tx.txt | cut -d " " -f5 | cut -c48- | sed -e 's/"}//g'
30409716d2b2c5d0e7c0ef030aac86249f2e6ce2e1452e41e7c848efb4b82d02
[windows@localhost ~]$ curl http://luckyb.it/api/getbetsbytxid/$(cat tx.txt | cut -d " " -f5 | cut -c48- | sed -e 's/"}//g')
{
  "30409716d2b2c5d0e7c0ef030aac86249f2e6ce2e1452e41e7c848efb4b82d02:0": {
    "bet_amount": 0.001,
    "binary_string": "0100101011110111",
    "created_at": "2014-10-02 19:20:37",
    "game_address": "1LuckyR1fFHEsXYyx5QK4UFzv3PEAepPMK",
    "game_name": "red",
    "multiplier_obtained": 0.2,
    "payout_amount": 0.0002,
    "player_address": "1Bot4vHX7hNhVd5TJaaGtqBEywMY9x4Kkk",
    "txin_id": "30409716d2b2c5d0e7c0ef030aac86249f2e6ce2e1452e41e7c848efb4b82d02",
    "txin_vout": 0,
    "txout_id": "64790e1bf438583a736c66638d51ede784ec67b89e456af041b5d1cd84139cc5",
    "type": "VALID_BET"
  }
}[windows@localhost ~]$

In one Command line:

Code:
a=$(curl "https://blockchain.info/es/merchant/xxxxxxx-xxxxx-xxxx-xxxxxxxxx/payment?password=xxxxxxxxx&to=1LuckyG4tMMZf64j6ea7JhCz7sDpk6vdcS&amount=100000"); echo $a > tx.txt; sleep 30; curl http://luckyb.it/api/getbetsbytxid/$(cat tx.txt | cut -d " " -f5 | cut -c48- | sed -e 's/"}//g')

Output:

Code:
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
143   143  143   143    0     0    117      0  0:00:01  0:00:01 --:--:--   263
{
  "5435c9303ddd2b7777d3860e76084ee32d672b22b43a11848f486deb3b88adf5:0": {
    "bet_amount": 0.001,
    "binary_string": "1101010110001100",
    "created_at": "2014-10-02 19:47:38",
    "game_address": "1LuckyG4tMMZf64j6ea7JhCz7sDpk6vdcS",
    "game_name": "green",
    "multiplier_obtained": 0.4,
    "payout_amount": 0.0004,
    "player_address": "1Bot4vHX7hNhVd5TJaaGtqBEywMY9x4Kkk",
    "txin_id": "5435c9303ddd2b7777d3860e76084ee32d672b22b43a11848f486deb3b88adf5",
    "txin_vout": 0,
    "txout_id": "-1",
    "type": "VALID_BET"
  }
}
hero member
Activity: 706
Merit: 519
Official LuckyBit Support

Hey guys,

awesome work you are doing here! We have re-enabled our API for you - as there is now some use for it!  Wink

The API's documentation can be found here: http://luckybit-api-docs.readthedocs.org/

By checking results, you can now implement a real martingale or a similar bot!

Let us know what you think!

The LuckyBit team
legendary
Activity: 3346
Merit: 3125
I still searching the way to make multi bet to the same color in one transaction.

I got the next problem:

https://github.com/blockchain/My-Wallet/issues/37

If i use:


Quote
curl "https://blockchain.info/merchant/$gu/sendmany?password=$pas&recipients=%7B%22$yellow%22%3A$BTCg%2C%22$yellow%22%3A$BTCy%2C%22$yellow%22%3A$BTCr%7D&shared=false&fee=10000"


It only send 1 yellow... Hope to find the way to fix it. The idea its only pay 1 fee for 3 yellow bets.
legendary
Activity: 1008
Merit: 1001
Out of crypto entirely and don't miss it
Pretty cool, but try to work on a method to check the result of the bet. Try using simple HTML DOM to grab data from their bet browse page.

Actually, Lucky Bit has an independent API that could be used for this - however it is currently offline. You could also just check the blockchain for the results - Lucky Bit always spends the coin it receives as a bet to pay the player, so you can always identify the result TX because it spends the bet TX.
hero member
Activity: 588
Merit: 500
Get ready for PrimeDice Sig Campaign!
Pretty cool, but try to work on a method to check the result of the bet. Try using simple HTML DOM to grab data from their bet browse page.
legendary
Activity: 1008
Merit: 1001
Out of crypto entirely and don't miss it
Warning: untested code, may be flawed

For betting with just one color:

Code:
#!/bin/bash
#Guid
gu="xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx"
#Blockchain password
pas="xxxxxxxxxx"
red="1LuckyR1fFHEsXYyx5QK4UFzv3PEAepPMK"
BTCr="100000"
for a in $(seq 1 100)
do
echo ""
curl "https://blockchain.info/merchant/$gu/sendmany?password=$pas&recipients=%7B$red%3A$BTCr%2C$red%3A$BTCr%2C$red%3A$BTCr%7D"
echo ""
sleep 300
done

Should bet 3x 1mBTC on red.... right? (Also removed useless fluff such as spaces and extra fields)

More generic:

Code:
json="%7B"
json="$json$red%3A$BTCr%2C"
json="$json$red%3A$BTCr%2C"
json="$json$red%3A$BTCr%7D"
curl "https://blockchain.info/merchant/$gu/sendmany?password=$pas&recipients=$json"
legendary
Activity: 3346
Merit: 3125
Luckyb.it bets BOT 2.0

Update:
*3 bets in the same transaction

Code:
#!/bin/bash
#Guid
gu="xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx"
#Blockchain password
pas="xxxxxxxxxx"
green="1LuckyG4tMMZf64j6ea7JhCz7sDpk6vdcS"
yellow="1LuckyY9fRzcJre7aou7ZhWVXktxjjBb9S"
red="1LuckyR1fFHEsXYyx5QK4UFzv3PEAepPMK"
BTCg="250000"
BTCy="150000"
BTCr="100000"
for a in $(seq 1 100)
do
echo ""
curl "https://blockchain.info/merchant/$gu/sendmany?password=$pas&recipients=%7B%22$green%22%3A$BTCg%2C%22$yellow%22%3A$BTCy%2C%22$red%22%3A$BTCr%7D&shared=false&fee=10000"
echo ""
sleep 300
done




With this bet way we only pay one fee (0.0001) for 3 bets, 1 green, 1 yellow and 1 red.


hero member
Activity: 706
Merit: 519
Official LuckyBit Support
Nice one! Cheesy
BRE
legendary
Activity: 1218
Merit: 1014
Lucky.lat | Marketing Solutions & Implementations
well done , good job !
i believe this will help bettor for long run bets in luckyb.it  Cool

legendary
Activity: 3346
Merit: 3125
Today i wake up with 1crazy idea on the head... i will make the first Lbuckyb.it bets bot. And now i found the way to do it.

The bot its based on "curl" and "Blockchain API". and it work from Bash Linux.

It make 1 bet every 5 minutes (sleep 300), and make first 1 green (0.0025 btc), then 1 yellow (0.0015 btc) and then 1 red (0.001 btc)... and this becomes a cycle.

Code:
#!/bin/bash
#Guid
gu="baxxx-xxx6-xxxxx-xxxf-14xxxxxxxx"
#Blockchain password
pas="MYPASSWORD"
echo "Good luck in your bets"
for a in $(seq 1 100)
do
curl "https://blockchain.info/es/merchant/$gu/payment?password=$pas&to=1LuckyG4tMMZf64j6ea7JhCz7sDpk6vdcS&amount=250000"
echo ""
echo "Green sent" && date
sleep 300
curl "https://blockchain.info/es/merchant/$gu/payment?password=$pas&to=1LuckyY9fRzcJre7aou7ZhWVXktxjjBb9S&amount=150000"
echo ""
echo "Yellow sent" && date
sleep 300
curl "https://blockchain.info/es/merchant/$gu/payment?password=$pas&to=1LuckyR1fFHEsXYyx5QK4UFzv3PEAepPMK&amount=100000"
echo ""
echo "Red sent" && date
sleep 300
done


http://s29.postimg.org/56ivng5lz/botlucky.png

This is the beta version, hope to end soon a pro version with some nice bet methods. Feel free to make some contributions to the code.

UPDATE 1:

Luckyb.it bets BOT 2.0

Update:
*3 bets in the same transaction

Code:
#!/bin/bash
#Guid
gu="xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx"
#Blockchain password
pas="xxxxxxxxxx"
green="1LuckyG4tMMZf64j6ea7JhCz7sDpk6vdcS"
yellow="1LuckyY9fRzcJre7aou7ZhWVXktxjjBb9S"
red="1LuckyR1fFHEsXYyx5QK4UFzv3PEAepPMK"
BTCg="250000"
BTCy="150000"
BTCr="100000"
for a in $(seq 1 100)
do
echo ""
curl "https://blockchain.info/merchant/$gu/sendmany?password=$pas&recipients=%7B%22$green%22%3A$BTCg%2C%22$yellow%22%3A$BTCy%2C%22$red%22%3A$BTCr%7D&shared=false&fee=10000"
echo ""
sleep 300
done




With this bet way we only pay one fee (0.0001) for 3 bets, 1 green, 1 yellow and 1 red.

https://bitcointalksearch.org/topic/m.9054721

UPDATE 2:

LUCKYB.IT BET BOT V3 (My yellow martingale)

*Linux bash / Blockchain API / Luckyb.it API
*Single bet
*Increase 0.0001 after lost
*when get x3 or better, it return tu base bet (0.001)

Code:

Code:
#!/bin/bash
echo "**********************************"
echo "******BtcBoss Luckyb.it bot*******"
echo "**********************************"
echo "1BtcBoSSnqe8mFJCUEyCNmo3EcF8Yzhpnc"
echo "**********************************"
#Guid
gu="xxxxxx-xxxxx-xxxx-xxxx-xxxxxxx"
#Blockchain password
pas="xxxxxxxxxxx"
BTCy="100000"
y="0"
while true
do
a=$(curl "https://blockchain.info/es/merchant/$gu/payment?password=$pas&to=1LuckyY9fRzcJre7aou7ZhWVXktxjjBb9S&amount=$BTCy");
echo $a > tx.txt
sleep 60
b="0"
b=$(curl http://luckyb.it/api/getbetsbytxid/$(cat tx.txt | cut -d " " -f1 | cut -c13-76) | grep "multiplier" | cut -d " " -f6 | sed -e "s/,//g");
while [ -z $b ]
do
b=$(curl http://luckyb.it/api/getbetsbytxid/$(cat tx.txt | cut -d " " -f1 | cut -c13-76) | grep "multiplier" | cut -d " " -f6 | sed -e "s/,//g");
curl http://luckyb.it/api/getbetsbytxid/$(cat tx.txt | cut -d " " -f1 | cut -c13-76);
sleep 5
done
if [ "$b" = "0.3" ]
then
let "BTCy = $BTCy + 10000"
curl http://luckyb.it/api/getbetsbytxid/$(cat tx.txt | cut -d " " -f1 | cut -c13-76);
sleep 60
echo $a > tx.txt
elif [ "$b" = "0.5" ]
then
let "BTCy = $BTCy + 10000"
curl http://luckyb.it/api/getbetsbytxid/$(cat tx.txt | cut -d " " -f1 | cut -c13-76);
sleep 60
echo $a > tx.txt
elif [ "$b" = "1" ]
then
let "BTCy = $BTCy + 10000"
curl http://luckyb.it/api/getbetsbytxid/$(cat tx.txt | cut -d " " -f1 | cut -c13-76);
sleep 60
echo $a > tx.txt
elif [ "$b" = "1.4" ]
then
let "BTCy = $BTCy + 10000"
curl http://luckyb.it/api/getbetsbytxid/$(cat tx.txt | cut -d " " -f1 | cut -c13-76);
sleep 60
echo $a > tx.txt
elif [ "$b" = "3" ]
then
echo "************"
echo "YOU WIN x3"
echo "************"
echo ""
curl http://luckyb.it/api/getbetsbytxid/$(cat tx.txt | cut -d " " -f1 | cut -c13-76);sleep 60
BTCy="100000"
elif [ "$b" = "5" ]
then
echo "************"
echo "YOU WIN x5"
echo "************"
echo ""
curl http://luckyb.it/api/getbetsbytxid/$(cat tx.txt | cut -d " " -f1 | cut -c13-76);sleep 60
BTCy="100000"
elif [ "$b" = "12" ]
then
echo "************"
echo "YOU WIN x12"
echo "************"
echo ""
curl http://luckyb.it/api/getbetsbytxid/$(cat tx.txt | cut -d " " -f1 | cut -c13-76);sleep 60
BTCy="100000"
elif [ "$b" = "38" ]
then
echo "************"
echo "YOU WIN x38"
echo "************"
echo ""
curl http://luckyb.it/api/getbetsbytxid/$(cat tx.txt | cut -d " " -f1 | cut -c13-76);sleep 60
BTCy="100000"
elif [ "$b" = "111" ]
then
echo "************"
echo "YOU WIN x111"
echo "************"
echo ""
curl http://luckyb.it/api/getbetsbytxid/$(cat tx.txt | cut -d " " -f1 | cut -c13-76);sleep 60
BTCy="100000"
else
echo "Waiting Transaction..."
fi
done


Output:

Code:
[windows@localhost ~]$ sh lucky.sh
**********************************
******BtcBoss Luckyb.it bot*******
**********************************
1BtcBoSSnqe8mFJCUEyCNmo3EcF8Yzhpnc
**********************************
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
143   143  143   143    0     0     77      0  0:00:01  0:00:01 --:--:--   174
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
102   616  102   616    0     0   1186      0 --:--:-- --:--:-- --:--:--  1638
{
  "dd2d7b325650c03ed2831a87a320aead1a978672e7221c47f26a253df4360b84:0": {
    "bet_amount": 0.001,
    "binary_string": "1100110010001100",
    "created_at": "2014-10-03 00:19:17",
    "game_address": "1LuckyY9fRzcJre7aou7ZhWVXktxjjBb9S",
    "game_name": "yellow",
    "multiplier_obtained": 0.5,
    "payout_amount": 0.0005,
    "player_address": "1Bot4vHX7hNhVd5TJaaGtqBEywMY9x4Kkk",
    "txin_id": "dd2d7b325650c03ed2831a87a320aead1a978672e7221c47f26a253df4360b84",
    "txin_vout": 0,
    "txout_id": "6dd3c3b6b950980288ba73b7bc997003c954a94107392f1225185ca863edf063",
    "type": "VALID_BET"
  }
}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
144   144  144   144    0     0    115      0  0:00:01  0:00:01 --:--:--   272
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
103   618  103   618    0     0   1195      0 --:--:-- --:--:-- --:--:--  1639
{
  "5d76234ac480be8b8b42d36773edc6a197b4d59fce6c8b91112569374e33a52d:0": {
    "bet_amount": 0.0011,
    "binary_string": "1001011100101100",
    "created_at": "2014-10-03 00:21:07",
    "game_address": "1LuckyY9fRzcJre7aou7ZhWVXktxjjBb9S",
    "game_name": "yellow",
    "multiplier_obtained": 0.3,
    "payout_amount": 0.00033,
    "player_address": "1Bot4vHX7hNhVd5TJaaGtqBEywMY9x4Kkk",
    "txin_id": "5d76234ac480be8b8b42d36773edc6a197b4d59fce6c8b91112569374e33a52d",
    "txin_vout": 0,
    "txout_id": "064cf374c7d9dc263d3ee9697deefcf313064c9bff109c1a1b0038dbf7539c85",
    "type": "VALID_BET"
  }
}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
144   144  144   144    0     0     93      0  0:00:01  0:00:01 --:--:--   249
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
102   615  102   615    0     0    614      0  0:00:01  0:00:01 --:--:--   831
************
YOU WIN x3
************

{
  "b17ce7289254265b0c3b455a0ba830eabba341c6d83622236ffcae81c26203b6:0": {
    "bet_amount": 0.0012,
    "binary_string": "0100000000110010",
    "created_at": "2014-10-03 00:23:10",
    "game_address": "1LuckyY9fRzcJre7aou7ZhWVXktxjjBb9S",
    "game_name": "yellow",
    "multiplier_obtained": 3,
    "payout_amount": 0.0036,
    "player_address": "1Bot4vHX7hNhVd5TJaaGtqBEywMY9x4Kkk",
    "txin_id": "b17ce7289254265b0c3b455a0ba830eabba341c6d83622236ffcae81c26203b6",
    "txin_vout": 0,
    "txout_id": "c6e6bc9106209c092bcfefb928e9326b00393646b1158869d9a883d7826a2606",
    "type": "VALID_BET"
  }
}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
143   143  143   143    0     0    104      0  0:00:01  0:00:01 --:--:--   229
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
110   551  110   551    0     0    943      0 --:--:-- --:--:-- --:--:--  1290
************
YOU WIN x3
************

{
  "8106a4ddebc2beac1e51d1c887675b061c5b690c93da7a95c87733af5b307c3a:0": {
    "bet_amount": 0.001,
    "binary_string": "1111011101111001",
    "created_at": "2014-10-03 00:25:15",
    "game_address": "1LuckyY9fRzcJre7aou7ZhWVXktxjjBb9S",
    "game_name": "yellow",
    "multiplier_obtained": 3,
    "payout_amount": 0.003,
    "player_address": "1Bot4vHX7hNhVd5TJaaGtqBEywMY9x4Kkk",
    "txin_id": "8106a4ddebc2beac1e51d1c887675b061c5b690c93da7a95c87733af5b307c3a",
    "txin_vout": 0,
    "txout_id": "-1",
    "type": "VALID_BET"
  }
}


https://bitcointalksearch.org/topic/m.9060423

If you like this code feel free to tip some btc: 1BtcBoSSnqe8mFJCUEyCNmo3EcF8Yzhpnc
Jump to: