Bitcoin Forum
April 19, 2024, 08:24:34 PM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: [1 BTC BOUNTY] A way to use sendmany  (Read 5126 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
1713558274
Hero Member
*
Offline Offline

Posts: 1713558274

View Profile Personal Message (Offline)

Ignore
1713558274
Reply with quote  #2

1713558274
Report to moderator
The trust scores you see are subjective; they will change depending on who you have in your trust list.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713558274
Hero Member
*
Offline Offline

Posts: 1713558274

View Profile Personal Message (Offline)

Ignore
1713558274
Reply with quote  #2

1713558274
Report to moderator
1713558274
Hero Member
*
Offline Offline

Posts: 1713558274

View Profile Personal Message (Offline)

Ignore
1713558274
Reply with quote  #2

1713558274
Report to moderator
1713558274
Hero Member
*
Offline Offline

Posts: 1713558274

View Profile Personal Message (Offline)

Ignore
1713558274
Reply with quote  #2

1713558274
Report to moderator
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: 2324
Merit: 1204

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: 1540
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: 3136
Merit: 2902


Top Crypto Casino


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.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
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: 3136
Merit: 2902


Top Crypto Casino


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.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
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: 1105



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!