# @defichain/jellyfish-wallet

> SDK & Ecosystem for building modern lite DeFi Applications at scale.

Latest version **4.0.7** (published 2024-02-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install @defichain/jellyfish-wallet
pnpm add @defichain/jellyfish-wallet
yarn add @defichain/jellyfish-wallet
bun add @defichain/jellyfish-wallet
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 4.0.7 |
| Published | 2024-02-23 |
| First published | 2021-04-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 6 |
| Unpacked size | 27 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 101 |
| Maintainers | fuxingloh, defichain-npm |

## Links

- npm: https://www.npmjs.com/package/@defichain/jellyfish-wallet
- Repository: https://github.com/BirthdayResearch/jellyfishsdk
- Homepage: https://github.com/BirthdayResearch/jellyfishsdk#readme
- Issues: https://github.com/BirthdayResearch/jellyfishsdk/issues
- npm.io page: https://npm.io/package/@defichain/jellyfish-wallet

## Dependencies (6)

- [@defichain/jellyfish-crypto](https://npm.io/package/@defichain/jellyfish-crypto.md) 4.0.7
- [@defichain/jellyfish-address](https://npm.io/package/@defichain/jellyfish-address.md) 4.0.7
- [@defichain/jellyfish-network](https://npm.io/package/@defichain/jellyfish-network.md) 4.0.7
- [@defichain/jellyfish-transaction](https://npm.io/package/@defichain/jellyfish-transaction.md) 4.0.7
- [@defichain/jellyfish-transaction-builder](https://npm.io/package/@defichain/jellyfish-transaction-builder.md) 4.0.7
- [@defichain/jellyfish-transaction-signature](https://npm.io/package/@defichain/jellyfish-transaction-signature.md) 4.0.7

## Recent versions

- 4.0.7 (latest) — 2024-02-23
- 0.32.0 (next) — 2021-07-29
- 4.0.6 — 2024-02-05
- 4.0.5 — 2023-12-05
- 4.0.1 — 2023-11-14
- 4.0.0 — 2023-11-03
- 4.0.0-beta.14.1 — 2023-10-13
- 4.0.0-beta.14 — 2023-10-09
- 4.0.0-rc.1.2 — 2023-09-26
- 4.0.0-rc.1.1 — 2023-09-26
- 4.0.0-rc.1 — 2023-09-26
- 4.0.0-beta.11.1 — 2023-09-19
- 4.0.0-beta.11 — 2023-09-04
- 4.0.0-beta10.1 — 2023-08-31
- 4.0.0-beta.10 — 2023-08-28
- … 275 more at https://npm.io/package/@defichain/jellyfish-wallet/versions

## README

# @defichain/jellyfish-wallet

> If you want to use multiple/change address please use defid directly.
> This is created for better UX, your daily average users.

Jellyfish wallet is a managed wallet, where account can get discovered from an HD seed. Accounts in jellyfish-wallet,
has only one address for simplicity. Accounts path are derived from seed with path: `{ACCOUNT}/0/0`. Non-hardened path
is used to allow encrypted wallet implementation where only xpubkey is required. It uses a provider model where the node
and account is agnostic and provided on demand to the managed wallet.

Being a managed wallet design it uses must use conventional defaults and options must be kept to none. Address must stay
consistent hence `bech32` must be used and, etc.

### Wallet Hd Node

> `WalletHdNode` & `WalletHdNodeProvider`

A bip32 path based hierarchical deterministic node, using a provider model where you can derive any HdNode.
`WalletHdNode` extends `EllipticPair` in the jellyfish-crypto package with the additional interface `signTx()` for
signing transaction.

Due to the agnostic and promise based nature of WalletHdNode, it allows any implementation from hardware to network
based crypto operations.

### Wallet Account

> `WalletAccount` & `WalletAccountProvider`

Account in `jellyfish-wallet` provides an interface for all features of DeFi Blockchain. This pushes the implementation
design to WalletAccount implementor. This also allows for upstream agnostic implementation. It could be full node, super
node, or a networked API.

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