New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@defichain/jellyfish-wallet

Package Overview
Dependencies
Maintainers
2
Versions
290
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@defichain/jellyfish-wallet - npm Package Compare versions

Comparing version 0.28.0 to 0.29.0

2

dist/wallet_account.d.ts

@@ -8,3 +8,3 @@ /// <reference types="node" />

* Accounts are numbered, the default account ("") being number 0.
* Account are derived from root and the pubkey to be used is `44'/1129'/${account}'/0/0`
* Account are derived from root and the pubkey to be used is `${account}/0/0`
*

@@ -11,0 +11,0 @@ * WalletAccount implementation uses NATIVE SEGWIT redeem script exclusively.

@@ -19,3 +19,3 @@ "use strict";

* Accounts are numbered, the default account ("") being number 0.
* Account are derived from root and the pubkey to be used is `44'/1129'/${account}'/0/0`
* Account are derived from root and the pubkey to be used is `${account}/0/0`
*

@@ -22,0 +22,0 @@ * WalletAccount implementation uses NATIVE SEGWIT redeem script exclusively.

@@ -14,6 +14,2 @@ "use strict";

/**
* DFI CoinType
*/
const COIN_TYPE = 1129;
/**
* Jellyfish managed wallet.

@@ -37,3 +33,3 @@ * WalletHdNode instance is provided by WalletHdNodeProvider.

get(account) {
const path = `44'/${COIN_TYPE}'/${account}'/0/0`;
const path = `${account}/0/0`;
const node = this.nodeProvider.derive(path);

@@ -40,0 +36,0 @@ return this.accountProvider.provide(node);

{
"private": false,
"name": "@defichain/jellyfish-wallet",
"version": "0.28.0",
"version": "0.29.0",
"description": "A collection of TypeScript + JavaScript tools and libraries for DeFi Blockchain developers to build decentralized finance on Bitcoin",

@@ -41,7 +41,7 @@ "keywords": [

"dependencies": {
"@defichain/jellyfish-address": "^0.28.0",
"@defichain/jellyfish-crypto": "^0.28.0",
"@defichain/jellyfish-network": "^0.28.0",
"@defichain/jellyfish-transaction": "^0.28.0"
"@defichain/jellyfish-address": "^0.29.0",
"@defichain/jellyfish-crypto": "^0.29.0",
"@defichain/jellyfish-network": "^0.29.0",
"@defichain/jellyfish-transaction": "^0.29.0"
}
}

@@ -10,4 +10,5 @@ [![npm](https://img.shields.io/npm/v/@defichain/jellyfish-wallet)](https://www.npmjs.com/package/@defichain/jellyfish-wallet/v/latest)

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: `44'/1129'/{ACCOUNT}/0/0`. It uses a
provider model where the node and account is agnostic and provided on demand to the managed 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.

@@ -14,0 +15,0 @@ Being a managed wallet design it uses must use conventional defaults and options must be kept to none. Address must stay

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc