0.1.0 • Published 5 months ago

@hdcx/wallet-core v0.1.0

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
5 months ago

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.0W3C VCDMSD-JWT VCOIDC4VCIOIDC4VPISO/IEC 18013Token Status List
ARF 2.0 ✅VCDM 2.0 ✅/ 1.4 ✅/ 1.1 ✅draft 09 ✅draft 15 ✅draft 28 ✅Part 5 / Part 7draft 11 ✅

Supported Platforms

PlatformStatus
Web
React Native(Expo)
Node.js

Quick Start

Wallet initialization

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

Recieve 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(["name", "age"]);

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

img

Backwards compatibility

SD-JWT VCOIDC4VCIOIDC4VPToken Status List
draft 07Implementors draft v1draft 20draft 05

Interoperability

We are interoperable with

NameInteroperable
Lissi
Amino Funke

License

MIT