crypto-power / cryptopower

A cross-platform SPV (DCR, BTC & LTC) privacy wallet built with go.
ISC License
35 stars 23 forks source link

Integrate with bison relay chat #6

Open dmigwi opened 1 year ago

dmigwi commented 1 year ago

https://bisonrelay.org/

dmigwi commented 1 year ago

@dreacot This intergration is only meant to be used with a specific DCR wallet. Can we then as part of the navigation tabs shown on the screenshot below?

image

dreacot commented 1 year ago

yes, it's fine

dmigwi commented 1 year ago

There are two designs concerns we need to brainstorm more on before the actual implementation can begin:

  1. Above comment mentions that we may pursue, having the chat exist at the wallet level instead of the app level.
    • Major benefits to this design suggestion is that transferring funds to main chat wallet will not be necessary as all wallets have same access to sending a message to a p2p peer.
    • All chats will be visible under any DCR wallet therefore no need to have a specific wallet always active so as to receive messages. (similar to how the same governance information is available on all DCR wallets)
  2. The official bison relay docs, mention that for the initial exchange of keys for p2p communication to start between previously unknown users, a 3rd party is needed. Despite there being an ability to send signed messages via the decred cryptocurrency, use of this avenue might solve the need for a 3rd party but introduced a major security risk if the sent keys happen to be intercepted by unintended party. Also the decred community might object to the use of the signed message functionality as it could be seen as unnecessarily bloating the cryptocurrency.

For now the implementation of a proof of concept will proceed with the agreed specs and changes deemed necessary could be introduced later once we've evaluated the chat performance.