Open adambabik opened 5 years ago
As a developer I would like the console client to expose JSON-RPC API so that I can automate some tasks without interacting with the UI.
Take a look at internal/gethservice package. It has some code commented out which needs to be brought back after refactoring.
internal/gethservice
The following JSON-RPC methods should be available
client_send
client_latestMessages
client_messages
client_join
As a developer I would like the console client to expose JSON-RPC API so that I can automate some tasks without interacting with the UI.
Description
Take a look at
internal/gethservice
package. It has some code commented out which needs to be brought back after refactoring.Acceptance criteria
The following JSON-RPC methods should be available
client_send
which sends a message,client_latestMessages
which retrieves the latest messages since the last call to this method,client_messages
which is a subscribe method and delivers messages as soon as they are received.client_join
which join a chat, i.e. set ups Whisper filters.