BitShares Forum
Main => Technical Support => Topic started by: abovebeyond on August 26, 2016, 01:41:44 pm
-
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?
-
there is no such thing as a "web wallet daemon" .. what do you mean?
-
You can run the cli wallet with "--daemon"
-
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