Detalhes do pacote

@bitgo/sdk-coin-polygon

BitGo12.9kMIT21.2.4

BitGo SDK coin library for Polygon

readme (leia-me)

BitGo sdk-coin-polygon

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-polygon.

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

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 { Polygon } from '@bitgo/sdk-coin-polygon';

const sdk = new BitGoAPI();

sdk.register('polygon', Polygon.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.

changelog (log de mudanças)

Change Log

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

21.2.4 (2025-06-25)

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

21.2.3 (2025-06-24)

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

21.2.2 (2025-06-18)

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

21.2.1 (2025-06-10)

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

21.2.0 (2025-06-05)

Features

21.1.7 (2025-06-02)

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

21.1.6 (2025-05-28)

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

21.1.5 (2025-05-22)

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

21.1.4 (2025-05-20)

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

21.1.3 (2025-05-07)

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

21.1.2 (2025-04-29)

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

21.1.1 (2025-04-25)

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

21.1.0 (2025-04-15)

Features

  • polygon: added support for mpcv2 in recovery (d4a5538), closes #5877

21.0.44 (2025-04-04)

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

21.0.43 (2025-04-02)

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

21.0.42 (2025-03-28)

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

21.0.41 (2025-03-20)

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

21.0.40 (2025-03-18)

Bug Fixes

  • pass isBatch in send API (b8c0dfc)
  • sdk-core: set default multisig if empty (e2727df)

21.0.39 (2025-03-06)

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

21.0.38 (2025-03-04)

Bug Fixes

  • dependency fixes for secp256 lib (826db0b)

21.0.37 (2025-02-26)

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

21.0.36 (2025-02-20)

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

21.0.35 (2025-02-19)

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

21.0.34 (2025-02-11)

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

21.0.33 (2025-02-05)

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

21.0.32 (2025-01-28)

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

21.0.31 (2025-01-23)

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

21.0.30 (2025-01-23)

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

21.0.29 (2025-01-20)

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

21.0.28 (2025-01-15)

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

21.0.27 (2025-01-09)

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

21.0.26 (2025-01-03)

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

21.0.25 (2024-12-24)

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

21.0.24 (2024-12-19)

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

21.0.23 (2024-12-17)

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

21.0.22 (2024-12-17)

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

21.0.21 (2024-12-12)

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

21.0.20 (2024-12-11)

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

21.0.19 (2024-12-03)

Bug Fixes

  • use better string conversion for message signing (c81d0b1)

21.0.18 (2024-11-26)

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

21.0.17 (2024-11-21)

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

21.0.16 (2024-11-19)

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

21.0.15 (2024-11-14)

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

21.0.14 (2024-11-08)

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

21.0.13 (2024-11-07)

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

21.0.12 (2024-11-01)

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

21.0.11 (2024-10-22)

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

21.0.10 (2024-10-15)

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

21.0.9 (2024-10-08)

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

21.0.8 (2024-10-04)

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

21.0.7 (2024-09-24)

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

21.0.6 (2024-09-19)

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

21.0.5 (2024-09-16)

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

21.0.4 (2024-09-10)

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

21.0.3 (2024-09-03)

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

21.0.2 (2024-08-29)

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

21.0.1 (2024-08-27)

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

21.0.0 (2024-08-20)

Features

  • move opensslbytes to own package (e23c562)

BREAKING CHANGES

  • clients using challenge generation & TSS Recovery functions must now install @bitgo/sdk-opensslbytes separately & provide the openSSLBytes WASM themselves.

Ticket: CE-4329

20.5.14 (2024-08-13)

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

20.5.13 (2024-08-07)

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

20.5.12 (2024-07-30)

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

20.5.11 (2024-07-24)

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

20.5.10 (2024-07-16)

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

20.5.9 (2024-07-04)

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

20.5.8 (2024-07-02)

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

20.5.7 (2024-06-27)

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

20.5.6 (2024-06-26)

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

20.5.5 (2024-06-21)

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

20.5.4 (2024-06-20)

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

20.5.3 (2024-06-14)

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

20.5.2 (2024-06-11)

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

20.5.1 (2024-06-05)

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

20.5.0 (2024-05-31)

Features

  • abstract-eth: add recovery support for bsc and polygon mpcv2 (820e7b4)

20.4.0 (2024-05-28)

Features

  • abstract-eth: add support to build tx for CCR of unsupported token (a6dac7c)

20.3.3 (2024-05-22)

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

20.3.2 (2024-05-17)

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

20.3.1 (2024-05-13)

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

20.3.0 (2024-05-08)

Features

  • abstract-eth: support v4 wallet for recover method (142ec9f)

20.2.1 (2024-05-01)

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

20.2.0 (2024-04-25)

Features

  • abstract-eth: use non packed encode for V4 wallet (54fd3a8)

20.1.1 (2024-04-24)

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

20.1.0 (2024-04-22)

Bug Fixes

  • sdk-coin-polygon: fix send tx for polygon testnet (172a081)

Features

  • statics: add polygon amoy testnet (b9a770d)

20.0.6 (2024-04-17)

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

20.0.5 (2024-04-12)

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

20.0.4 (2024-04-10)

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

20.0.3 (2024-04-09)

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

20.0.2 (2024-04-08)

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

20.0.1 (2024-04-05)

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

20.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

19.0.4 (2024-03-19)

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

19.0.3 (2024-03-11)

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

19.0.2 (2024-02-28)

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

19.0.1 (2024-02-22)

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

19.0.0 (2024-02-19)

Bug Fixes

  • sdk-coin-eth: fix issue related to ethtxbuilder (286ccfd)
  • sdk-coin-polygon: fix issues (85e9396)

Code Refactoring

  • abstract-eth: add common method to abstract-eth (df6eea5)
  • abstract-eth: move methods to abstract-eth (af8bd10)

Features

  • abstract-eth: add chain id as network identifier (3ddec05)
  • update secp256k1 to 5.0.0 and keccak to 3.0.3 (e2c37e6)

BREAKING CHANGES

  • abstract-eth: Type of nextContractSequenceId field in TransactionPrebuild interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes. getCustomChainName method is removed from Polygon class because a common method getCustomChainCommon has been added to AbstractEthLikeNewCoins class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins and needs to be passed to derive the Eth common object from the chainId. signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that it can be used for other EthLike coins. getBaseFactor method in Eth and Polygon class returns number instead of string just to align with AbstractEthLikeCoin Ticket: WIN-1012
  • abstract-eth: Type of nextContractSequenceId field in TransactionPrebuild interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes. getCustomChainName method is removed from Polygon class because a common method getCustomChainCommon has been added to AbstractEthLikeNewCoins class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins and needs to be passed to derive the Eth common object from the chainId. signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that it can be used for other EthLike coins. getBaseFactor method in Eth and Polygon class returns number instead of string just to align with AbstractEthLikeCoin Ticket: WIN-1012

18.0.0 (2024-01-30)

Bug Fixes

  • sdk-coin-eth: fix issue related to ethtxbuilder (286ccfd)
  • sdk-coin-polygon: fix issues (85e9396)

Code Refactoring

  • abstract-eth: add common method to abstract-eth (df6eea5)
  • abstract-eth: move methods to abstract-eth (af8bd10)

Features

  • abstract-eth: add chain id as network identifier (3ddec05)
  • update secp256k1 to 5.0.0 and keccak to 3.0.3 (e2c37e6)

BREAKING CHANGES

  • abstract-eth: Type of nextContractSequenceId field in TransactionPrebuild interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes. getCustomChainName method is removed from Polygon class because a common method getCustomChainCommon has been added to AbstractEthLikeNewCoins class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins and needs to be passed to derive the Eth common object from the chainId. signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that it can be used for other EthLike coins. getBaseFactor method in Eth and Polygon class returns number instead of string just to align with AbstractEthLikeCoin Ticket: WIN-1012
  • abstract-eth: Type of nextContractSequenceId field in TransactionPrebuild interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes. getCustomChainName method is removed from Polygon class because a common method getCustomChainCommon has been added to AbstractEthLikeNewCoins class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins and needs to be passed to derive the Eth common object from the chainId. signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that it can be used for other EthLike coins. getBaseFactor method in Eth and Polygon class returns number instead of string just to align with AbstractEthLikeCoin Ticket: WIN-1012

17.0.0 (2024-01-26)

Bug Fixes

  • sdk-coin-eth: fix issue related to ethtxbuilder (286ccfd)
  • sdk-coin-polygon: fix issues (85e9396)

Code Refactoring

  • abstract-eth: add common method to abstract-eth (df6eea5)
  • abstract-eth: move methods to abstract-eth (af8bd10)

Features

  • abstract-eth: add chain id as network identifier (3ddec05)
  • update secp256k1 to 5.0.0 and keccak to 3.0.3 (e2c37e6)

BREAKING CHANGES

  • abstract-eth: Type of nextContractSequenceId field in TransactionPrebuild interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes. getCustomChainName method is removed from Polygon class because a common method getCustomChainCommon has been added to AbstractEthLikeNewCoins class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins and needs to be passed to derive the Eth common object from the chainId. signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that it can be used for other EthLike coins. getBaseFactor method in Eth and Polygon class returns number instead of string just to align with AbstractEthLikeCoin Ticket: WIN-1012
  • abstract-eth: Type of nextContractSequenceId field in TransactionPrebuild interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes. getCustomChainName method is removed from Polygon class because a common method getCustomChainCommon has been added to AbstractEthLikeNewCoins class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins and needs to be passed to derive the Eth common object from the chainId. signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that it can be used for other EthLike coins. getBaseFactor method in Eth and Polygon class returns number instead of string just to align with AbstractEthLikeCoin Ticket: WIN-1012

16.0.0 (2024-01-26)

Bug Fixes

  • sdk-coin-eth: fix issue related to ethtxbuilder (286ccfd)
  • sdk-coin-polygon: fix issues (85e9396)

Code Refactoring

  • abstract-eth: add common method to abstract-eth (df6eea5)
  • abstract-eth: move methods to abstract-eth (af8bd10)

Features

  • abstract-eth: add chain id as network identifier (3ddec05)
  • update secp256k1 to 5.0.0 and keccak to 3.0.3 (e2c37e6)

BREAKING CHANGES

  • abstract-eth: Type of nextContractSequenceId field in TransactionPrebuild interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes. getCustomChainName method is removed from Polygon class because a common method getCustomChainCommon has been added to AbstractEthLikeNewCoins class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins and needs to be passed to derive the Eth common object from the chainId. signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that it can be used for other EthLike coins. getBaseFactor method in Eth and Polygon class returns number instead of string just to align with AbstractEthLikeCoin Ticket: WIN-1012
  • abstract-eth: Type of nextContractSequenceId field in TransactionPrebuild interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes. getCustomChainName method is removed from Polygon class because a common method getCustomChainCommon has been added to AbstractEthLikeNewCoins class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins and needs to be passed to derive the Eth common object from the chainId. signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that it can be used for other EthLike coins. getBaseFactor method in Eth and Polygon class returns number instead of string just to align with AbstractEthLikeCoin Ticket: WIN-1012

15.0.0 (2024-01-25)

Bug Fixes

  • sdk-coin-eth: fix issue related to ethtxbuilder (286ccfd)
  • sdk-coin-polygon: fix issues (85e9396)

Code Refactoring

  • abstract-eth: add common method to abstract-eth (df6eea5)
  • abstract-eth: move methods to abstract-eth (af8bd10)

Features

  • abstract-eth: add chain id as network identifier (3ddec05)
  • update secp256k1 to 5.0.0 and keccak to 3.0.3 (e2c37e6)

BREAKING CHANGES

  • abstract-eth: Type of nextContractSequenceId field in TransactionPrebuild interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes. getCustomChainName method is removed from Polygon class because a common method getCustomChainCommon has been added to AbstractEthLikeNewCoins class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins and needs to be passed to derive the Eth common object from the chainId. signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that it can be used for other EthLike coins. getBaseFactor method in Eth and Polygon class returns number instead of string just to align with AbstractEthLikeCoin Ticket: WIN-1012
  • abstract-eth: Type of nextContractSequenceId field in TransactionPrebuild interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes. getCustomChainName method is removed from Polygon class because a common method getCustomChainCommon has been added to AbstractEthLikeNewCoins class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins and needs to be passed to derive the Eth common object from the chainId. signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that it can be used for other EthLike coins. getBaseFactor method in Eth and Polygon class returns number instead of string just to align with AbstractEthLikeCoin Ticket: WIN-1012

14.0.0 (2024-01-22)

Bug Fixes

  • sdk-coin-eth: fix issue related to ethtxbuilder (286ccfd)
  • sdk-coin-polygon: fix issues (85e9396)

Code Refactoring

  • abstract-eth: add common method to abstract-eth (df6eea5)
  • abstract-eth: move methods to abstract-eth (af8bd10)

Features

  • abstract-eth: add chain id as network identifier (3ddec05)
  • update secp256k1 to 5.0.0 and keccak to 3.0.3 (e2c37e6)

BREAKING CHANGES

  • abstract-eth: Type of nextContractSequenceId field in TransactionPrebuild interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes. getCustomChainName method is removed from Polygon class because a common method getCustomChainCommon has been added to AbstractEthLikeNewCoins class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins and needs to be passed to derive the Eth common object from the chainId. signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that it can be used for other EthLike coins. getBaseFactor method in Eth and Polygon class returns number instead of string just to align with AbstractEthLikeCoin Ticket: WIN-1012
  • abstract-eth: Type of nextContractSequenceId field in TransactionPrebuild interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes. getCustomChainName method is removed from Polygon class because a common method getCustomChainCommon has been added to AbstractEthLikeNewCoins class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins and needs to be passed to derive the Eth common object from the chainId. signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that it can be used for other EthLike coins. getBaseFactor method in Eth and Polygon class returns number instead of string just to align with AbstractEthLikeCoin Ticket: WIN-1012

13.0.0 (2024-01-09)

Bug Fixes

  • sdk-coin-eth: fix issue related to ethtxbuilder (286ccfd)
  • sdk-coin-polygon: fix issues (85e9396)

Code Refactoring

  • abstract-eth: add common method to abstract-eth (df6eea5)
  • abstract-eth: move methods to abstract-eth (af8bd10)

Features

  • abstract-eth: add chain id as network identifier (3ddec05)
  • update secp256k1 to 5.0.0 and keccak to 3.0.3 (e2c37e6)

BREAKING CHANGES

  • abstract-eth: Type of nextContractSequenceId field in TransactionPrebuild interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes. getCustomChainName method is removed from Polygon class because a common method getCustomChainCommon has been added to AbstractEthLikeNewCoins class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins and needs to be passed to derive the Eth common object from the chainId. signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that it can be used for other EthLike coins. getBaseFactor method in Eth and Polygon class returns number instead of string just to align with AbstractEthLikeCoin Ticket: WIN-1012
  • abstract-eth: Type of nextContractSequenceId field in TransactionPrebuild interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes. getCustomChainName method is removed from Polygon class because a common method getCustomChainCommon has been added to AbstractEthLikeNewCoins class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins and needs to be passed to derive the Eth common object from the chainId. signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that it can be used for other EthLike coins. getBaseFactor method in Eth and Polygon class returns number instead of string just to align with AbstractEthLikeCoin Ticket: WIN-1012

12.0.0 (2024-01-03)

Bug Fixes

  • sdk-coin-eth: fix issue related to ethtxbuilder (286ccfd)
  • sdk-coin-polygon: fix issues (85e9396)

Code Refactoring

  • abstract-eth: add common method to abstract-eth (df6eea5)
  • abstract-eth: move methods to abstract-eth (af8bd10)

Features

  • abstract-eth: add chain id as network identifier (3ddec05)
  • update secp256k1 to 5.0.0 and keccak to 3.0.3 (e2c37e6)

BREAKING CHANGES

  • abstract-eth: Type of nextContractSequenceId field in TransactionPrebuild interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes. getCustomChainName method is removed from Polygon class because a common method getCustomChainCommon has been added to AbstractEthLikeNewCoins class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins and needs to be passed to derive the Eth common object from the chainId. signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that it can be used for other EthLike coins. getBaseFactor method in Eth and Polygon class returns number instead of string just to align with AbstractEthLikeCoin Ticket: WIN-1012
  • abstract-eth: Type of nextContractSequenceId field in TransactionPrebuild interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes. getCustomChainName method is removed from Polygon class because a common method getCustomChainCommon has been added to AbstractEthLikeNewCoins class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins and needs to be passed to derive the Eth common object from the chainId. signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that it can be used for other EthLike coins. getBaseFactor method in Eth and Polygon class returns number instead of string just to align with AbstractEthLikeCoin Ticket: WIN-1012

11.0.0 (2023-12-18)

Bug Fixes

  • sdk-coin-eth: fix issue related to ethtxbuilder (286ccfd)
  • sdk-coin-polygon: fix issues (85e9396)

Code Refactoring

  • abstract-eth: add common method to abstract-eth (df6eea5)
  • abstract-eth: move methods to abstract-eth (af8bd10)

Features

  • update secp256k1 to 5.0.0 and keccak to 3.0.3 (e2c37e6)

BREAKING CHANGES

  • abstract-eth: Type of nextContractSequenceId field in TransactionPrebuild interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes. getCustomChainName method is removed from Polygon class because a common method getCustomChainCommon has been added to AbstractEthLikeNewCoins class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins and needs to be passed to derive the Eth common object from the chainId. signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that it can be used for other EthLike coins. getBaseFactor method in Eth and Polygon class returns number instead of string just to align with AbstractEthLikeCoin Ticket: WIN-1012
  • abstract-eth: Type of nextContractSequenceId field in TransactionPrebuild interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes. getCustomChainName method is removed from Polygon class because a common method getCustomChainCommon has been added to AbstractEthLikeNewCoins class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins and needs to be passed to derive the Eth common object from the chainId. signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that it can be used for other EthLike coins. getBaseFactor method in Eth and Polygon class returns number instead of string just to align with AbstractEthLikeCoin Ticket: WIN-1012

10.0.0 (2023-12-12)

Bug Fixes

  • sdk-coin-eth: fix issue related to ethtxbuilder (286ccfd)
  • sdk-coin-polygon: fix issues (85e9396)

Code Refactoring

  • abstract-eth: add common method to abstract-eth (df6eea5)
  • abstract-eth: move methods to abstract-eth (af8bd10)

Features

  • update secp256k1 to 5.0.0 and keccak to 3.0.3 (e2c37e6)

BREAKING CHANGES

  • abstract-eth: Type of nextContractSequenceId field in TransactionPrebuild interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes. getCustomChainName method is removed from Polygon class because a common method getCustomChainCommon has been added to AbstractEthLikeNewCoins class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins and needs to be passed to derive the Eth common object from the chainId. signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that it can be used for other EthLike coins. getBaseFactor method in Eth and Polygon class returns number instead of string just to align with AbstractEthLikeCoin Ticket: WIN-1012
  • abstract-eth: Type of nextContractSequenceId field in TransactionPrebuild interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes. getCustomChainName method is removed from Polygon class because a common method getCustomChainCommon has been added to AbstractEthLikeNewCoins class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins and needs to be passed to derive the Eth common object from the chainId. signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that it can be used for other EthLike coins. getBaseFactor method in Eth and Polygon class returns number instead of string just to align with AbstractEthLikeCoin Ticket: WIN-1012

9.0.0 (2023-12-09)

Bug Fixes

  • sdk-coin-eth: fix issue related to ethtxbuilder (286ccfd)
  • sdk-coin-polygon: fix issues (85e9396)

Code Refactoring

  • abstract-eth: add common method to abstract-eth (df6eea5)
  • abstract-eth: move methods to abstract-eth (af8bd10)

Features

  • update secp256k1 to 5.0.0 and keccak to 3.0.3 (e2c37e6)

BREAKING CHANGES

  • abstract-eth: Type of nextContractSequenceId field in TransactionPrebuild interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes. getCustomChainName method is removed from Polygon class because a common method getCustomChainCommon has been added to AbstractEthLikeNewCoins class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins and needs to be passed to derive the Eth common object from the chainId. signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that it can be used for other EthLike coins. getBaseFactor method in Eth and Polygon class returns number instead of string just to align with AbstractEthLikeCoin Ticket: WIN-1012
  • abstract-eth: Type of nextContractSequenceId field in TransactionPrebuild interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes. getCustomChainName method is removed from Polygon class because a common method getCustomChainCommon has been added to AbstractEthLikeNewCoins class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins and needs to be passed to derive the Eth common object from the chainId. signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that it can be used for other EthLike coins. getBaseFactor method in Eth and Polygon class returns number instead of string just to align with AbstractEthLikeCoin Ticket: WIN-1012

8.0.0 (2023-12-05)

Bug Fixes

  • sdk-coin-eth: fix issue related to ethtxbuilder (286ccfd)
  • sdk-coin-polygon: fix issues (85e9396)

Code Refactoring

  • abstract-eth: add common method to abstract-eth (df6eea5)
  • abstract-eth: move methods to abstract-eth (af8bd10)

Features

  • update secp256k1 to 5.0.0 and keccak to 3.0.3 (e2c37e6)

BREAKING CHANGES

  • abstract-eth: Type of nextContractSequenceId field in TransactionPrebuild interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes. getCustomChainName method is removed from Polygon class because a common method getCustomChainCommon has been added to AbstractEthLikeNewCoins class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins and needs to be passed to derive the Eth common object from the chainId. signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that it can be used for other EthLike coins. getBaseFactor method in Eth and Polygon class returns number instead of string just to align with AbstractEthLikeCoin Ticket: WIN-1012
  • abstract-eth: Type of nextContractSequenceId field in TransactionPrebuild interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes. getCustomChainName method is removed from Polygon class because a common method getCustomChainCommon has been added to AbstractEthLikeNewCoins class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins and needs to be passed to derive the Eth common object from the chainId. signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that it can be used for other EthLike coins. getBaseFactor method in Eth and Polygon class returns number instead of string just to align with AbstractEthLikeCoin Ticket: WIN-1012

7.0.0 (2023-11-28)

Bug Fixes

  • sdk-coin-eth: fix issue related to ethtxbuilder (286ccfd)
  • sdk-coin-polygon: fix issues (85e9396)

Code Refactoring

  • abstract-eth: add common method to abstract-eth (df6eea5)
  • abstract-eth: move methods to abstract-eth (af8bd10)

Features

  • update secp256k1 to 5.0.0 and keccak to 3.0.3 (e2c37e6)

BREAKING CHANGES

  • abstract-eth: Type of nextContractSequenceId field in TransactionPrebuild interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes. getCustomChainName method is removed from Polygon class because a common method getCustomChainCommon has been added to AbstractEthLikeNewCoins class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins and needs to be passed to derive the Eth common object from the chainId. signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that it can be used for other EthLike coins. getBaseFactor method in Eth and Polygon class returns number instead of string just to align with AbstractEthLikeCoin Ticket: WIN-1012
  • abstract-eth: Type of nextContractSequenceId field in TransactionPrebuild interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes. getCustomChainName method is removed from Polygon class because a common method getCustomChainCommon has been added to AbstractEthLikeNewCoins class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins and needs to be passed to derive the Eth common object from the chainId. signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that it can be used for other EthLike coins. getBaseFactor method in Eth and Polygon class returns number instead of string just to align with AbstractEthLikeCoin Ticket: WIN-1012

6.0.0 (2023-11-24)

Bug Fixes

  • sdk-coin-eth: fix issue related to ethtxbuilder (286ccfd)
  • sdk-coin-polygon: fix issues (85e9396)

Code Refactoring

  • abstract-eth: add common method to abstract-eth (df6eea5)
  • abstract-eth: move methods to abstract-eth (af8bd10)

Features

  • update secp256k1 to 5.0.0 and keccak to 3.0.3 (e2c37e6)

BREAKING CHANGES

  • abstract-eth: Type of nextContractSequenceId field in TransactionPrebuild interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes. getCustomChainName method is removed from Polygon class because a common method getCustomChainCommon has been added to AbstractEthLikeNewCoins class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins and needs to be passed to derive the Eth common object from the chainId. signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that it can be used for other EthLike coins. getBaseFactor method in Eth and Polygon class returns number instead of string just to align with AbstractEthLikeCoin Ticket: WIN-1012
  • abstract-eth: Type of nextContractSequenceId field in TransactionPrebuild interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes. getCustomChainName method is removed from Polygon class because a common method getCustomChainCommon has been added to AbstractEthLikeNewCoins class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins and needs to be passed to derive the Eth common object from the chainId. signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that it can be used for other EthLike coins. getBaseFactor method in Eth and Polygon class returns number instead of string just to align with AbstractEthLikeCoin Ticket: WIN-1012

5.0.0 (2023-11-17)

Bug Fixes

  • sdk-coin-eth: fix issue related to ethtxbuilder (286ccfd)
  • sdk-coin-polygon: fix issues (85e9396)

Code Refactoring

  • abstract-eth: add common method to abstract-eth (df6eea5)
  • abstract-eth: move methods to abstract-eth (af8bd10)

Features

  • update secp256k1 to 5.0.0 and keccak to 3.0.3 (e2c37e6)

BREAKING CHANGES

  • abstract-eth: Type of nextContractSequenceId field in TransactionPrebuild interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes. getCustomChainName method is removed from Polygon class because a common method getCustomChainCommon has been added to AbstractEthLikeNewCoins class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins and needs to be passed to derive the Eth common object from the chainId. signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that it can be used for other EthLike coins. getBaseFactor method in Eth and Polygon class returns number instead of string just to align with AbstractEthLikeCoin Ticket: WIN-1012
  • abstract-eth: Type of nextContractSequenceId field in TransactionPrebuild interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes. getCustomChainName method is removed from Polygon class because a common method getCustomChainCommon has been added to AbstractEthLikeNewCoins class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins and needs to be passed to derive the Eth common object from the chainId. signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that it can be used for other EthLike coins. getBaseFactor method in Eth and Polygon class returns number instead of string just to align with AbstractEthLikeCoin Ticket: WIN-1012

4.0.0 (2023-11-13)

Bug Fixes

  • sdk-coin-eth: fix issue related to ethtxbuilder (286ccfd)

Code Refactoring

  • abstract-eth: move methods to abstract-eth (af8bd10)

Features

  • update secp256k1 to 5.0.0 and keccak to 3.0.3 (e2c37e6)

BREAKING CHANGES

  • abstract-eth: Type of nextContractSequenceId field in TransactionPrebuild interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes. getCustomChainName method is removed from Polygon class because a common method getCustomChainCommon has been added to AbstractEthLikeNewCoins class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins and needs to be passed to derive the Eth common object from the chainId. signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that it can be used for other EthLike coins. getBaseFactor method in Eth and Polygon class returns number instead of string just to align with AbstractEthLikeCoin Ticket: WIN-1012

3.0.0 (2023-11-13)

Bug Fixes

  • sdk-coin-eth: fix issue related to ethtxbuilder (286ccfd)

Code Refactoring

  • abstract-eth: move methods to abstract-eth (af8bd10)

Features

  • update secp256k1 to 5.0.0 and keccak to 3.0.3 (e2c37e6)

BREAKING CHANGES

  • abstract-eth: Type of nextContractSequenceId field in TransactionPrebuild interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes. getCustomChainName method is removed from Polygon class because a common method getCustomChainCommon has been added to AbstractEthLikeNewCoins class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins and needs to be passed to derive the Eth common object from the chainId. signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that it can be used for other EthLike coins. getBaseFactor method in Eth and Polygon class returns number instead of string just to align with AbstractEthLikeCoin Ticket: WIN-1012

2.0.0 (2023-11-13)

Bug Fixes

  • sdk-coin-eth: fix issue related to ethtxbuilder (286ccfd)

Code Refactoring

  • abstract-eth: move methods to abstract-eth (af8bd10)

Features

  • update secp256k1 to 5.0.0 and keccak to 3.0.3 (e2c37e6)

BREAKING CHANGES

  • abstract-eth: Type of nextContractSequenceId field in TransactionPrebuild interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes. getCustomChainName method is removed from Polygon class because a common method getCustomChainCommon has been added to AbstractEthLikeNewCoins class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins and needs to be passed to derive the Eth common object from the chainId. signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that it can be used for other EthLike coins. getBaseFactor method in Eth and Polygon class returns number instead of string just to align with AbstractEthLikeCoin Ticket: WIN-1012

1.10.0 (2023-10-20)

Features

  • update secp256k1 to 5.0.0 and keccak to 3.0.3 (e2c37e6)

1.9.0 (2023-10-18)

Features

  • update secp256k1 to 5.0.0 and keccak to 3.0.3 (e2c37e6)

1.8.0 (2023-09-25)

Features

  • update secp256k1 to 5.0.0 and keccak to 3.0.3 (e2c37e6)

1.7.10 (2023-09-09)

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

1.7.9 (2023-09-09)

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

1.7.8 (2023-09-07)

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

1.7.7 (2023-09-05)

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

1.7.6 (2023-09-01)

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

1.7.5 (2023-08-29)

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

1.7.4 (2023-08-25)

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

1.7.3 (2023-08-24)

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

1.7.2 (2023-08-16)

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

1.7.1 (2023-08-16)

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

1.7.0 (2023-08-04)

Features

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

1.6.0 (2023-07-28)

Features

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

1.5.12 (2023-07-18)

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

1.5.11 (2023-06-21)

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

1.5.10 (2023-06-14)

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

1.5.9 (2023-06-13)

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

1.5.8 (2023-06-07)

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

1.5.7 (2023-06-05)

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

1.5.6 (2023-05-25)

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

1.5.5 (2023-05-17)

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

1.5.4 (2023-05-10)

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

1.5.3 (2023-05-03)

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

1.5.2 (2023-04-25)

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

1.5.1 (2023-04-20)

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

1.5.0 (2023-04-13)

Features

  • sdk-coin-polygon: support evm based cross chain recovery (a88681f)

1.4.8 (2023-02-17)

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

1.4.7 (2023-02-16)

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

1.4.6 (2023-02-08)

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

1.4.5 (2023-01-30)

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

1.4.4 (2023-01-25)

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

1.4.3 (2022-12-23)

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

1.4.2 (2022-12-20)

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

1.4.1 (2022-12-09)

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

1.4.0 (2022-12-06)

Features

  • sdk-coin-polygon: crossChainRecovery support (9b42813)

1.3.6 (2022-12-01)

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

1.3.5 (2022-11-29)

Bug Fixes

  • sdk-coin-polygon: remove unused data in recovery (6ee161c)

1.3.4 (2022-11-04)

Bug Fixes

  • sdk-coin-polygon: remove unused data in recovery (6ee161c)

1.3.2 (2022-10-27)

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

1.3.1 (2022-10-25)

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

1.3.0 (2022-10-18)

Bug Fixes

  • core: fix bip32/ecpair, API vs Interface (bec9c1e)
  • sdk-coin-eth: fix v1 address init code (9a3bb82)
  • sdk-coin-polygon: fix sign for test polygon (aff93c4)
  • sdk-coin-polygon: update polygon token names (8bb61cf)

Features

  • add message signing support for polygon (ab2bac1)
  • sdk-coin-eth: add v1 wallet init code (b1c983d)
  • sdk-coin-polygon: add second signing (c053924)
  • sdk-coin-polygon: add signTx method (3458ed0)
  • sdk-coin-polygon: support recovery (15d6021)
  • sdk-coin-polygon: support tokens (8870307)
  • sdk-coin-polygon: support tss in polygon controller (5a5514c)
  • statics: support NAME NFT on tpolygon BG-58416 (dba1b90)

BREAKING CHANGES

  • sdk-coin-eth: Changes the return for exported method decodeWalletCreationData() in sdk-coin-eth BG-53733

1.0.1 (2022-07-19)

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

1.0.1-rc.0 (2022-07-19)

Bug Fixes

  • update bad dependency match (5cc3255)