API Reference layr8 v#0.2.11

Copy Markdown View Source

Modules

Elixir SDK for the Layr8 decentralized identity-native messaging network.

Raised when handle/3 is called after connect/1.

A DIDComm v2 attachment.

Phoenix Channel transport over WebSocket.

Main entry point for interacting with the Layr8 platform.

Raised when connect/1 is called after close/1.

Configuration for a Layr8 client.

Represents a failure to connect to the cloud-node.

W3C Verifiable Credential operations via the Layr8 cloud-node REST API.

A handle for one additional DID hosted on a Layr8.Client's WebSocket, returned by Layr8.Client.join_did/3.

Base exception for all Layr8 SDK errors.

Registry mapping DIDComm message types to handler functions.

Attaching an identity credential — a credential about who the sender is, not about what it may do.

MCP (Model Context Protocol) over Layr8 DIDComm.

A base-bound MCP binding. Call Layr8.Mcp.peer/2 to get a caller.

A peer-bound MCP caller. Obtained via Layr8.Mcp.peer/2.

A DIDComm v2 message.

Metadata from the cloud-node attached to inbound messages.

Raised when send/2 or request/3 is called before connect/1.

W3C Verifiable Presentation operations via the Layr8 cloud-node REST API.

Represents a DIDComm problem report received from a remote agent.

Internal HTTP client for the Layr8 cloud-node REST API.

Polls two independent signals about "my MCP tool surface" — the caller's held wallet (VG/credential set) and the Space's live MCP resource set — and calls back when either one's signature changes.

Attaching Verifiable Grants to outbound messages.