Main Menu

Connect to CLI Wallet over WS

Started by abovebeyond, August 26, 2016, 01:41:44 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

xeroc

Quote from: abovebeyond on August 29, 2016, 08:18:37 AM
You can run the cli wallet with "--daemon"
Oh .. so  the cli-wallet ..

you can connect to it using RPC-JSON calls like this

curl --data '{"jsonrpc":"2.0","method":"call", "params":[0, "get_global_properties", [""]],"id":0}'  localhost:PORT

however, you need to open the port when calling the cli-wallet with parameter --rpc-http-endpoint=127.0.0.1:8092

more info on docs.bitshares.eu/api

abovebeyond

You can run the cli wallet with "--daemon"


xeroc

there is no such thing as a "web wallet daemon" .. what do you mean?

abovebeyond

I know how to connect to the witness node with the WS API

I am trying to connect to the webwallet daemon, can I use WS API to connect to the webwallet Daemon, and if so, how do I format a call?