Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@bitgo/sdk-coin-eth

BitGo7kMIT24.4.1TypeScript support: included

BitGo SDK coin library for Ethereum

readme

BitGo sdk-coin-eth

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

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

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

import { BitGoAPI } from '@bitgo/sdk-api';
import { Eth } from '@bitgo/sdk-coin-eth';

const sdk = new BitGoAPI();

sdk.register('eth', Eth.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

Change Log

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

24.4.1 (2025-04-29)

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

24.4.0 (2025-04-25)

Bug Fixes

  • abstract-eth: fix building using from for first signer (c8ec337)

Features

  • abstract-eth: support building eth tx for a first signer (cbd4d4c)

24.3.1 (2025-04-15)

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

24.3.0 (2025-04-04)

Features

  • abstract-eth: added support for mpcv2 in recovery (da92bf8)

24.2.63 (2025-04-02)

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

24.2.62 (2025-03-28)

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

24.2.61 (2025-03-20)

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

24.2.60 (2025-03-18)

Bug Fixes

  • sdk-core: set default multisig if empty (e2727df)

24.2.59 (2025-03-06)

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

24.2.58 (2025-03-04)

Bug Fixes

  • dependency fixes for secp256 lib (826db0b)

24.2.57 (2025-02-26)

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

24.2.56 (2025-02-20)

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

24.2.55 (2025-02-19)

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

24.2.54 (2025-02-11)

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

24.2.53 (2025-02-05)

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

24.2.52 (2025-01-28)

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

24.2.51 (2025-01-23)

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

24.2.50 (2025-01-23)

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

24.2.49 (2025-01-20)

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

24.2.48 (2025-01-15)

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

24.2.47 (2025-01-09)

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

24.2.46 (2025-01-03)

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

24.2.45 (2024-12-24)

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

24.2.44 (2024-12-19)

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

24.2.43 (2024-12-17)

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

24.2.42 (2024-12-17)

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

24.2.41 (2024-12-12)

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

24.2.40 (2024-12-11)

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

24.2.39 (2024-12-03)

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

24.2.38 (2024-11-26)

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

24.2.37 (2024-11-21)

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

24.2.36 (2024-11-19)

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

24.2.35 (2024-11-14)

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

24.2.34 (2024-11-08)

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

24.2.33 (2024-11-07)

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

24.2.32 (2024-11-01)

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

24.2.31 (2024-10-22)

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

24.2.30 (2024-10-15)

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

24.2.29 (2024-10-08)

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

24.2.28 (2024-10-04)

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

24.2.27 (2024-09-24)

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

24.2.26 (2024-09-19)

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

24.2.25 (2024-09-16)

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

24.2.24 (2024-09-10)

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

24.2.23 (2024-09-03)

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

24.2.22 (2024-08-29)

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

24.2.21 (2024-08-27)

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

24.2.20 (2024-08-20)

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

24.2.19 (2024-08-13)

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

24.2.18 (2024-08-07)

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

24.2.17 (2024-07-30)

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

24.2.16 (2024-07-24)

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

24.2.15 (2024-07-16)

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

24.2.14 (2024-07-04)

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

24.2.13 (2024-07-02)

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

24.2.12 (2024-06-27)

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

24.2.11 (2024-06-26)

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

24.2.10 (2024-06-21)

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

24.2.9 (2024-06-20)

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

24.2.8 (2024-06-14)

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

24.2.7 (2024-06-11)

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

24.2.6 (2024-06-05)

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

24.2.5 (2024-05-31)

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

24.2.4 (2024-05-28)

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

24.2.3 (2024-05-22)

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

24.2.2 (2024-05-17)

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

24.2.1 (2024-05-13)

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

24.2.0 (2024-05-08)

Features

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

24.1.1 (2024-05-01)

Bug Fixes

  • add txHex for eth CCR tx (780929a)

24.1.0 (2024-04-25)

Features

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

24.0.0 (2024-04-24)

Bug Fixes

  • superagent upgrade to 9.0 (6e9aa43)

Features

  • abstract-eth: support txn bulding for v4 wallet on eth chain (d8aabea)

BREAKING CHANGES

  • abstract-eth: Made ChainID mandatory for signAndBuild method

23.1.6 (2024-04-22)

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

23.1.5 (2024-04-17)

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

23.1.4 (2024-04-12)

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

23.1.3 (2024-04-10)

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

23.1.2 (2024-04-09)

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

23.1.1 (2024-04-08)

Bug Fixes

  • abstract-eth: fix flush v4 tx building from hex (f20dc10)

23.1.0 (2024-04-05)

Features

  • abstract-eth: support token flush directly from forwarderV4 contract (f41a404)

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

22.0.4 (2024-03-19)

Bug Fixes

  • factor gas and eip1559 params on ethlike token recovery (7744d83)

22.0.3 (2024-03-11)

Bug Fixes

  • sdk-coin-eth: fix recover method in case of 0 funds (748588f)

22.0.2 (2024-02-28)

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

22.0.1 (2024-02-22)

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

22.0.0 (2024-02-19)

Bug Fixes

  • abstract-eth: fix issues related to chainid (9114b1b)
  • root: update @types/node (cedc1a0)
  • sdk-coin-eth: fix issue related to ethtxbuilder (286ccfd)

Code Refactoring

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

Features

  • abstract-eth: add chain id as network identifier (3ddec05)
  • account-lib: add holesky testnet coin (0aaefc0)
  • statics: add test token on holesky (82389aa)
  • 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
  • abstract-eth: getTransactionBuilder method is removed from EthLikeToken class in abstract-eth module because TransactionBuilder in the abstract-eth module is abstract class and hence cannot be instantiated. Hence the implementation of TransactionBuilder can be added to the class that will inherit EthLikeToken class

TransactionPrebuild from new class AbstractEthLikeNewCoins is being exported now instead of TransactionPrebuild from AbstractEthLikeCoin class as the TransactionPrebuild from AbstractEthLikeNewCoins also has support for hop transactions, batch transactions, etc

TICKET: WIN-1021

21.0.0 (2024-01-30)

Bug Fixes

  • abstract-eth: fix issues related to chainid (9114b1b)
  • root: update @types/node (cedc1a0)
  • sdk-coin-eth: fix issue related to ethtxbuilder (286ccfd)

Code Refactoring

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

Features

  • abstract-eth: add chain id as network identifier (3ddec05)
  • account-lib: add holesky testnet coin (0aaefc0)
  • statics: add test token on holesky (82389aa)
  • 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
  • abstract-eth: getTransactionBuilder method is removed from EthLikeToken class in abstract-eth module because TransactionBuilder in the abstract-eth module is abstract class and hence cannot be instantiated. Hence the implementation of TransactionBuilder can be added to the class that will inherit EthLikeToken class

TransactionPrebuild from new class AbstractEthLikeNewCoins is being exported now instead of TransactionPrebuild from AbstractEthLikeCoin class as the TransactionPrebuild from AbstractEthLikeNewCoins also has support for hop transactions, batch transactions, etc

TICKET: WIN-1021

20.0.0 (2024-01-26)

Bug Fixes

  • abstract-eth: fix issues related to chainid (9114b1b)
  • root: update @types/node (cedc1a0)
  • sdk-coin-eth: fix issue related to ethtxbuilder (286ccfd)

Code Refactoring

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

Features

  • abstract-eth: add chain id as network identifier (3ddec05)
  • account-lib: add holesky testnet coin (0aaefc0)
  • statics: add test token on holesky (82389aa)
  • 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
  • abstract-eth: getTransactionBuilder method is removed from EthLikeToken class in abstract-eth module because TransactionBuilder in the abstract-eth module is abstract class and hence cannot be instantiated. Hence the implementation of TransactionBuilder can be added to the class that will inherit EthLikeToken class

TransactionPrebuild from new class AbstractEthLikeNewCoins is being exported now instead of TransactionPrebuild from AbstractEthLikeCoin class as the TransactionPrebuild from AbstractEthLikeNewCoins also has support for hop transactions, batch transactions, etc

TICKET: WIN-1021

19.0.0 (2024-01-26)

Bug Fixes

  • abstract-eth: fix issues related to chainid (9114b1b)
  • root: update @types/node (cedc1a0)
  • sdk-coin-eth: fix issue related to ethtxbuilder (286ccfd)

Code Refactoring

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

Features

  • abstract-eth: add chain id as network identifier (3ddec05)
  • account-lib: add holesky testnet coin (0aaefc0)
  • statics: add test token on holesky (82389aa)
  • 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
  • abstract-eth: getTransactionBuilder method is removed from EthLikeToken class in abstract-eth module because TransactionBuilder in the abstract-eth module is abstract class and hence cannot be instantiated. Hence the implementation of TransactionBuilder can be added to the class that will inherit EthLikeToken class

TransactionPrebuild from new class AbstractEthLikeNewCoins is being exported now instead of TransactionPrebuild from AbstractEthLikeCoin class as the TransactionPrebuild from AbstractEthLikeNewCoins also has support for hop transactions, batch transactions, etc

TICKET: WIN-1021

18.0.0 (2024-01-25)

Bug Fixes

  • abstract-eth: fix issues related to chainid (9114b1b)
  • root: update @types/node (cedc1a0)
  • sdk-coin-eth: fix issue related to ethtxbuilder (286ccfd)

Code Refactoring

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

Features

  • abstract-eth: add chain id as network identifier (3ddec05)
  • account-lib: add holesky testnet coin (0aaefc0)
  • statics: add test token on holesky (82389aa)
  • 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
  • abstract-eth: getTransactionBuilder method is removed from EthLikeToken class in abstract-eth module because TransactionBuilder in the abstract-eth module is abstract class and hence cannot be instantiated. Hence the implementation of TransactionBuilder can be added to the class that will inherit EthLikeToken class

TransactionPrebuild from new class AbstractEthLikeNewCoins is being exported now instead of TransactionPrebuild from AbstractEthLikeCoin class as the TransactionPrebuild from AbstractEthLikeNewCoins also has support for hop transactions, batch transactions, etc

TICKET: WIN-1021

17.0.0 (2024-01-22)

Bug Fixes

  • abstract-eth: fix issues related to chainid (9114b1b)
  • root: update @types/node (cedc1a0)
  • sdk-coin-eth: fix issue related to ethtxbuilder (286ccfd)

Code Refactoring

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

Features

  • abstract-eth: add chain id as network identifier (3ddec05)
  • account-lib: add holesky testnet coin (0aaefc0)
  • statics: add test token on holesky (82389aa)
  • 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
  • abstract-eth: getTransactionBuilder method is removed from EthLikeToken class in abstract-eth module because TransactionBuilder in the abstract-eth module is abstract class and hence cannot be instantiated. Hence the implementation of TransactionBuilder can be added to the class that will inherit EthLikeToken class

TransactionPrebuild from new class AbstractEthLikeNewCoins is being exported now instead of TransactionPrebuild from AbstractEthLikeCoin class as the TransactionPrebuild from AbstractEthLikeNewCoins also has support for hop transactions, batch transactions, etc

TICKET: WIN-1021

16.0.0 (2024-01-09)

Bug Fixes

  • abstract-eth: fix issues related to chainid (9114b1b)
  • root: update @types/node (cedc1a0)
  • sdk-coin-eth: fix issue related to ethtxbuilder (286ccfd)

Code Refactoring

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

Features

  • abstract-eth: add chain id as network identifier (3ddec05)
  • account-lib: add holesky testnet coin (0aaefc0)
  • statics: add test token on holesky (82389aa)
  • 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
  • abstract-eth: getTransactionBuilder method is removed from EthLikeToken class in abstract-eth module because TransactionBuilder in the abstract-eth module is abstract class and hence cannot be instantiated. Hence the implementation of TransactionBuilder can be added to the class that will inherit EthLikeToken class

TransactionPrebuild from new class AbstractEthLikeNewCoins is being exported now instead of TransactionPrebuild from AbstractEthLikeCoin class as the TransactionPrebuild from AbstractEthLikeNewCoins also has support for hop transactions, batch transactions, etc

TICKET: WIN-1021

15.0.0 (2024-01-03)

Bug Fixes

  • root: update @types/node (cedc1a0)
  • sdk-coin-eth: fix issue related to ethtxbuilder (286ccfd)

Code Refactoring

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

Features

  • abstract-eth: add chain id as network identifier (3ddec05)
  • account-lib: add holesky testnet coin (0aaefc0)
  • statics: add test token on holesky (82389aa)
  • 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
  • abstract-eth: getTransactionBuilder method is removed from EthLikeToken class in abstract-eth module because TransactionBuilder in the abstract-eth module is abstract class and hence cannot be instantiated. Hence the implementation of TransactionBuilder can be added to the class that will inherit EthLikeToken class

TransactionPrebuild from new class AbstractEthLikeNewCoins is being exported now instead of TransactionPrebuild from AbstractEthLikeCoin class as the TransactionPrebuild from AbstractEthLikeNewCoins also has support for hop transactions, batch transactions, etc

TICKET: WIN-1021

14.0.0 (2023-12-18)

Bug Fixes

  • root: update @types/node (cedc1a0)
  • sdk-coin-eth: fix issue related to ethtxbuilder (286ccfd)

Code Refactoring

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

Features

  • account-lib: add holesky testnet coin (0aaefc0)
  • statics: add test token on holesky (82389aa)
  • 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
  • abstract-eth: getTransactionBuilder method is removed from EthLikeToken class in abstract-eth module because TransactionBuilder in the abstract-eth module is abstract class and hence cannot be instantiated. Hence the implementation of TransactionBuilder can be added to the class that will inherit EthLikeToken class

TransactionPrebuild from new class AbstractEthLikeNewCoins is being exported now instead of TransactionPrebuild from AbstractEthLikeCoin class as the TransactionPrebuild from AbstractEthLikeNewCoins also has support for hop transactions, batch transactions, etc

TICKET: WIN-1021

13.0.0 (2023-12-12)

Bug Fixes

  • root: update @types/node (cedc1a0)
  • sdk-coin-eth: fix issue related to ethtxbuilder (286ccfd)

Code Refactoring

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

Features

  • account-lib: add holesky testnet coin (0aaefc0)
  • statics: add test token on holesky (82389aa)
  • 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
  • abstract-eth: getTransactionBuilder method is removed from EthLikeToken class in abstract-eth module because TransactionBuilder in the abstract-eth module is abstract class and hence cannot be instantiated. Hence the implementation of TransactionBuilder can be added to the class that will inherit EthLikeToken class

TransactionPrebuild from new class AbstractEthLikeNewCoins is being exported now instead of TransactionPrebuild from AbstractEthLikeCoin class as the TransactionPrebuild from AbstractEthLikeNewCoins also has support for hop transactions, batch transactions, etc

TICKET: WIN-1021

12.0.0 (2023-12-09)

Bug Fixes

  • root: update @types/node (cedc1a0)
  • sdk-coin-eth: fix issue related to ethtxbuilder (286ccfd)

Code Refactoring

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

Features

  • account-lib: add holesky testnet coin (0aaefc0)
  • 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
  • abstract-eth: getTransactionBuilder method is removed from EthLikeToken class in abstract-eth module because TransactionBuilder in the abstract-eth module is abstract class and hence cannot be instantiated. Hence the implementation of TransactionBuilder can be added to the class that will inherit EthLikeToken class

TransactionPrebuild from new class AbstractEthLikeNewCoins is being exported now instead of TransactionPrebuild from AbstractEthLikeCoin class as the TransactionPrebuild from AbstractEthLikeNewCoins also has support for hop transactions, batch transactions, etc

TICKET: WIN-1021

11.0.0 (2023-12-05)

Bug Fixes

  • root: update @types/node (cedc1a0)
  • sdk-coin-eth: fix issue related to ethtxbuilder (286ccfd)

Code Refactoring

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

Features

  • account-lib: add holesky testnet coin (0aaefc0)
  • 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
  • abstract-eth: getTransactionBuilder method is removed from EthLikeToken class in abstract-eth module because TransactionBuilder in the abstract-eth module is abstract class and hence cannot be instantiated. Hence the implementation of TransactionBuilder can be added to the class that will inherit EthLikeToken class

TransactionPrebuild from new class AbstractEthLikeNewCoins is being exported now instead of TransactionPrebuild from AbstractEthLikeCoin class as the TransactionPrebuild from AbstractEthLikeNewCoins also has support for hop transactions, batch transactions, etc

TICKET: WIN-1021

10.0.0 (2023-11-28)

Bug Fixes

  • root: update @types/node (cedc1a0)
  • sdk-coin-eth: fix issue related to ethtxbuilder (286ccfd)

Code Refactoring

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

Features

  • account-lib: add holesky testnet coin (0aaefc0)
  • 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
  • abstract-eth: getTransactionBuilder method is removed from EthLikeToken class in abstract-eth module because TransactionBuilder in the abstract-eth module is abstract class and hence cannot be instantiated. Hence the implementation of TransactionBuilder can be added to the class that will inherit EthLikeToken class

TransactionPrebuild from new class AbstractEthLikeNewCoins is being exported now instead of TransactionPrebuild from AbstractEthLikeCoin class as the TransactionPrebuild from AbstractEthLikeNewCoins also has support for hop transactions, batch transactions, etc

TICKET: WIN-1021

9.0.0 (2023-11-24)

Bug Fixes

  • root: update @types/node (cedc1a0)
  • sdk-coin-eth: fix issue related to ethtxbuilder (286ccfd)

Code Refactoring

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

Features

  • account-lib: add holesky testnet coin (0aaefc0)
  • 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
  • abstract-eth: getTransactionBuilder method is removed from EthLikeToken class in abstract-eth module because TransactionBuilder in the abstract-eth module is abstract class and hence cannot be instantiated. Hence the implementation of TransactionBuilder can be added to the class that will inherit EthLikeToken class

TransactionPrebuild from new class AbstractEthLikeNewCoins is being exported now instead of TransactionPrebuild from AbstractEthLikeCoin class as the TransactionPrebuild from AbstractEthLikeNewCoins also has support for hop transactions, batch transactions, etc

TICKET: WIN-1021

8.0.0 (2023-11-17)

Bug Fixes

  • root: update @types/node (cedc1a0)
  • sdk-coin-eth: fix issue related to ethtxbuilder (286ccfd)

Code Refactoring

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

Features

  • account-lib: add holesky testnet coin (0aaefc0)
  • 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
  • abstract-eth: getTransactionBuilder method is removed from EthLikeToken class in abstract-eth module because TransactionBuilder in the abstract-eth module is abstract class and hence cannot be instantiated. Hence the implementation of TransactionBuilder can be added to the class that will inherit EthLikeToken class

TransactionPrebuild from new class AbstractEthLikeNewCoins is being exported now instead of TransactionPrebuild from AbstractEthLikeCoin class as the TransactionPrebuild from AbstractEthLikeNewCoins also has support for hop transactions, batch transactions, etc

TICKET: WIN-1021

7.0.0 (2023-11-13)

Bug Fixes

  • root: update @types/node (cedc1a0)
  • sdk-coin-eth: fix issue related to ethtxbuilder (286ccfd)

Code Refactoring

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

Features

  • account-lib: add holesky testnet coin (0aaefc0)
  • 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: getTransactionBuilder method is removed from EthLikeToken class in abstract-eth module because TransactionBuilder in the abstract-eth module is abstract class and hence cannot be instantiated. Hence the implementation of TransactionBuilder can be added to the class that will inherit EthLikeToken class

TransactionPrebuild from new class AbstractEthLikeNewCoins is being exported now instead of TransactionPrebuild from AbstractEthLikeCoin class as the TransactionPrebuild from AbstractEthLikeNewCoins also has support for hop transactions, batch transactions, etc

TICKET: WIN-1021

6.0.0 (2023-11-13)

Bug Fixes

  • root: update @types/node (cedc1a0)
  • sdk-coin-eth: fix issue related to ethtxbuilder (286ccfd)

Code Refactoring

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

Features

  • account-lib: add holesky testnet coin (0aaefc0)
  • 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: getTransactionBuilder method is removed from EthLikeToken class in abstract-eth module because TransactionBuilder in the abstract-eth module is abstract class and hence cannot be instantiated. Hence the implementation of TransactionBuilder can be added to the class that will inherit EthLikeToken class

TransactionPrebuild from new class AbstractEthLikeNewCoins is being exported now instead of TransactionPrebuild from AbstractEthLikeCoin class as the TransactionPrebuild from AbstractEthLikeNewCoins also has support for hop transactions, batch transactions, etc

TICKET: WIN-1021

5.0.0 (2023-11-13)

Bug Fixes

  • root: update @types/node (cedc1a0)
  • sdk-coin-eth: fix issue related to ethtxbuilder (286ccfd)

Code Refactoring

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

Features

  • account-lib: add holesky testnet coin (0aaefc0)
  • 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: getTransactionBuilder method is removed from EthLikeToken class in abstract-eth module because TransactionBuilder in the abstract-eth module is abstract class and hence cannot be instantiated. Hence the implementation of TransactionBuilder can be added to the class that will inherit EthLikeToken class

TransactionPrebuild from new class AbstractEthLikeNewCoins is being exported now instead of TransactionPrebuild from AbstractEthLikeCoin class as the TransactionPrebuild from AbstractEthLikeNewCoins also has support for hop transactions, batch transactions, etc

TICKET: WIN-1021

4.10.0 (2023-10-20)

Bug Fixes

  • root: update @types/node (cedc1a0)

Features

  • account-lib: add holesky testnet coin (0aaefc0)
  • update secp256k1 to 5.0.0 and keccak to 3.0.3 (e2c37e6)

4.9.0 (2023-10-18)

Bug Fixes

  • root: update @types/node (cedc1a0)

Features

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

4.8.0 (2023-09-25)

Bug Fixes

  • root: update @types/node (cedc1a0)

Features

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

4.7.10 (2023-09-09)

Bug Fixes

  • root: update @types/node (cedc1a0)

4.7.9 (2023-09-09)

Bug Fixes

  • root: update @types/node (cedc1a0)

4.7.8 (2023-09-07)

Bug Fixes

  • root: update @types/node (cedc1a0)

4.7.7 (2023-09-05)

Bug Fixes

  • root: update @types/node (cedc1a0)

4.7.6 (2023-09-01)

Bug Fixes

  • root: update @types/node (cedc1a0)

4.7.5 (2023-08-29)

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

4.7.4 (2023-08-25)

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

4.7.3 (2023-08-24)

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

4.7.2 (2023-08-16)

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

4.7.1 (2023-08-16)

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

4.7.0 (2023-08-04)

Features

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

4.6.0 (2023-07-28)

Features

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

4.5.5 (2023-07-18)

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

4.5.4 (2023-06-21)

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

4.5.3 (2023-06-14)

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

4.5.2 (2023-06-13)

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

4.5.1 (2023-06-07)

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

4.5.0 (2023-06-05)

Bug Fixes

  • root: update module deps (98e0945)

Features

  • sdk-core: paillier proof user<>backup (8c0a381)
  • sdk-core: refactor signConvert to steps (94e2cae)
  • sdk-core: simplify mpc.appendChallenge (67bee8f)
  • sdk-lib-mpc: make rangeProof challenges mandatory for appendChallenge (1f68b30)

4.4.4 (2023-05-25)

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

4.4.3 (2023-05-17)

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

4.4.2 (2023-05-10)

Bug Fixes

  • sdk-coin-eth: fix eth multisig recoveries (6e49792)

4.4.1 (2023-05-03)

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

4.4.0 (2023-04-25)

Features

  • sdk-core: update ecdsa signing to use enterprise challenge (c626f00)

4.3.1 (2023-04-20)

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

4.3.0 (2023-04-13)

Bug Fixes

  • sdk-coin-eth: consolidation verification tss (a45bfc0)
  • sdk-coin-eth: fix @ethereumjs/util version to support node 14 (3581c03)

Features

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

4.2.1 (2023-02-17)

Bug Fixes

  • polygon recovery with range proof (19317f7)

4.2.0 (2023-02-16)

Bug Fixes

  • sdk-coin-bsc: build from txHex (15173e9)

Features

  • account-lib: make rangeproof stuff async (380f288)
  • sdk-coin-eth: enable consolidation support gteth (fd3532e)

4.1.0 (2023-02-08)

Bug Fixes

  • sdk-coin-bsc: build from txHex (15173e9)

Features

  • account-lib: make rangeproof stuff async (380f288)
  • sdk-coin-eth: enable consolidation support gteth (fd3532e)

4.0.1 (2023-01-30)

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

4.0.0 (2023-01-25)

Bug Fixes

  • sdk-coin-eth: fix recovery flow, add unit test (49fc287)
  • sdk-coin-eth: remove generic typing from encodedtypeddata input (f95fb60)

Features

  • sdk-core: forwarder version 3 (82e6deb)

BREAKING CHANGES

  • sdk-coin-eth: remove generic typing from encodedtypeddata input

Ticket: BG-63009

3.0.0 (2022-12-23)

Bug Fixes

  • remove final sig construction for message signing (c7c8a98)

BREAKING CHANGES

  • remove final sig construction

2.10.0 (2022-12-20)

Features

  • added eip712 sign typed data (6d2cbea)
  • sdk-coin-eth: add support for tss recoveries (5954c7d)

2.9.0 (2022-12-09)

Features

  • sdk-coin-eth: build from rawTx (152bced)

2.8.0 (2022-12-06)

Features

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

2.7.1 (2022-12-01)

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

2.7.0 (2022-11-29)

Bug Fixes

  • multiple issues with message signing (d703b9a)
  • remove encoding from message sent to bitgo (d300963)
  • sdk-coin-celo: fix precision bug in celo build/sign (15b47c7)
  • sdk-core: properly translate tx type to transferToken intent BG-60250 (eb518f9)

Features

  • create txrequest for message signing (4ee1a9c)
  • implement isWalletAddress for SUI (a3696ab)
  • sdk-coin-eth: add fillnonce capability to sdk (6d9a965)

2.6.0 (2022-11-04)

Bug Fixes

  • remove encoding from message sent to bitgo (d300963)
  • sdk-core: properly translate tx type to transferToken intent BG-60250 (eb518f9)

Features

  • create txrequest for message signing (4ee1a9c)
  • implement isWalletAddress for SUI (a3696ab)
  • sdk-coin-eth: add fillnonce capability to sdk (6d9a965)

2.4.0 (2022-10-27)

Bug Fixes

  • sdk-core: properly translate tx type to transferToken intent BG-60250 (eb518f9)

Features

  • create txrequest for message signing (4ee1a9c)
  • implement isWalletAddress for SUI (a3696ab)
  • sdk-coin-eth: add fillnonce capability to sdk (6d9a965)

2.3.0 (2022-10-25)

Bug Fixes

  • sdk-core: properly translate tx type to transferToken intent BG-60250 (eb518f9)

Features

  • create txrequest for message signing (4ee1a9c)
  • implement isWalletAddress for SUI (a3696ab)
  • sdk-coin-eth: add fillnonce capability to sdk (6d9a965)

2.2.0 (2022-10-18)

Bug Fixes

  • bitgo: no Buffer support in browsers (5210662)
  • core: fix bip32/ecpair, API vs Interface (bec9c1e)
  • sdk-coin-eth: create custom ETH common for unsupported chain ids (9329162)
  • sdk-coin-eth: fix v1 address init code (9a3bb82)
  • sdk-core: eth supports tss (c0ec96f)
  • sdk-core: tss tx signing (ab7eb80)

Features

  • abstract-eth: validate istss for evms (29f0b5a)
  • account-lib: add support for additional hash algorithms (4e2aefe)
  • adding support for message signing (01c6303)
  • sdk-coin-eth: add acceleration capability for eth (436ba8c)
  • 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-core: allow getting a staking wallet for any coin (cfae0fe)

BREAKING CHANGES

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

1.1.0 (2022-07-19)

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

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

Bug Fixes

  • sdk-coin-eth: modify buildAddressInitializationTransaction method (3cc205f)

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

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

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

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

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

Features

  • account-lib: get rid of old ethereum lib (abd2247)
  • sdk-coin-eth: modify address init code (16c8985)

1.0.1-rc.3 (2022-07-14)

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

1.0.1-rc.2 (2022-07-12)

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

1.0.1-rc.1 (2022-07-11)

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

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

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