Skip to content

Contact introduction requests #367

@iFergal

Description

@iFergal

Feature request description/rationale

Lately whenever I connect Alice and Bob's wallets via OOBI URL, I've had Alice automatically send her OOBI to Bob in a /introduce rpy message.

As Bob's parser cannot parse messages from Alice's transferable AID before resolving it's corresponding OOBI, I've taken Sam's suggestion of signing the rpy message using an ephemeral non-transferable AID instead, and it works. The OOBI resolution will result in a new contact if it contains the name query param.

However, I'd like to build something a bit more notification/event driven, so:

  1. The wallet can become aware of the new contacts, and react, rather than polling the list of contacts and checking for differences.
  2. The creation of the contact could be deferred until the user agrees (so it becomes a request).
    a. You could also set an auto-accept policy for your agent, e.g. any OOBIs from domain X, and so on.
  3. Maybe allow some standardized metadata or profile pics to be sent in the message too.

It would be ideal if there was an acknowledgement that could be sent back too, so that the originating wallet could know if the "connection" has been accepted.

I think then a set of exn messages could be more appropriate than rpy. Would love to hear others' thoughts.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions