Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error parsing JSON #385

Open
Flint911jr opened this issue Sep 2, 2022 · 6 comments
Open

Error parsing JSON #385

Flint911jr opened this issue Sep 2, 2022 · 6 comments
Labels
enhancement New feature or request

Comments

@Flint911jr
Copy link

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 Flint911jr added the enhancement New feature or request label Sep 2, 2022
@alex138038
Copy link

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

@Flint911jr
Copy link
Author

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
Copy link
Author

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

@alex138038
Copy link

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

@Flint911jr
Copy link
Author

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
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants