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

Feature request: How can I get peer wallet address of conversation as v2? #572

Closed
hookie256 opened this issue Dec 18, 2024 · 1 comment
Closed
Assignees
Labels
enhancement New feature or request

Comments

@hookie256
Copy link

Is your feature request related to a problem?

No response

Describe the solution to the problem

No response

Describe the uses cases for the feature

No response

Additional details

No response

@hookie256 hookie256 added the enhancement New feature or request label Dec 18, 2024
@nplasterer nplasterer self-assigned this Dec 18, 2024
@nplasterer
Copy link
Contributor

So in V3 we return a inboxId instead of an address. The inboxId can have an array of addresses associated with it.

I'd recommend getting the address from the inboxId via this method https://github.com/xmtp/xmtp-react-native/blob/main/src/lib/Client.ts#L552-L568 The recoverAddress should be the address that they logged in first with.

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
Status: Done
Development

No branches or pull requests

2 participants