-
Notifications
You must be signed in to change notification settings - Fork 27
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
Update docs to reflect change from address to inboxIds #149
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
To identify contacts the user might know or want to know, you can look for signals in onchain data that imply an affinity between addresses. You can then display appropriate messages on a **You might know** tab, for example. | ||
jhaaa for identities that don't have addresses -- what kind of onchain data signals can devs use? | ||
|
||
To identify contacts the user might know or want to know, you can look for signals in onchain data that imply an affinity between addresses. You can then display appropriate messages on a **You might know** tab, for example. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
val inboxState = inboxStateForInboxId(inboxId)
val identities = inboxState.identities
val ethAddresses = identities
.filter { it.kind == ETHEREUM }
.map { it.identifier }
Co-authored-by: Naomi Plasterer <[email protected]>
Co-authored-by: Naomi Plasterer <[email protected]>
Co-authored-by: Naomi Plasterer <[email protected]>
### Add members by address | ||
|
||
:::code-group | ||
|
||
```js [Browser] | ||
await group.addMembers([walletAddress]); | ||
``` | ||
|
||
```js [Node] | ||
await group.addMembers([walletAddress]); | ||
``` | ||
|
||
```tsx [React Native] | ||
await group.addMembers([walletAddress]); | ||
``` | ||
|
||
```kotlin [Kotlin] | ||
group.addMembers(listOf(walletAddress)) | ||
``` | ||
|
||
```swift [Swift] | ||
try await group.addMembers(addresses: [walletAddress]) | ||
``` | ||
|
||
::: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could probably keep this section if you but just put it at the bottom for doing it by identity
await group.addMembersByIdentity([identity]);
etc...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if we do this we may want to add the newGroup and newDm methods as well that take and Identity 🤷
Co-authored-by: Naomi Plasterer <[email protected]>
Co-authored-by: Naomi Plasterer <[email protected]>
Co-authored-by: Naomi Plasterer <[email protected]>
Co-authored-by: Naomi Plasterer <[email protected]>
Co-authored-by: Naomi Plasterer <[email protected]>
Co-authored-by: Naomi Plasterer <[email protected]>
Co-authored-by: Naomi Plasterer <[email protected]>
Co-authored-by: Naomi Plasterer <[email protected]>
Co-authored-by: Naomi Plasterer <[email protected]>
Co-authored-by: Naomi Plasterer <[email protected]>
Co-authored-by: Naomi Plasterer <[email protected]>
Co-authored-by: Naomi Plasterer <[email protected]>
Co-authored-by: Naomi Plasterer <[email protected]>
Co-authored-by: Naomi Plasterer <[email protected]>
Co-authored-by: Naomi Plasterer <[email protected]>
Co-authored-by: Naomi Plasterer <[email protected]>
No description provided.