status-im / status-console-client

Status messaging console user interface
Mozilla Public License 2.0
10 stars 2 forks source link

Add dockerfile and export simple api to send/receive messages #92

Closed dshulyak closed 5 years ago

dshulyak commented 5 years ago

Added dockerfile and set of api methods to send messages and query database

See https://github.com/status-im/status-console-client/blob/9fa939d7559a7bc629a272c09cf3b071cedb37e9/API.md

simple simulation example: https://github.com/status-im/status-scale/pull/29

dshulyak commented 5 years ago

@adambabik what was the idea for that api module? i see that some methods are using protocol directly. do you still want to use protocol interface there or we can make it a simple proxy to messenger?

adambabik commented 5 years ago

@dshulyak we can do whatever we want with the API module at this moment. There is a new one in status-go which will actually be used by status-react. So this API here can just expose Messenger's public methods.

dshulyak commented 5 years ago

@adambabik i made suggested changes, please take a look