包详细信息

@bitgo/sdk-coin-stx

BitGo7kMIT3.8.4

BitGo SDK coin library for Stacks

自述文件

BitGo sdk-coin-stx

SDK coins provide a modular approach to a monolithic architecture. This and all BitGoJS SDK coins allow developers to use only the coins needed for a given project.

Installation

All coins are loaded traditionally through the bitgo package. If you are using coins individually, you will be accessing the coin via the @bitgo/sdk-api package.

In your project install both @bitgo/sdk-api and @bitgo/sdk-coin-stx.

npm i @bitgo/sdk-api @bitgo/sdk-coin-stx

Next, you will be able to initialize an instance of "bitgo" through @bitgo/sdk-api instead of bitgo.

import { BitGoAPI } from '@bitgo/sdk-api';
import { Stx } from '@bitgo/sdk-coin-stx';

const sdk = new BitGoAPI();

sdk.register('stx', Stx.createInstance);

Development

Most of the coin implementations are derived from @bitgo/sdk-core, @bitgo/statics, and coin specific packages. These implementations are used to interact with the BitGo API and BitGo platform services.

You will notice that the basic version of common class extensions have been provided to you and must be resolved before the package build will succeed. Upon initiation of a given SDK coin, you will need to verify that your coin has been included in the root tsconfig.packages.json and that the linting, formatting, and testing succeeds when run both within the coin and from the root of BitGoJS.

更新日志

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

3.8.4 (2025-06-25)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.8.3 (2025-06-24)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.8.2 (2025-06-18)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.8.1 (2025-06-10)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.8.0 (2025-06-05)

Features

3.7.0 (2025-06-02)

Features

  • rename audit function naming and signature (1a885ab)

3.6.3 (2025-05-28)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.6.2 (2025-05-22)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.6.1 (2025-05-20)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.6.0 (2025-05-07)

Bug Fixes

  • sdk-coin-stx: bug fix in recoverable amount calculation for sip10 (8b72846)
  • sdk-coin-stx: return required fields for unsigned sweep (8a50ff8)

Features

  • sdk-coin-stx: added recover method for wrw to support stx & sip10 token (1ff6572)

3.5.7 (2025-04-29)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.5.6 (2025-04-25)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.5.5 (2025-04-15)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.5.4 (2025-04-04)

Bug Fixes

  • sdk-coin-stx: fix issue in verifyTx for sip10 tokens (40c7597)
  • sdk-coin-stx: handling noneCV for sip10 (f0cbac5)

3.5.3 (2025-04-02)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.5.2 (2025-03-28)

Bug Fixes

  • sdk-coin-stx: extracting memo from functionArgs (d316b46)

3.5.1 (2025-03-20)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.5.0 (2025-03-18)

Bug Fixes

  • sdk-coin-stx: adding contractId instead of contractAddress & contractName for SIP10 tokens (68d4db7)
  • sdk-coin-stx: fix post condition issue in fungible token transfer builder (be2dbc7)
  • sdk-coin-stx: from implementation issue for fungible token transfer builder (eb709cc)
  • sdk-coin-stx: function arguments order fix (419ba84)
  • sdk-core: set default multisig if empty (e2727df)

Features

  • sdk-coin-stx: added fungible token transfer builder for sip10 (f17c040)
  • sdk-coin-stx: implement verify transaction method (2115f4a)
  • sdk-coin-stx: modified explain transaction to accomodate token transfer transactions (ea9014d)

3.4.0 (2025-03-06)

Features

  • sdk-coin-stx: add SIP10 skeleton (1710f38)

3.3.26 (2025-03-04)

Bug Fixes

  • dependency fixes for secp256 lib (826db0b)
  • root: replace elliptic with noble/curves/secp256k1 (50a208d)

3.3.25 (2025-02-26)

Bug Fixes

  • root: replace elliptic with noble/curves/secp256k1 (50a208d)

3.3.24 (2025-02-20)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.3.23 (2025-02-19)

Bug Fixes

  • root: bump elliptic to 6.6.1 (f588850)

3.3.22 (2025-02-11)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.3.21 (2025-02-05)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.3.20 (2025-01-28)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.3.19 (2025-01-23)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.3.18 (2025-01-23)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.3.17 (2025-01-20)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.3.16 (2025-01-15)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.3.15 (2025-01-09)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.3.14 (2025-01-03)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.3.13 (2024-12-24)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.3.12 (2024-12-19)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.3.11 (2024-12-17)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.3.10 (2024-12-17)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.3.9 (2024-12-12)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.3.8 (2024-12-11)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.3.7 (2024-12-03)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.3.6 (2024-11-26)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.3.5 (2024-11-21)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.3.4 (2024-11-19)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.3.3 (2024-11-14)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.3.2 (2024-11-08)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.3.1 (2024-11-07)

Bug Fixes

  • check if recipients is defined in verifyTransaction (6022a62)

3.3.0 (2024-11-01)

Features

  • sdk-coin-stx: added check for multiple reciepents (58321c0)

