DappPeer

data class DappPeer(val id: String, val name: String, val url: String? = null, val iconUrl: String? = null, val verified: Boolean = false)

Who is asking. Built by the transport from what it can actually attest — a WalletConnect session's peer metadata, a LAN pairing's certificate, the host app itself for the in-process case.

Never construct this from a request payload. A peer that names itself in its own request is a peer that can name itself anything, and this struct is what the approver shows.

Constructors

Link copied to clipboard
constructor(id: String, name: String, url: String? = null, iconUrl: String? = null, verified: Boolean = false)

Properties

Link copied to clipboard
Link copied to clipboard
val id: String
Link copied to clipboard
Link copied to clipboard
val url: String?
Link copied to clipboard

Whether the transport could verify name/url cryptographically or out of band. False means the UI must say so: an unverified peer name is a claim, not an identity.