Available

Typed deep-link SDK for Glyph Wallet

Glyph Connect

A framework-agnostic TypeScript package for creating Glyph Wallet requests and handling approval, rejection, callback, and redirect results.

A request you can inspect

The example follows the published v2.0.0 API and includes a rejection path.

import { createConnectRequest, glyphRequest } from "@glyph-oss/connect";

try {
  const result = await glyphRequest(createConnectRequest({
    type: "connect",
    dapp: { name: "My App", origin: "https://my.app" },
    permissions: ["transfer", "sign_message"],
  }));

  if (result.status === "rejected") {
    console.info(result.reason);
  }
} catch (error) {
  console.error("Glyph Wallet could not be opened", error);
}
01
dApp

Application creates intent

The dApp defines the requested action and its return path.

02
Glyph Connect

Connect builds the request

Glyph Connect encodes a typed envelope for Glyph Wallet.

03
Glyph Wallet

Wallet validates and explains

Wallet checks the request boundary and presents the action for review.

04
Local approval

User makes the decision

Approval signs locally. Rejection returns an explicit result.

A typed request moves from application intent to a decision inside Glyph Wallet. Keys never cross into the application.

Ecosystem role

A working part of the system.

Explicit request envelopes. HTTPS origins and constrained callbacks. Typed results for approval and rejection.

Related products