Bitcoin Forum
November 14, 2024, 04:04:34 PM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: [1 BTC BOUNTY] A way to use sendmany  (Read 5158 times)
SgtSpike (OP)
Legendary
*
Offline Offline

Activity: 1400
Merit: 1005



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
triplef
Full Member
***
Offline Offline

Activity: 338
Merit: 100


https://eloncity.io/


View Profile
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...')

BitCoinDream
Legendary
*
Offline Offline

Activity: 2394
Merit: 1216

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: 1582
Merit: 759


View Profile WWW
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.

----------------------------------
Web Developer. PM for details.
----------------------------------
triplef
Full Member
***
Offline Offline

Activity: 338
Merit: 100


https://eloncity.io/


View Profile
July 06, 2014, 12:14:32 AM
Last edit: July 06, 2014, 01:13:10 AM by triplef
 #25

nm found it

seoincorporation
Legendary
*
Offline Offline

Activity: 3346
Merit: 3116



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.

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

Activity: 1400
Merit: 1005



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
Merit: 500

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
Legendary
*
Offline Offline

Activity: 3346
Merit: 3116



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.

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

Activity: 1400
Merit: 1005



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: 1134
Merit: 1118



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

BA Computer Science, University of Oxford
Dissertation was about threat modelling on distributed ledgers.
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!