API Reference layr8 v#0.3.3

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.

Naming a DID that borrows a parent's authority.

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.

What a join reply says about the parent's wallet.

One credential the node signed for this DID out of what its parent holds.

What one join learned about the parent's wallet.

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.

Store-and-forward for an agent that is not always connected, against a DIDComm mediator (layr8/mediator): coordinate-mediation/3.0 enrolment, messagepickup/3.0 collection, and the cloud-node's mediator declaration.

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.