open-index/open-npm huggingface dataset:
npm package: @hdcx/wallet-core
Description: The Simplest Wallet SDK in Typescript
Author: Hopae Inc.
Latest version: 0.2.1

# hDCX

**The Simplest Wallet Core SDK in Typescript.**<br/><br/>
_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 ✅       |

<!-- View full documentation on [here]() -->

### Supported Platforms

| Platform           | Status |
| ------------------ | ------ |
| Web                | ✅     |
| React Native(Expo) | ✅     |
| Node.js            | ✅     |

## Quick Start

### Wallet initialization

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

### Receive and save credentials

```ts
// 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

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

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

![img](/assets/wallet.png)

## License

MIT