Bitcoin Forum
December 07, 2016, 04:50:25 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 [2]  All
  Print  
Author Topic: [1 BTC BOUNTY] A way to use sendmany  (Read 4497 times)
SgtSpike
Legendary
*
Offline Offline

Activity: 1344



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
Creating a Bitcoin client that fully implements the network protocol is extremely difficult. Bitcoin-Qt is the only known safe implementation of a full node. Some other projects attempt to compete, but it is not recommended to use such software for anything serious. (Lightweight clients like Electrum and MultiBit are OK.)
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
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: 1092

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: 1344



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: 1344



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!