[cli_wallet] Add support for http/https connections
Currently cli_wallet
supports only websocket connections which is fine for local wallet<->node, but it requires cli_wallet user to have their own working node which is not trivial when it comes to requirements and setup time.
Of course, there are public nodes such as api.hive.blog
or api.openhive.network
, etc. but those rarely support direct websocket connection to hived
. Workaround is to use websocket->http(s) bridge locally or on server-side (such as lineman
)
It should work like this:
cli-wallet -shttps://api.hive.blog
(Currently it only accepts -sws://
and -swss://
)