Bitcoin Forum
November 03, 2024, 07:45:20 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: Luckyb.it bets *BOT* - Curl + Blockchain API  (Read 4707 times)
seoincorporation (OP)
Legendary
*
Offline Offline

Activity: 3332
Merit: 3115



View Profile
October 01, 2014, 04:31:36 PM
Last edit: October 18, 2014, 08:13:15 PM by seoincorporation
 #1

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://bitcointalk.org/index.php?topic=806051.msg9054721#msg9054721

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://bitcointalk.org/index.php?topic=806051.msg9060423#msg9060423

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

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
BRE
Legendary
*
Offline Offline

Activity: 1218
Merit: 1014


Lucky.lat | Marketing Solutions & Implementations


View Profile WWW
October 01, 2014, 05:05:09 PM
 #2

well done , good job !
i believe this will help bettor for long run bets in luckyb.it  Cool


Lucky.lat | Marketing Solutions & Implementations

https://lucky.lat/

Contact Us!
sales@lucky.lat
LuckyBitSupport
Hero Member
*****
Offline Offline

Activity: 706
Merit: 519


Official LuckyBit Support


View Profile WWW
October 02, 2014, 06:56:00 AM
 #3

Nice one! Cheesy

                         ▄▄▄▄▄▄
             ▄▄█████▄▄███████████▄▄
     ▄▄    ▄████▀▀█████▀▀▀  ▄███████▄
  ▄█████  ████    ███▀     ███▀▀▀████▌
 ▐██▀    ████    ▐██▀  ▄  ▐███    ███▌
 ▐██▄   █████  ▄▄███  ███ ███▌   ▄███
  ▀█████████████████▄███ ▐█████████▀
    ▀▀▀▀████▀▀  ▀▀████▀  ██████████
       ▐███▌            ▐███    ▀███▄
       ████             ███▌     ████
    ▄▄█████       ▄██▄ ▐███     ▄███▀
 ▄███████████▄▄▄█████▀ █████▄▄▄████▀
█████▀▀▀▀██████████▀ ▐███████████▀
▀▀          ▀▀▀▀▀     ▀▀▀▀  ▀▀▀













██████████████████
████████████████████████
████████████████████████████
███████████████████████▀▀    ███
████████████████████▀▀   ▄▄██  ███
██████████████████▀▀   ▄▄██████  █████
██
████████████▀▀   ▄▄██████████  █████
███
████████▀▀   ▄▄██████████████  ██████
██
█████▀▀   ▄▄██████████████████  ██████
██
██▀   ▄▄██████████████████████  ██████
██
██
▄▄██████████████████████████  ██████
██
██
████████████████████████████  ██████
███
██
███████████████████████████  ██████
██
███
█████████████████████████  █████
████
██
█████████████████████████  █████
███
██
████████████████████████████
███
████
██████████████████████████
████
█████
███████████████████
██████
██████████████████
██████████████████












● Great Prizes
● Trophies
● The Original Plinko
● Great Community
● Chat Lotto
● Low House Edge
seoincorporation (OP)
Legendary
*
Offline Offline

Activity: 3332
Merit: 3115



View Profile
October 02, 2014, 02:47:41 PM
Last edit: October 03, 2014, 03:13:39 AM by seoincorporation
 #4

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.



▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
stingleword
Legendary
*
Offline Offline

Activity: 1008
Merit: 1001

Out of crypto entirely and don't miss it


View Profile
October 02, 2014, 03:12:27 PM
Last edit: October 02, 2014, 03:31:22 PM by stingleword
 #5

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"

Crypto is dead, its community is a series of bad jokes.
williamj2543
Hero Member
*****
Offline Offline

Activity: 588
Merit: 500

Get ready for PrimeDice Sig Campaign!


View Profile WWW
October 02, 2014, 03:35:43 PM
 #6

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.

█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████
▓▓▓▓▓  BIT-X.comvvvvvvvvvvvvvvi
→ CREATE ACCOUNT 
▓▓▓▓▓
█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████
stingleword
Legendary
*
Offline Offline

Activity: 1008
Merit: 1001

Out of crypto entirely and don't miss it


View Profile
October 02, 2014, 03:41:56 PM
 #7

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.

Crypto is dead, its community is a series of bad jokes.
seoincorporation (OP)
Legendary
*
Offline Offline

Activity: 3332
Merit: 3115



View Profile
October 02, 2014, 05:27:36 PM
 #8

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.

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
LuckyBitSupport
Hero Member
*****
Offline Offline

Activity: 706
Merit: 519


Official LuckyBit Support


View Profile WWW
October 02, 2014, 06:25:09 PM
 #9


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 Prizes
● Trophies
● The Original Plinko
● Great Community
● Chat Lotto
● Low House Edge
seoincorporation (OP)
Legendary
*
Offline Offline

