Author Topic: Connect to CLI Wallet over WS  (Read 2044 times)

0 Members and 1 Guest are viewing this topic.

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
You can run the cli wallet with "--daemon"
Oh .. so  the cli-wallet ..

you can connect to it using RPC-JSON calls like this
Code: [Select]
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

Offline abovebeyond

  • Newbie
  • *
  • Posts: 14
    • View Profile
You can run the cli wallet with "--daemon"


Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
there is no such thing as a "web wallet daemon" .. what do you mean?

Offline abovebeyond

  • Newbie
  • *
  • Posts: 14
    • View Profile
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?