dm3 icon indicating copy to clipboard operation
dm3 copied to clipboard

handle same address with different domains/profiles

Open AlexNi245 opened this issue 7 months ago • 0 comments

A Dm3 client uses a namespace that is defined by the addr subdomain. This namespace creates an alias ENS name for that user so they can use the client without having an on-chain identity. i.E address 0x123 becomes 0x123.addr-dm3.eth. An address can have one or many aliases. These alias names are displayed instead of the address to make the contact more readable. At the moment Dm3 supports ENS, Gnosis, Dm3Name, OP-Name.

Conversations with different aliases are stored using the address identifier 0x123.addr-dm3.eth. That has the advantage that conversations are automatically merged. So it doesn't matter if a message has been sent to alias.gno or to 0x123.addr-dm3.eth.

All of this works well because alias information is publically discoverable. When sending a message to a Gnosis Chain Alias the Profile can always fetched because the Dm3 Client knows how to fetch a Gnosis name.

However, there is another category of aliases currently not supported. Those are off-chain alias names not registered within the dm3 addr subdomain but on a 3rd party subdomain. i.e 0x123.addr-hicony.eth

The DM3 client has to be able to deal with those aliases as well

  • [ ] When a user adds a foreign off-chain-alias name to the conversation list, It must added to the storage as a link.
  • [ ] When sending a message that message has to be sent to every alias profile forEach profile send to each DS

AlexNi245 avatar Jun 28 '24 15:06 AlexNi245