Skip to content

Feature: Contacts Client#195

Open
sephynox wants to merge 11 commits intomainfrom
feat/contacts-storage-client
Open

Feature: Contacts Client#195
sephynox wants to merge 11 commits intomainfrom
feat/contacts-storage-client

Conversation

@sephynox
Copy link
Contributor

Summary

Adds a contacts client that leverages the storage anchor.

@sephynox sephynox requested a review from ezraripps February 24, 2026 21:36
@sephynox sephynox self-assigned this Feb 24, 2026
@sephynox sephynox added the enhancement New feature or request label Feb 24, 2026
Base automatically changed from feat/storage-anchor-split to main February 25, 2026 23:29
Comment on lines +15 to +18
export type ContactAddress = DistributiveOmit<
AssetTransferInstructions,
'value' | 'assetFee' | 'totalReceiveAmount' | 'persistentAddressId'
>;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Discussion::

Are we sure we want AssetTransferInstructions and not RecipientResolved with a separate field for the rails/location?

type ContactAddress = {
    recepient: RecipientResolved;
    location?: AssetLocationLike;
    asset?: MovableAsset;
    rail?: Rail; // or maybe multiple?
}

Comment on lines +15 to +18
export type ContactAddress = DistributiveOmit<
AssetTransferInstructions,
'value' | 'assetFee' | 'totalReceiveAmount' | 'persistentAddressId'
>;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does not support storing a username as a contact, this could be the address and maybe the provider id you got the username from. So it can be resolved to the users username

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How did you envision this structured?

@sephynox sephynox linked an issue Feb 27, 2026 that may be closed by this pull request
@sonarqubecloud
Copy link

sonarqubecloud bot commented Mar 1, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create Contacts Client

2 participants