Bitcoin Forum
January 20, 2017, 08:09:25 AM *
News: Latest stable version of Bitcoin Core: 0.13.2  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: « 1 [2]  All
  Print  
Author Topic: [1 BTC BOUNTY] A way to use sendmany  (Read 4536 times)
SgtSpike
Legendary
*
Offline Offline

Activity: 1330



View Profile
July 11, 2011, 06:03:52 AM
 #21

Sorry, forgot to send jav the other half of the bounty.  Sent!  Thank you both for your contributions.  Smiley
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1484899765
Hero Member
*
Offline Offline

Posts: 1484899765

View Profile Personal Message (Offline)

Ignore
1484899765
Reply with quote  #2

1484899765
Report to moderator
triplef
Full Member
***
Offline Offline

Activity: 221


View Profile WWW
July 05, 2014, 08:34:02 PM
 #22

BTW this aint working for me...


$sendmany.="{";

foreach ($bob as $b) {

$sendmany  .= '"B9zb7z2C8JkFnfDRMg1cgK6BKEtY7tDiDJ":'.(float)$b;
$sendmany.= ",";
}
$sendmany.="}";
 $sent = $test->sendmany($wallet,$sendmany);

tried with array_push same results...

any idea ? jsonrpc lib


Error: Fatal error:  Uncaught exception 'Exception' with message 'Request error: -1 - value is type str, expected obj'

jsonRPCClient->sendmany('test', '{"B9zb7z2C8JkFn...')

▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
☞   MONERO.BACKUP-POOL.COM   XMR Pool Stable   ☲    Get a Debit Card linked to BTC/ALT's ☲   
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
BitCoinDream
Legendary
*
Offline Offline

Activity: 1148

The revolution will be digital


View Profile
July 05, 2014, 08:44:29 PM
 #23

BTW this aint working for me...


$sendmany.="{";

foreach ($bob as $b) {

$sendmany  .= '"B9zb7z2C8JkFnfDRMg1cgK6BKEtY7tDiDJ":'.(float)$b;
$sendmany.= ",";
}
$sendmany.="}";
 $sent = $test->sendmany($wallet,$sendmany);

tried with array_push same results...

any idea ? jsonrpc lib


Error: Fatal error:  Uncaught exception 'Exception' with message 'Request error: -1 - value is type str, expected obj'

jsonRPCClient->sendmany('test', '{"B9zb7z2C8JkFn...')


Can u please publish the complete code that is giving trouble ?

Initscri
Hero Member
*****
Offline Offline

Activity: 560

PHP/Python Web Developer. PM for Info.


View Profile
July 05, 2014, 11:40:49 PM
 #24

I completed this for a client a while back and released the source code here : https://bitcointalk.org/index.php?topic=620353.0

This should be exactly what everyone is looked for.

triplef
Full Member
***
Offline Offline

Activity: 221


View Profile WWW
July 06, 2014, 12:14:32 AM
 #25

nm found it

▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
☞   MONERO.BACKUP-POOL.COM   XMR Pool Stable   ☲    Get a Debit Card linked to BTC/ALT's ☲   
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
seoincorporation
Hero Member
*****
Offline Offline

Activity: 798


BtcBoss - LuckyBit Community Assistant


View Profile
October 02, 2014, 05:41:17 PM
 #26

Easy sendmany bash script

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

Bash Script + Curl + Blockchain API

Source:https://bitcointalk.org/index.php?topic=806051.

The original falling coin game
Dice is boring.



               ▄██▄
              ▄█▀ ▐▌
                               ▄▄▄▄▄▄▄▄▄▄█
        ▄▄   ▐█   ▐▌                            ▄▀▀        █▀▀▄▄
      ▄▀    ▄█    █                          ▄▀          █    ▀█
     ▐▌     █▀   █▀                         ▐▌          █      █       
     ▐▌    ▐▌  ▄▀                           █          █▀    ▄█▀      █▐▌
      ▀▄   █ ▄▀                              █   ▄▀   █▀▀▀██▀    ▐▌ ▄█▄█▄
        ▀▀██▀   ▐█  ▐█  ▄█▀█ █▌▄██▄  █   █     ▀▀▀    █▀     ▀█     ▐▌█
         ▄█▌    █▀  █  ▄█  ▀▐█▀ ▄▀  █▌  █            █▀       ▐█ ▐█  ██
     ▄▄▄▄█▀    ▐▌  █▀ ▄█    █▌▄▀   ██  █▌  ▄▄▄▄▄    █▀         █ █▌ ▐█  ▌
 ▄██▀▀▀███▄▄   █  ██ ▄▀█   ██ █   ██  ██  ▄█    ▀▀▄█▀         █▌▐█ ▄█  █
▄▀    ▄█   ▀▀▀▄▀▀▀ ▀▀  ▀▄▄▀▀▀  ▀▄▀ ▀▀▀▄█▄▀ ▀▄   ▄█▀▀▀▄▄    ▄█▀▀  ▀▀  ▀▀
▀▄▄▄▄█▀        ▀▄                  ▄▄▄█      ▀▀▀       ▀▀▀▀
  ▀▀            ▐▌              ▄▀▀ ▄█
                              █   ▄▀
                              ▀▄▄▀▀
Suspense - Community - Prizes
Play different.
SgtSpike
Legendary
*
Offline Offline

Activity: 1330



View Profile
October 02, 2014, 08:17:49 PM
 #27

Easy sendmany bash script

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

Bash Script + Curl + Blockchain API

Source:https://bitcointalk.org/index.php?topic=806051.
Thanks for contributing, even though the bounty is over.  I'm sure this will be helpful to someone!
Vortex20000
Hero Member
*****
Offline Offline

Activity: 504

sucker got hacked and screwed --Toad


View Profile WWW
October 03, 2014, 12:29:12 AM
 #28

Working on sendmany for implementation on MC-CC?  Wink

seoincorporation
Hero Member
*****
Offline Offline

Activity: 798


BtcBoss - LuckyBit Community Assistant


View Profile
October 03, 2014, 12:52:24 AM
 #29

Easy sendmany bash script

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

Bash Script + Curl + Blockchain API

Source:https://bitcointalk.org/index.php?topic=806051.
Thanks for contributing, even though the bounty is over.  I'm sure this will be helpful to someone!

I know the bounty is over, i just want to share this nice code. It works nice for me and i like to share the knowledge.

The original falling coin game
Dice is boring.



               ▄██▄
              ▄█▀ ▐▌
                               ▄▄▄▄▄▄▄▄▄▄█
        ▄▄   ▐█   ▐▌                            ▄▀▀        █▀▀▄▄
      ▄▀    ▄█    █                          ▄▀          █    ▀█
     ▐▌     █▀   █▀                         ▐▌          █      █       
     ▐▌    ▐▌  ▄▀                           █          █▀    ▄█▀      █▐▌
      ▀▄   █ ▄▀                              █   ▄▀   █▀▀▀██▀    ▐▌ ▄█▄█▄
        ▀▀██▀   ▐█  ▐█  ▄█▀█ █▌▄██▄  █   █     ▀▀▀    █▀     ▀█     ▐▌█
         ▄█▌    █▀  █  ▄█  ▀▐█▀ ▄▀  █▌  █            █▀       ▐█ ▐█  ██
     ▄▄▄▄█▀    ▐▌  █▀ ▄█    █▌▄▀   ██  █▌  ▄▄▄▄▄    █▀         █ █▌ ▐█  ▌
 ▄██▀▀▀███▄▄   █  ██ ▄▀█   ██ █   ██  ██  ▄█    ▀▀▄█▀         █▌▐█ ▄█  █
▄▀    ▄█   ▀▀▀▄▀▀▀ ▀▀  ▀▄▄▀▀▀  ▀▄▀ ▀▀▀▄█▄▀ ▀▄   ▄█▀▀▀▄▄    ▄█▀▀  ▀▀  ▀▀
▀▄▄▄▄█▀        ▀▄                  ▄▄▄█      ▀▀▀       ▀▀▀▀
  ▀▀            ▐▌              ▄▀▀ ▄█
                              █   ▄▀
                              ▀▄▄▀▀
Suspense - Community - Prizes
Play different.
SgtSpike
Legendary
*
Offline Offline

Activity: 1330



View Profile
October 08, 2014, 04:10:39 AM
 #30

Working on sendmany for implementation on MC-CC?  Wink
Hah, yep that's exactly what it was for!
DiamondCardz
Legendary
*
Offline Offline

Activity: 1022

rip


View Profile WWW
October 08, 2014, 04:40:09 PM
 #31

Working on sendmany for implementation on MC-CC?  Wink
Hah, yep that's exactly what it was for!

I figured half as much, haha. MinecraftCC is still up, then? Haven't logged on in a while as I've been swept up with managing my own Minecraft server...good to see that my Sponsor rank suggestion was successful though Wink
Pages: « 1 [2]  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!