Activity: 3332
Merit: 3115



View Profile
October 02, 2014, 07:38:09 PM
Last edit: October 02, 2014, 07:56:02 PM by seoincorporation
 #10


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"
  }
}

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
stingleword
Legendary
*
Offline Offline

Activity: 1008
Merit: 1001

Out of crypto entirely and don't miss it


View Profile
October 02, 2014, 10:40:01 PM
 #11

Code:
[windows@localhost ~]$ 

Wait... your username is 'windows'?

Crypto is dead, its community is a series of bad jokes.
seoincorporation (OP)
Legendary
*
Offline Offline

Activity: 3332
Merit: 3115



View Profile
October 02, 2014, 10:42:58 PM
 #12

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

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
seoincorporation (OP)
Legendary
*
Offline Offline

Activity: 3332
Merit: 3115



View Profile
October 03, 2014, 12:32:02 AM
Last edit: October 03, 2014, 03:06:43 AM by seoincorporation
 #13

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"
  }
}


▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
stingleword
Legendary
*
Offline Offline

Activity: 1008
Merit: 1001

Out of crypto entirely and don't miss it


View Profile
October 05, 2014, 08:35:51 PM
 #14

Pssst.. you might be interested in this.

Crypto is dead, its community is a series of bad jokes.
PrimedicePlayersUnion
Member
**
Offline Offline

Activity: 70
Merit: 10

★Bitin.io★ - Instant Exchange


View Profile
October 05, 2014, 10:29:40 PM
 #15

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?

seoincorporation (OP)
Legendary
*
Offline Offline

Activity: 3332
Merit: 3115



View Profile
October 05, 2014, 11:39:13 PM
 #16

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://bitcointalk.org/index.php?topic=806051.0

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
LuckyBitSupport
Hero Member
*****
Offline Offline

Activity: 706
Merit: 519


Official LuckyBit Support


View Profile WWW
October 06, 2014, 05:30:36 PM
 #17

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!

                         ▄▄▄▄▄▄
             ▄▄█████▄▄███████████▄▄
     ▄▄    ▄████▀▀█████▀▀▀  ▄███████▄
  ▄█████  ████    ███▀     ███▀▀▀████▌
 ▐██▀    ████    ▐██▀  ▄  ▐███    ███▌
 ▐██▄   █████  ▄▄███  ███ ███▌   ▄███
  ▀█████████████████▄███ ▐█████████▀
    ▀▀▀▀████▀▀  ▀▀████▀  ██████████
       ▐███▌            ▐███    ▀███▄
       ████             ███▌     ████
    ▄▄█████       ▄██▄ ▐███     ▄███▀
 ▄███████████▄▄▄█████▀ █████▄▄▄████▀
█████▀▀▀▀██████████▀ ▐███████████▀
▀▀          ▀▀▀▀▀     ▀▀▀▀  ▀▀▀













██████████████████
████████████████████████
████████████████████████████
███████████████████████▀▀    ███
████████████████████▀▀   ▄▄██  ███
██████████████████▀▀   ▄▄██████  █████
██
████████████▀▀   ▄▄██████████  █████
███
████████▀▀   ▄▄██████████████  ██████
██
█████▀▀   ▄▄██████████████████  ██████
██
██▀   ▄▄██████████████████████  ██████
██
██
▄▄██████████████████████████  ██████
██
██
████████████████████████████  ██████
███
██
███████████████████████████  ██████
██
███
█████████████████████████  █████
████
██
█████████████████████████  █████
███
██
████████████████████████████
███
████
██████████████████████████
████
█████
███████████████████
██████
██████████████████
██████████████████












● Great Prizes
● Trophies
● The Original Plinko
● Great Community
● Chat Lotto
● Low House Edge
seoincorporation (OP)
Legendary
*
Offline Offline

Activity: 3332
Merit: 3115



View Profile
October 08, 2014, 04:17:14 AM
 #18

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.

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
seoincorporation (OP)
Legendary
*
Offline Offline

Activity: 3332
Merit: 3115



View Profile
October 18, 2014, 08:24:17 PM
 #19

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.

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
hobala
Full Member
***
Offline Offline

Activity: 154
Merit: 100


View Profile
October 19, 2014, 08:43:54 PM
 #20

I have try but error

AMHash
ASICMINERROCKMINER ● Purchase from: AMHash (20Th/s min) ● Havelock (1Gh/s min)
Cloud-mining contracts: 0.0012 BTC per Gh ● Maintenance fee: $0.001551 per Gh per day ● Upto 6% Christmas Bonus

Pages: [1] 2 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!