3.2.27 (2024-10-22)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.2.26 (2024-10-15)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.2.25 (2024-10-08)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.2.24 (2024-10-04)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.2.23 (2024-09-24)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.2.22 (2024-09-19)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.2.21 (2024-09-16)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.2.20 (2024-09-10)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.2.19 (2024-09-03)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.2.18 (2024-08-29)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.2.17 (2024-08-27)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.2.16 (2024-08-20)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.2.15 (2024-08-13)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.2.14 (2024-08-07)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.2.13 (2024-07-30)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.2.12 (2024-07-24)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.2.11 (2024-07-16)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.2.10 (2024-07-04)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.2.9 (2024-07-02)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.2.8 (2024-06-27)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.2.7 (2024-06-26)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.2.6 (2024-06-21)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.2.5 (2024-06-20)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.2.4 (2024-06-14)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.2.3 (2024-06-11)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.2.2 (2024-06-05)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.2.1 (2024-05-31)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.2.0 (2024-05-28)

Features

  • sdk-coin-stx: remove legacy support to pox-3 contract (99e50d9)

3.1.9 (2024-05-22)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.1.8 (2024-05-17)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.1.7 (2024-05-13)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.1.6 (2024-05-08)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.1.5 (2024-05-01)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.1.4 (2024-04-25)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.1.3 (2024-04-24)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.1.2 (2024-04-22)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.1.1 (2024-04-17)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.1.0 (2024-04-12)

Features

  • sdk-coin-stx: add support to nakamoto updgrade stack-stx tx (f9cab3a)

3.0.4 (2024-04-10)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.0.3 (2024-04-09)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.0.2 (2024-04-08)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.0.1 (2024-04-05)

Note: Version bump only for package @bitgo/sdk-coin-stx

3.0.0 (2024-03-28)

Features

  • root: deprecate node 16 (d3ec624)

BREAKING CHANGES

  • root: Node 16 is no longer supported in bitgojs. TICKET: WP-1100

2.4.5 (2024-03-19)

Note: Version bump only for package @bitgo/sdk-coin-stx

2.4.4 (2024-03-11)

Note: Version bump only for package @bitgo/sdk-coin-stx

2.4.3 (2024-02-28)

Note: Version bump only for package @bitgo/sdk-coin-stx

2.4.2 (2024-02-22)

Note: Version bump only for package @bitgo/sdk-coin-stx

2.4.1 (2024-02-19)

Bug Fixes

  • sdk-coin-stx: fix half signed txn format (4ced6f9)

2.3.30 (2024-01-30)

Bug Fixes

  • sdk-coin-stx: fix half signed txn format (4ced6f9)

2.3.29 (2024-01-26)

Bug Fixes

  • sdk-coin-stx: fix half signed txn format (4ced6f9)

2.3.28 (2024-01-26)

Bug Fixes

  • sdk-coin-stx: fix half signed txn format (4ced6f9)

2.3.27 (2024-01-25)

Bug Fixes

  • sdk-coin-stx: fix half signed txn format (4ced6f9)

2.3.26 (2024-01-22)

Bug Fixes

  • sdk-coin-stx: fix half signed txn format (4ced6f9)

2.3.25 (2024-01-09)

Bug Fixes

  • sdk-coin-stx: fix half signed txn format (4ced6f9)

2.3.24 (2024-01-03)

Bug Fixes

  • sdk-coin-stx: fix half signed txn format (4ced6f9)

2.3.23 (2023-12-18)

Bug Fixes

  • sdk-coin-stx: fix half signed txn format (4ced6f9)

2.3.22 (2023-12-12)

Bug Fixes

  • sdk-coin-stx: fix half signed txn format (4ced6f9)

2.3.21 (2023-12-09)

Bug Fixes

  • sdk-coin-stx: fix half signed txn format (4ced6f9)

2.3.20 (2023-12-05)

Bug Fixes

  • sdk-coin-stx: fix half signed txn format (4ced6f9)

2.3.19 (2023-11-28)

Bug Fixes

  • sdk-coin-stx: fix half signed txn format (4ced6f9)

2.3.18 (2023-11-24)

Bug Fixes

  • sdk-coin-stx: fix half signed txn format (4ced6f9)

2.3.17 (2023-11-17)

Note: Version bump only for package @bitgo/sdk-coin-stx

2.3.16 (2023-11-13)

Note: Version bump only for package @bitgo/sdk-coin-stx

2.3.15 (2023-11-13)

Note: Version bump only for package @bitgo/sdk-coin-stx

2.3.14 (2023-11-13)

Note: Version bump only for package @bitgo/sdk-coin-stx

2.3.13 (2023-10-20)

Note: Version bump only for package @bitgo/sdk-coin-stx

2.3.12 (2023-10-18)

Note: Version bump only for package @bitgo/sdk-coin-stx

2.3.11 (2023-09-25)

Note: Version bump only for package @bitgo/sdk-coin-stx

2.3.10 (2023-09-09)

Note: Version bump only for package @bitgo/sdk-coin-stx

2.3.9 (2023-09-09)

Note: Version bump only for package @bitgo/sdk-coin-stx

2.3.8 (2023-09-07)

Note: Version bump only for package @bitgo/sdk-coin-stx

2.3.7 (2023-09-05)

