Base protocol frame

interface RegisterMessage {
    payload: {
        l2psUid: string;
        proof: string;
        publicKey: string;
    };
    requestId?: string;
    timestamp: number;
    type: "register";
}

Hierarchy (view full)

Properties

payload: {
    l2psUid: string;
    proof: string;
    publicKey: string;
}

Type declaration

  • l2psUid: string

    L2PS network UID to join

  • proof: string

    Proof: sign("register:{publicKey}:{timestamp}")

  • publicKey: string

    Client's ed25519 public key (hex)

requestId?: string

Request correlation ID for request/response flows

timestamp: number
type