Skip to content

openwallet-foundation-labs/hDCX-js

Repository files navigation

hDCX

The Simplest Wallet Core SDK in Typescript.

Effortless credential handling. Fully standards-compliant.

  • Minimal API surface: intuitive and easy to integrate
  • Fast and lightweight: ideal for web, mobile, and embedded environments
  • Fully compliant: aligns with modern standards like SD-JWT, W3C VC, and eIDAS 2.0

Supported Standards

eIDAS 2.0 W3C VCDM SD-JWT VC OIDC4VCI OIDC4VP ISO/IEC 18013 Token Status List
ARF 2.0 ✅ VCDM 2.0 draft 09 ✅ draft 15 ✅ draft 28 ✅ Part 5 / Part 7 draft 11 ✅

Supported Platforms

Platform Status
Web
React Native(Expo)
Node.js

Quick Start

Wallet initialization

// Initialize wallet
const wallet = new Wallet();

Receive and save credentials

// You get the url or data for issued credentials
const issuePayload = await scanQRCode(); // or deeplink or NFC/BLE

// The library will recognize the method and will get it for you
const credentials = await wallet.receive(issuePayload);

// Then you can save credentials
await wallet.save(credentials);

Load and present credentials

// Load credentials with query
const credentials = await wallet.load(query);

// Present Credentials
const presentation = await wallet.present(credentials);

img

License

MIT

About

Simplest Wallet SDK for Typescript

Resources

Code of conduct

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •