Skip to main content

Sphyre Issuers

Sphyre Issuers is the organization dashboard for issuer onboarding, schema and template management, credential issuance, request approval, revocation, and analytics.

Technology

Framework: React 19.1.0
Build: Create React App / react-scripts 5.0.1
Routing: react-router-dom 7.7.1
Styling: Tailwind CSS 3.4.3

UI and Data Libraries

lucide-react
react-icons
@heroicons/react
chart.js, react-chartjs-2

Implemented Pages

Main Workflows

  • Register or authenticate an issuer wallet.
  • Create schemas via POST /api/issuer/:did/schemas.
  • Create and list templates via POST /api/issuer/:did/templates and GET /api/issuer/:did/templates.
  • Review holder credential requests.
  • Issue credentials through POST /api/issuer/:did/issue.
  • Revoke issued credentials through POST /api/issuer/:did/credentials/:credential_id/revoke.
  • Generate credential offers and QR payloads.
  • Track dashboard metrics using Chart.js visualizations.

Implementation Notes

The dashboard uses local crypto helpers in src/utils/crypto.js, API wrappers in src/services, layout components under src/components/layout, and modal components for schema, template, credential issuance, and PIN confirmation flows. Use the existing Tailwind and icon-library patterns when extending the interface.

Implemented API Calls

Operational Notes

  • Schema attributes use the backend attributes model with name, data_type, description, and required.
  • Credential templates map schema fields to holder or issuer input and can require evidence labels.
  • Issuance creates a credential record, stores credential material through IPFS, and attempts blockchain anchoring when Fortro Engine has a configured blockchain client.
  • Revocation updates backend state first and attempts on-chain revocation through the active registry.