Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

handle same address with different domains/profiles #1069

Open
2 tasks
AlexNi245 opened this issue Jun 28, 2024 · 0 comments
Open
2 tasks

handle same address with different domains/profiles #1069

AlexNi245 opened this issue Jun 28, 2024 · 0 comments
Assignees

Comments

@AlexNi245
Copy link
Collaborator

AlexNi245 commented Jun 28, 2024

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 AlexNi245 self-assigned this Jun 28, 2024
@AlexNi245 AlexNi245 changed the title handle same address with different domains handle same address with different domains/profiles Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant