# @midnightntwrk/wallet-sdk-abstractions

> Domain-specific abstractions for the wallet SDK

Latest version **2.1.0** (published 2026-06-19) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @midnightntwrk/wallet-sdk-abstractions
pnpm add @midnightntwrk/wallet-sdk-abstractions
yarn add @midnightntwrk/wallet-sdk-abstractions
bun add @midnightntwrk/wallet-sdk-abstractions
```

## Health

**Score 65/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 2.1.0 |
| Published | 2026-06-19 |
| First published | 2026-06-19 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 27.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 15 |
| Author | Midnight Foundation |
| Maintainers | ntwrk-bot |

## Links

- npm: https://www.npmjs.com/package/@midnightntwrk/wallet-sdk-abstractions
- Repository: https://github.com/midnightntwrk/midnight-wallet
- Homepage: https://github.com/midnightntwrk/midnight-wallet#readme
- Issues: https://github.com/midnightntwrk/midnight-wallet/issues
- npm.io page: https://npm.io/package/@midnightntwrk/wallet-sdk-abstractions

## Dependencies (1)

- [effect](https://npm.io/package/effect.md) ^3.19.19

## Recent versions

- 2.1.0 (latest) — 2026-06-19
- 3.0.0-canary.20261013150531-6289ea3 (canary) — 2026-10-13
- 3.0.0-canary.20261009161442-8f95733 (canary-v1) — 2026-10-09
- 3.0.0-rc.1 (rc) — 2026-10-07
- 3.0.0-canary.20261007114939-7ee351c (canary-v2) — 2026-10-07
- 3.0.0-beta.2 (beta) — 2026-09-24
- 3.0.0-canary.20261013132526-8a87477 — 2026-10-13
- 3.0.0-canary.20261012130426-60e35b6 — 2026-10-12
- 3.0.0-canary.20261006161905-56542fa — 2026-10-06
- 3.0.0-canary.20261006082857-3c6134f — 2026-10-06
- 3.0.0-canary.20261005170924-1c8b4e7 — 2026-10-05
- 3.0.0-canary.20260930095107-aae483d — 2026-09-30
- 3.0.0-canary.20260929170316-1583a02 — 2026-09-29
- 3.0.0-canary.20260928141213-d0f38b3 — 2026-09-28
- 3.0.0-rc.0 — 2026-09-24
- … 81 more at https://npm.io/package/@midnightntwrk/wallet-sdk-abstractions/versions

## README

# @midnightntwrk/wallet-sdk-abstractions

Domain-specific abstractions for the Midnight Wallet SDK.

## Installation

```bash
npm install @midnightntwrk/wallet-sdk-abstractions
```

## Overview

This package provides core types and interfaces used throughout the Midnight Wallet SDK. It defines the fundamental
abstractions for:

- Network identification
- Protocol state and versioning
- Wallet seeds and state management
- Transaction serialization

## Exports

### NetworkId

Network identifier types for distinguishing between different Midnight networks (e.g., mainnet, testnet).

### ProtocolState

Types representing the current state of the Midnight protocol.

### ProtocolVersion

Version information for protocol compatibility.

### WalletSeed

Abstractions for wallet seed management and derivation.

### WalletState

Types representing the internal state of a wallet instance.

### SerializedTransaction

Types for serialized transaction data that can be stored or transmitted.

### SerializedUnprovenTransaction

Types for unproven transaction serialization before ZK proofs are generated.

## License

Apache-2.0

---
_Source: https://npm.io/package/@midnightntwrk/wallet-sdk-abstractions · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
