LanGrpcDappServer
Serves the CIP-0103 provider over a LAN gRPC bidirectional stream.
The wallet is the CIP-0103 provider even though it is the TCP server here — the two are independent. In practice the stationary side (a POS, this) listens and shows a QR, and the mobile wallet dials in; the roles would be identical if it were the other way around.
This slice serves one DappRequestHandler to whatever connects, which is enough to prove a real cross-process session. A production server mints a handler (a DappSession) per connection from the peer the transport attests — that is a factory parameter, and F3 work, not this.
Security note: this slice listens with InsecureServerCredentials on loopback. The LAN transport's trust story is a self-signed cert pinned by the fingerprint in the pairing QR (TlsTrust.TrustRoots.Certificates); the credentials are a constructor seam so that drops in without touching this class. Do not expose an insecure server beyond loopback.
Constructors
Properties
Functions
Binds to the configured address and starts accepting streams. Returns this for chaining; read port afterwards when the bind port was 0.