Skip to content

Draft: Support communication with wallet via HTTP protocol

Mateusz Żebrak requested to merge mzebrak/wallet-support-http-connection into master

Related to, and waits for: hive!624 (merged)

Support for the recently introduced new method of communicating with the wallet via the HTTP protocol has been added.

While connecting the wallet to a specific node, user can choose the communication protocol via protocol parameter like:

tt.Wallet(attach_to=init_node, protocol='ws')

The HTTP protocol is used by default as every node should have http_endpoint enabled, while RemoteNode could omit the ws_endpoint parameter in it's initializer.

Edited by Mateusz Żebrak

Merge request reports