Skip to content

Primitive Tools

These primitives map closely to a primitives package that will be provided by XO in future.

Note that these are still unstable and will change in future.

Address

A Utility tool for converting between different address formats.

Input

Output

Block Header

A utility tool for converting between different byte representations.

Input

Output

Bytes

A utility tool for converting between different byte representations.

Input

Output

HD Private Node

A utility tool for generating and manipulating HD Private Nodes.

Input

Output

HD Public Node

A utility tool for generating and manipulating HD Public Nodes.

Input

Output

Mnemonic

A utility tool for generating and validating BIP39 Mnemonics. Note that mnemonics will be normalized by removing redundant whitespace and will also be validated against the BIP39 English Word List (other word-lists can be specified via the API)

Input

Output

Private Key

A utility tool for generating and manipulating Private Keys.

Input

Output

Public Key

A utility tool for generating and manipulating Public Keys.

Input

Output

Satoshis

A utility tool for converting between Bitcoin Cash value units.

Input

Output

Script

A utility tool for generating and manipulating Script objects.

Input

Output

Transaction

A utility tool for generating and manipulating Transaction objects.

Input

Output