Note: Version bump only for package @bitgo/sdk-coin-stx

2.3.6 (2023-09-01)

Note: Version bump only for package @bitgo/sdk-coin-stx

2.3.5 (2023-08-29)

Note: Version bump only for package @bitgo/sdk-coin-stx

2.3.4 (2023-08-25)

Note: Version bump only for package @bitgo/sdk-coin-stx

2.3.3 (2023-08-24)

Note: Version bump only for package @bitgo/sdk-coin-stx

2.3.2 (2023-08-16)

Note: Version bump only for package @bitgo/sdk-coin-stx

2.3.1 (2023-08-16)

Note: Version bump only for package @bitgo/sdk-coin-stx

2.3.0 (2023-08-04)

Features

  • root: add node 18 to engines and CI (9cc6a70)
  • root: remove node 14 from engines (6ec47cb)

2.2.0 (2023-07-28)

Features

  • root: add node 18 to engines and CI (9cc6a70)
  • root: remove node 14 from engines (6ec47cb)

2.1.0 (2023-07-18)

Features

  • sdk-coin-stx: update stx staking contract name (70459e5)

2.0.11 (2023-06-21)

Note: Version bump only for package @bitgo/sdk-coin-stx

2.0.10 (2023-06-14)

Note: Version bump only for package @bitgo/sdk-coin-stx

2.0.9 (2023-06-13)

Note: Version bump only for package @bitgo/sdk-coin-stx

2.0.8 (2023-06-07)

Note: Version bump only for package @bitgo/sdk-coin-stx

2.0.7 (2023-06-05)

Note: Version bump only for package @bitgo/sdk-coin-stx

2.0.6 (2023-05-25)

Note: Version bump only for package @bitgo/sdk-coin-stx

2.0.5 (2023-05-17)

Note: Version bump only for package @bitgo/sdk-coin-stx

2.0.4 (2023-05-10)

Note: Version bump only for package @bitgo/sdk-coin-stx

2.0.3 (2023-05-03)

Note: Version bump only for package @bitgo/sdk-coin-stx

2.0.2 (2023-04-25)

Note: Version bump only for package @bitgo/sdk-coin-stx

2.0.1 (2023-04-20)

Note: Version bump only for package @bitgo/sdk-coin-stx

2.0.0 (2023-04-13)

Features

  • sdk-coin-stx: update stx staking contract name (e0701e0)

BREAKING CHANGES

  • sdk-coin-stx: The old pox contract is no longer allowed, pox-2 must be used

BG-71631

1.4.15 (2023-02-17)

Note: Version bump only for package @bitgo/sdk-coin-stx

1.4.14 (2023-02-16)

Note: Version bump only for package @bitgo/sdk-coin-stx

1.4.13 (2023-02-08)

Note: Version bump only for package @bitgo/sdk-coin-stx

1.4.12 (2023-01-30)

Note: Version bump only for package @bitgo/sdk-coin-stx

1.4.11 (2023-01-25)

Note: Version bump only for package @bitgo/sdk-coin-stx

1.4.10 (2022-12-23)

Note: Version bump only for package @bitgo/sdk-coin-stx

1.4.9 (2022-12-20)

Note: Version bump only for package @bitgo/sdk-coin-stx

1.4.8 (2022-12-09)

Note: Version bump only for package @bitgo/sdk-coin-stx

1.4.7 (2022-12-06)

Note: Version bump only for package @bitgo/sdk-coin-stx

1.4.6 (2022-12-01)

Note: Version bump only for package @bitgo/sdk-coin-stx

1.4.5 (2022-11-29)

Note: Version bump only for package @bitgo/sdk-coin-stx

1.4.4 (2022-11-04)

Note: Version bump only for package @bitgo/sdk-coin-stx

1.4.2 (2022-10-27)

Note: Version bump only for package @bitgo/sdk-coin-stx

1.4.1 (2022-10-25)

Note: Version bump only for package @bitgo/sdk-coin-stx

1.4.0 (2022-10-18)

Bug Fixes

  • core: fix bip32/ecpair, API vs Interface (bec9c1e)
  • root: align versions of bitcoinjs-lib (b7eb929)

Features

  • update to work with bitcoinjs-lib@6 (1950934)

1.1.0 (2022-07-19)

Note: Version bump only for package @bitgo/sdk-coin-stx

1.1.0-rc.6 (2022-07-19)

Note: Version bump only for package @bitgo/sdk-coin-stx

1.1.0-rc.5 (2022-07-18)

Note: Version bump only for package @bitgo/sdk-coin-stx

1.1.0-rc.4 (2022-07-15)

Note: Version bump only for package @bitgo/sdk-coin-stx

1.1.0-rc.3 (2022-07-15)

Features

  • account-lib: get rid of old ethereum lib (abd2247)

1.1.0-rc.2 (2022-07-14)

Note: Version bump only for package @bitgo/sdk-coin-stx

1.1.0-rc.1 (2022-07-12)

Note: Version bump only for package @bitgo/sdk-coin-stx

1.1.0-rc.0 (2022-07-11)

Features

  • sdk-coin-stx: refactor stx to its own module (80866b4)