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

How to run monero-wallet rpc? #3693

Closed
zeshanvirk opened this issue Apr 24, 2018 · 6 comments
Closed

How to run monero-wallet rpc? #3693

zeshanvirk opened this issue Apr 24, 2018 · 6 comments
Labels

Comments

@zeshanvirk
Copy link

I downloaded monero-cli for windows, i double clicked monerod, when its synchronized i double clicked moneo-wallet-cli, i created wallet, then i clicked monero-wallet-rpc, it gets closed within a second, i tried to hit wallet rpc methods using postman but could not get any response, but when i hit daemon rpc methods which are on 18081 as per official documentation, it gave me response... what i am doing wrong while accessing wallet-rpc methods?

@moneromooo-monero
Copy link
Collaborator

You need to at least give it the port to which to bind. Also add --wallet-file /path/to/wallet/cache, maybe auth options if necessary.
There are instructions in the README.md file, and the --help option lists all options.
Run from the terminal rather then clicking on things if you want to be able to read the error messages before windows takes them away.

@mattcode55
Copy link
Contributor

then i clicked monero-wallet-rpc, it gets closed within a second

That means it isn't running :)

Try running it with command prompt, you should get a help message showing all of the switches and parameters you can pass to start it.

You probably want something like monero-wallet-rpc.exe --wallet-file my-wallet --prompt-for-password --rpc-bind-port 16969. Remember to use a different port for the daemon RPC and wallet RPC.

@zeshanvirk
Copy link
Author

zeshanvirk commented Apr 24, 2018

i tried the solution but my wallet stuck at a point Starting wallet RPC server... how can i resolve this issue? as i saw an issue related to this but didn't got any help from that issue.

@moneromooo-monero
Copy link
Collaborator

Stuck how ? Doesn't answer to RPC ? That message is the one that happens after init is done, when the wallet starts listening to RPC, so if it's stuck there, it may be some network problem.

@zeshanvirk
Copy link
Author

zeshanvirk commented Apr 24, 2018

Solved, It was giving unauthorized access which is solved by "--disable-rpc-login"

@moneromooo-monero
Copy link
Collaborator

+invalid

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

No branches or pull requests

4 participants