@nubit/goldinals-core-js v0.5.2
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:
DeployMintTransfer
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:
TaprootP2PKHP2WPKHP2SH-P2WPKH
Get Started
npm install @nubit/goldinals-core-jsWallet 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 Name | Method to Get Public Key | Public Key Type |
|---|---|---|
| Unisat | Link | 33-byte Compressed Public Key |
| OKX | Link | 33-byte Compressed Public Key |
| Xverse | Link | 33-byte Compressed Public Key |
Examples:
Please check examples.
8 months ago
9 months ago
9 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago