Take the 2-minute tour ×
Bitcoin Stack Exchange is a question and answer site for Bitcoin crypto-currency enthusiasts. It's 100% free, no registration required.

I've been trying to use sendmany on my local installation of Bitcoin-qt (version 0.7.0) from the Windows command prompt. I've seen examples but when I try them all I get is a JSON parsing error. I figure that on Windows the input needs to be escaped in a different way than on Linux.

How do I pass a JSON argument to bitcoind from the Windows command prompt?

share|improve this question
1  
Any chance we could get an example of what you're trying to pass and how you've currently attempted to escape it? –  David Perry Nov 20 '12 at 21:38
1  
Unbelievable. I had already seen bitcointalk.org/index.php?topic=54879.0 and unsuccessfully tried to replicate it; it turns out I made an error in visually reproducing it. The question is still valid though and I'll take the liberty of answering it. –  Meni Rosenfeld Nov 21 '12 at 5:54
    
Sadly, my sendmany woes are not over yet, though that is irrelevant to this question. –  Meni Rosenfeld Nov 21 '12 at 5:57
add comment

1 Answer 1

The important part is that strings should be enclosed in triple double-quotation marks. For example:

bitcoind sendmany "" {"""1ELvnrA6PhUyDBS6iR25K1Xx4xXL6VMfJX""":0.001,"""1NX3R5Le4c1y9E316NPMze7aEmCXjpCY58""":0.001}
share|improve this answer
    
Hello, I googled this answer, is the triple quotation a windows thing or is it needed in bash, too? –  Karel Bílek Feb 17 at 17:48
    
@KarelBílek: I don't remember. Let us know what you find. –  Meni Rosenfeld Feb 17 at 19:52
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.