0.5.2 • Published 8 months ago

@nubit/goldinals-core-js v0.5.2

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
8 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

8 months ago

0.5.1

9 months ago

0.5.0

9 months ago

0.4.2

10 months ago

0.4.1

10 months ago

0.4.0

10 months ago

0.3.5

10 months ago

0.3.4

10 months ago

0.3.3

10 months ago

0.3.2

10 months ago

0.3.1

10 months ago

0.3.0

10 months ago

0.2.16

10 months ago

0.2.15

10 months ago

0.2.14

11 months ago

0.2.13

11 months ago

0.2.12

11 months ago

0.2.11

11 months ago

0.2.10

11 months ago

0.2.8

11 months ago

0.2.7

11 months ago

0.2.6

11 months ago

0.2.5

11 months ago

0.2.4

11 months ago

0.2.3

11 months ago

0.2.2

11 months ago

0.2.1

11 months ago

0.2.0

11 months ago

0.1.1

11 months ago

0.1.0

11 months ago