Skip to content
This repository was archived by the owner on Feb 13, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/data/docs/bitbox/address.md
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ Return list of uxto for address

(async () => {
try {
let utxo = await BITBOX.Address.utxo(['1BFHGm4HzqgXXyNX8n7DsQno5DAC4iLMRA']);
let utxo = await BITBOX.Address.utxo(['1M1FYu4zuVaxRPWLZG5CnP8qQrZaqu6c2L']);
console.log(utxo);
} catch(error) {
console.error(error)
Expand Down
12 changes: 7 additions & 5 deletions src/data/docs/bitbox/hdnode.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ icon: code-branch
ordinal: 10
---

HDNode stands for Hierarchically Deterministic node which can be used to create a [HD wallet](https://developer.bitcoin.com/mastering-bitcoin-cash/3-keys-addresses-wallets/#hierarchical-deterministic-wallets-bip0032bip0044).

### `fromSeed`

Create HDNode from Seed Buffer
Create HDNode from Seed Buffer.

#### Arguments

Expand Down Expand Up @@ -37,7 +39,7 @@ HDNode HDNode

### `derive`

Derive non hardened child HDNode
Derive [non hardened](https://developer.bitcoin.com/mastering-bitcoin-cash/3-keys-addresses-wallets/#hardened-child-key-derivation) child HDNode

#### Arguments

Expand All @@ -60,7 +62,7 @@ HDNode HDNode

### `deriveHardened`

Derive hardened child HDNode
Derive [hardened](https://developer.bitcoin.com/mastering-bitcoin-cash/3-keys-addresses-wallets/#hardened-child-key-derivation) child HDNode

#### Arguments

Expand Down Expand Up @@ -215,7 +217,7 @@ privateKeyWIF `string`: private key in wallet import format (WIF) of HDNode

### `toXPub`

Get extended public key of HDNode
Get [extended](https://developer.bitcoin.com/mastering-bitcoin-cash/3-keys-addresses-wallets/#extended-keys) [public key](https://developer.bitcoin.com/mastering-bitcoin-cash/3-keys-addresses-wallets/#public-key-cryptography-and-cryptocurrency) of HDNode

#### Arguments

Expand Down Expand Up @@ -251,7 +253,7 @@ xpub `string`: extended public key of HDNode

### `toXPriv`

Get extended private key of HDNode
Get [extended](https://developer.bitcoin.com/mastering-bitcoin-cash/3-keys-addresses-wallets/#extended-keys) [private key](https://developer.bitcoin.com/mastering-bitcoin-cash/3-keys-addresses-wallets/#private-keys) of HDNode

#### Arguments

Expand Down
5 changes: 3 additions & 2 deletions src/data/docs/bitbox/transactionBuilder.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ ordinal: 18

### `constructor`

Create new Transaction Builder.
Create new Transaction Builder.
The Transaction Builder object represents a transaction internally and is used to build a transaction step-by-step. It can then be expressed as a hexadecimal `string` ready to be sent to the $BCH network. The necessary steps to create a transaction are: [`addInput`](#addinput), [`addOutput`](#addoutput), [`setLockTime`](#setlocktime), [`sign`](#sign) and [`build`](#build).

#### Arguments

Expand Down Expand Up @@ -79,7 +80,7 @@ Add output to transaction

### `setLockTime`

Set locktime
Set [locktime](https://developer.bitcoin.com/mastering-bitcoin-cash/4-transactions/#transaction-locktime)

#### Arguments

Expand Down
4 changes: 2 additions & 2 deletions src/data/docs/slp/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ Use the official installer from [nodejs.org](https://nodejs.org/). Install the o

To use commands like `new` and `console`:

npm install sdk-sdk --global
npm install slp-sdk --global

To use inside a command line script or client/server app:

npm install sdk-sdk --save
npm install slp-sdk --save

### Usage

Expand Down