Xmtp.Identity
(xmtp_elixir_sdk v0.1.2)
Copy Markdown
Shared XMTP identity setup for product apps.
This module hides client registration, signature request creation, signer
payload construction, and inbox derivation. Host apps still own persistence:
store the returned inbox_id on the product account after a successful
signature.
Summary
Types
@type state() :: %{ status: status(), inbox_id: String.t() | nil, wallet_address: String.t(), signature_request: signature_request() | nil, user_copy: String.t() }
@type status() ::
:ready
| :needs_wallet_signature
| :too_many_devices
| :unsupported_wallet
| :syncing
Functions
@spec child_spec(keyword()) :: Supervisor.child_spec()
@spec wallet_identifier(String.t()) :: XmtpElixirSdk.Types.Identifier.t()