zecwallet icon indicating copy to clipboard operation
zecwallet copied to clipboard

Error parsing JSON

Open Flint911jr opened this issue 2 years ago • 6 comments

Good afternoon. Please help me to sort out the issue. I'm trying to use the z_sendmany function, but it doesn't seem to work. I read the documentation before using it. Why does it result in an error? I work on Windows 10.

Error parsing JSON image

Flint911jr avatar Sep 02 '22 08:09 Flint911jr

if you want to send coins from "t address" to "t address", it is better to use the command: "sendtoaddress"

alex138038 avatar Sep 03 '22 10:09 alex138038

Yes, sending to "t" address works fine. But I need to work with "z" address. It is not clear why the "z_sendmany" syntax does not work, because everything is exactly described in the API technical documentation. How can you now transfer coins from "z" address to "t" address?

Flint911jr avatar Sep 03 '22 10:09 Flint911jr

Maybe you need to install zecwallet on linux and run commands in this environment, because zecwallet officially works this way?

Flint911jr avatar Sep 03 '22 10:09 Flint911jr

Maybe you need to install zecwallet on linux and run commands in this environment, because zecwallet officially works this way?

I can't say for sure, because I don't work with "z addresses".

Try using the linux command: z_sendmany "t1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" "[{"address": "t1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd", "amount": 0.02 }]" 0 0.00002

alex138038 avatar Sep 03 '22 11:09 alex138038

Some procedures do not work in the windows version of zecwallet. For example, procedures for working with z-addresses such as z_sendmany. Non-working procedures misinterpret arguments on the command line and throw an error like "Error parsing JSON". If I understood everything correctly, this problem cannot be solved when working with windows, since changes have been made to the executable code of the application "zcash-cli.exe". In other words, some features of Zecwallet Fullnode are simply disabled. There are also problems with the mobile version of the wallet. The fully functional version of the wallet only works under Linux or similar operating systems. I was able to use z_sendmany under Linux. All my attempts to contact the wallet developers, in particular with adityapk00, did not bring results. As I understand it, support for the windows version of the wallet just suddenly ended without explanation.

Flint911jr avatar Oct 03 '22 08:10 Flint911jr

Maybe you need to install zecwallet on linux and run commands in this environment, because zecwallet officially works this way?

I can't say for sure, because I don't work with "z addresses".

Try using the linux command: z_sendmany "t1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" "[{"address": "t1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd", "amount": 0.02 }]" 0 0.00002

Unfortunately this method doesn't work.

Flint911jr avatar Oct 03 '22 08:10 Flint911jr