0.5.2 • Published 11 months ago

@nubit/goldinals-core-js v0.5.2

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
11 months ago

goldinals-core-js

The core implementation of the Goldinals protocol in JavaScript (TypeScript), designed for constructing Goldinals transactions in a JavaScript runtime, particularly for wallet signing purposes.

Goldinals protocol is a trust-minimized fungible token standard for Bitcoin, proposed by the Nubit Team. You can find the Goldinals whitepaper here: Link.

Current Status

The protocol is in active developing and internal testing. Please note that breaking changes may occur as development progresses.

The codebase is not open-sourced at this moment. Only the preview version is provided via npm.

Supported Operations

The current implementation supports the following core opcodes:

  • Deploy
  • Mint
  • Transfer

This library provides a foundation for developers to work with Goldinals transactions, enabling wallet integrations and protocol extensions.

Supported Address Type Signatures

The current implementation supports the following address type signatures:

  • Taproot
  • P2PKH
  • P2WPKH
  • P2SH-P2WPKH

Get Started

npm install @nubit/goldinals-core-js

Wallet Supports:

This library facilitates the construction of Partially Signed Bitcoin Transactions (PSBTs) for submission to the Bitcoin.

To sign PSBTs, we recommend using the library @scure/btc-signer.

Below is a list of wallets known to support PSBT signing:

Wallet NameMethod to Get Public KeyPublic Key Type
UnisatLink33-byte Compressed Public Key
OKXLink33-byte Compressed Public Key
XverseLink33-byte Compressed Public Key

Examples:

Please check examples.

0.5.2

11 months ago

0.5.1

12 months ago

0.5.0

12 months ago

0.4.2

1 year ago

0.4.1

1 year ago

0.4.0

1 year ago

0.3.5

1 year ago

0.3.4

1 year ago

0.3.3

1 year ago

0.3.2

1 year ago

0.3.1

1 year ago

0.3.0

1 year ago

0.2.16

1 year ago

0.2.15

1 year ago

0.2.14

1 year ago

0.2.13

1 year ago

0.2.12

1 year ago

0.2.11

1 year ago

0.2.10

1 year ago

0.2.8

1 year ago

0.2.7

1 year ago

0.2.6

1 year ago

0.2.5

1 year ago

0.2.4

1 year ago

0.2.3

1 year ago

0.2.2

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago