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

Package detail

bitgo

BitGo7.6kApache-2.044.1.0TypeScript support: included

BitGo JavaScript SDK

bitgo, bitcoin, bitgojs

readme

BitGo JavaScript SDK

The BitGo Platform and SDK makes it easy to build multi-signature crypto-currency applications today with support for Bitcoin, Ethereum and many other coins. The SDK is fully integrated with the BitGo co-signing service for managing all of your BitGo wallets.

Included in the SDK are examples for how to use the API to manage your multi-signature wallets.

Please email us at support@bitgo.com if you have questions or comments about this API.

Known Vulnerabilities BitGo SDK

Installation

Please make sure you are running at least Node version 8 (the latest LTS release is recommended) and NPM version 6. We recommend using nvm, the Node Version Manager, for setting your Node version.

npm install --save bitgo

Full Documentation

Please see our SDK Documentation for detailed information about the TypeScript SDK and functionality.

For more general information about the BitGo API, please see our REST API Documentation.

Release Notes

You can find the complete release notes (since version 4.44.0) here.

Example Usage

Initialize SDK

Create an access token by logging into your bitgo account, going to the API access tab in the settings area and making a developer token.

const BitGo = require('bitgo');
const bitgo = new BitGo.BitGo({ accessToken: ACCESS_TOKEN }); // defaults to testnet. add env: 'prod' if you want to go against mainnet
const result = await bitgo.session();
console.dir(result);

Create Wallet

const params = {
  passphrase: 'replaceme',
  label: 'firstwallet',
};
const { wallet } = await bitgo.coin('tbtc').wallets().generateWallet(params);
console.dir(wallet);

Create new address

const address = await wallet.createAddress();
console.dir(address);

View wallet transfers

const transfers = await wallet.transfers();

Send coins

const result = await wallet.sendCoins({
  address: '2NEe9QhKPB2gnQLB3hffMuDcoFKZFjHYJYx',
  amount: 0.01 * 1e8,
  walletPassphrase: 'replaceme',
});
console.dir(result);

More examples

Further demos and examples in both JavaScript and TypeScript can be found in the examples directory.

Enabling additional debugging output

bitgo uses the debug package to emit extra information, which can be useful when debugging issues with BitGoJS or BitGo Express.

When using the bitgo npm package, the easiest way to enable debug output is by setting the DEBUG environment variable to one or more of the debug namespaces in the table below. Multiple debug namespaces can be enabled by giving a comma-separated list or by using * as a wildcard. See the debug package documentation for more details.

Available Debug Namespaces

Namespace Description
bitgo:index Core BitGo object. Currently only constant fetch failures and HMAC response failures will emit debug information for this namespace.
bitgo:v1:txb Version 1 (legacy) transaction builder
bitgo:v2:pendingapprovals Pending approval operations. Currently only wallet fetch errors will emit debug information for this namespace.
bitgo:v2:wallet Wallet operations including transaction prebuild, sendMany calls and consolidation transactions
bitgo:v2:utxo Low level operations for UTXO coins, including transaction parsing, verification, signing and explanations
bitgo:v2:eth Ethereum specific output. Currently only failures to require the optional Ethereum libraries are reported
bitgo:v2:util SDK utilities specific output. Currently only failures to require the optional Ethereum libraries are reported

Another debug namespace which is not provided by BitGoJS but is helpful nonetheless is the superagent namespace, which will output all HTTP requests and responses (only the URL, not bodies).

Example

To run an SDK script with debug output enabled, export the DEBUG environment variable before running.

`shell script export DEBUG='bitgo:*' # enable all bitgo debug namespaces node myScript.js


To set debug namespaces in the browser, you should set `localStorage.debug` property instead of the `DEBUG` environment variable using your browser's development tools console.

```js
localStorage.debug = 'bitgo:*'; // enable all bitgo debug namespaces

Using with TypeScript

bitgo is not yet compatible with the noImplicitAny compiler option. If you want to use this option in your project (and we recommend that you do), you must set the skipLibCheck option to supress errors about missing type definitions for dependencies of bitgo.

Usage in Browser

Since version 6, bitgo includes a minified, browser-compatible bundle by default at dist/browser/BitGoJS.min.js. It can be copied from there directly into your project.

BitGoJS can also be bundled with any module bundler. There is a Webpack configuration file already included, which can be triggered with package scripts.

For a production build: npm run-script compile

For a development (non-minified) build: npm run-script compile-dbg

To build the test suite into a single test file: npm run-script compile-test

changelog

Change Log

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

44.1.0 (2025-04-29)

Bug Fixes

  • sdk-core: add validation for unsigned txHex (eff30e3)

Features

  • added withdraw route (3206726)
  • sdk-coin-soneium: add transaction builder (921cdbd)

44.0.0 (2025-04-25)

Code Refactoring

  • remove unused bls and eth2 codebase (4ffd5bd)
  • root: remove bitgo backup provider "bitgoTrustAsKrs" (f5f38b1)

Features

  • add bulk update functionality for wallet shares (ef5a1b1)
  • handle rejected promises in bulk wallet share updates (cb79082)
  • sdk-coin-mon: add transaction builder (cff759f)
  • sdk-coin-stt: add transaction builder (1e77306)
  • sdk-coin-world: add transaction builder (30e888e)
  • statics: added somnia config (2f8bed7)
  • statics: added soneium config (4737b45)
  • statics: added world config (5baccb8)
  • statics: map NFT collection ID to BaseCoin (827a1ac)

BREAKING CHANGES

  • remove bls and eth2 sdk

TICKET: WP-3961

  • root: remove bitgo backup provider "bitgoTrustAsKrs"

TICKET: WP-4186

43.2.0 (2025-04-15)

Features

  • add approveToken function for erc20 sendMany (6c5f1db)
  • add tss support for arbeth and opeth (d9c9ec4)

43.1.0 (2025-04-04)

Features

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

43.0.1 (2025-04-02)

Note: Version bump only for package bitgo

43.0.0 (2025-03-28)

Bug Fixes

  • abstract-eth: return eip 191 encoded message as a hex string (6ae1979)
  • ensure user params are used for tx verification (b0ec18e)
  • sdk-core: validate unsigned staking transaction before sign (8121753)

Features

  • sdk-core: add GoStakingWallet (f9d98ab)

BREAKING CHANGES

  • abstract-eth: messageEncoded is now encoded as a hex string

42.2.1 (2025-03-20)

Reverts

  • Revert "fix(sdk-core): add validation for unsigned txHex" (4333b10)

42.2.0 (2025-03-18)

Bug Fixes

  • sdk-core: add validation for unsigned txHex (4a5ba60)
  • sdk-core: set default multisig if empty (e2727df)
  • sdk-core: validate sweep destination on utxos (b480b8c)

Features

  • abstract-lightning: add custodial lightning api functions (16b825a)
  • abstract-lightning: get transfer for lightning pay invoice (cfc6127)
  • express: remove unneeded express routes and use subtype on wallet (3356783)
  • sdk-coin-stx: added fungible token transfer builder for sip10 (f17c040)
  • sdk-core: add aed and sgd (2ba82d6)
  • sdk-core: add custodial lightning wallet creation (d19802d)
  • sdk-core: lightning wallet sharing support (2d1d566)

42.1.0 (2025-03-06)

Bug Fixes

  • default to api version full if none specified (9dca67f)

Features

  • allow a custom fee rate for utxo recovery (411c666)
  • use dimensions to estimate transaction size (750f92e)

42.0.0 (2025-03-04)

Bug Fixes

  • abstract-eth: gasLimit for hop txn (4ce0180)
  • enable tokens for cold wallet (544733c)
  • root: replace elliptic with noble/curves/secp256k1 (50a208d)
  • sdk-lib-mpc: fix time warp during decrypting comms in MPCv2 (c060690)

Features

  • abstract-lightning: add codecs for more lightning apis (1b6d238)
  • abstract-lightning: move lnv2 logic from sdk-core (5c9114d)
  • abstract-lightning: wire up lnv2 invoices (dba5411)
  • add express endpoints for lightning invoice (01d89de)
  • add support to create lightning payments (ffa5e71)
  • remove requirement fee for keyternal (4b3c1e6)
  • sdk-coin-icp: implemented transaction builder and validations for ICP (ecf68b8)
  • sdk-coin-icp: refactor key pair generation to use utility function (93d84d4)

BREAKING CHANGES

  • abstract-eth: when we have a pending approval for a hop txn when approved the txn is using gasLimit provided by hop params which is not expected, this commit fixes it

TICKET: COIN-3249

  • abstract-lightning: Lightning v2
  • abstract-lightning: Lightning v2

41.0.0 (2025-02-26)

Bug Fixes

  • root: replace elliptic with noble/curves/secp256k1 (50a208d)
  • sdk-lib-mpc: fix time warp during decrypting comms in MPCv2 (c060690)

Features

  • abstract-lightning: add codecs for more lightning apis (1b6d238)
  • abstract-lightning: move lnv2 logic from sdk-core (5c9114d)
  • abstract-lightning: wire up lnv2 invoices (dba5411)
  • sdk-coin-icp: refactor key pair generation to use utility function (93d84d4)

BREAKING CHANGES

  • abstract-lightning: Lightning v2
  • abstract-lightning: Lightning v2

40.0.0 (2025-02-20)

Features

  • abstract-lightning: move lnv2 logic from sdk-core (5c9114d)
  • abstract-lightning: wire up lnv2 invoices (dba5411)
  • sdk-coin-icp: refactor key pair generation to use utility function (93d84d4)

BREAKING CHANGES

  • abstract-lightning: Lightning v2

39.27.0 (2025-02-19)

Features

  • sdk-core: move lightning specific wallet functions (e63129d)

39.26.0 (2025-02-11)

Features

  • add skeleton for v2 lightning (5bd613e)

39.25.1 (2025-02-05)

Bug Fixes

  • update xrpToken decimals (3c5cc96)

39.25.0 (2025-01-28)

Features

  • docker config for flr,sgb,xdc,wemix (8b65d3f)
  • statics: add apt usdt token (37224e8)

39.24.1 (2025-01-23)

Note: Version bump only for package bitgo

39.24.0 (2025-01-23)

Features

  • sdk-coin-baby: add SDK support for babylon (932541b)

39.23.0 (2025-01-20)

Features

  • sdk-coin-icp: added ICP skeleton code (5215ce9)
  • statics: add flr,sgb config (b881454)
  • statics: add xdc, wemix config (098c1ab)

39.22.1 (2025-01-15)

Bug Fixes

  • deps: bump public-types library (e8679cd)
  • root: add retry mechanism for MPC sendSignatureShareV2 (ef520da)

39.22.0 (2025-01-09)

Features

  • move hmac fns to own package (7466b99)

39.21.0 (2025-01-03)

Features

  • abstract-utxo: sign descriptors when creating wallet (079d9b9)

39.20.0 (2024-12-24)

Features

  • sdk-coin-bera: add TSS Suport (2afd7f0)
  • use descriptor outputDifference method (663944a)

39.19.1 (2024-12-19)

Bug Fixes

  • sdk-core: choose correct default apiVersion for tss (1bfcc36)
  • sdk-core: choose correct default apiVersion for tss (c3bc7f0)
  • sdk-core: ignore case for btc unstaking transaction type (aed4488)

39.19.0 (2024-12-17)

Features

  • add ofcxrp mainnet support and update ofcsol tokens (5eef4a9)

39.18.0 (2024-12-17)

Features

  • add ofcxrp mainnet support and update ofcsol tokens (5eef4a9)

39.17.0 (2024-12-12)

Bug Fixes

  • use max spendable amount to sweep balance (19eba51)

Features

  • abstract-utxo: validate descriptors depending on env (dcd9793)

39.16.1 (2024-12-11)

Bug Fixes

  • sdk-core: fix MPCv2 SMC wallet generation (4782337)

39.16.0 (2024-12-03)

Bug Fixes

  • bitgo: improve prebuildAndSign test by extracting common logic (0286fa6)
  • bitgo: include test/ in tsconfig.json (68a552a)

Features

  • abstract-utxo: make AbstractUtxoCoin less abstract (e456e04)
  • bitgo: extend utxoCoins test to cover new fields (b7c422f)
  • sdk-core: add sender walletId for btc unstaking (ab12948)
  • sdk-core: enable dkls cold and custody wallet creation (5360e06)
  • statics: add ofc txrp and opeth token (e4ab52e)
  • statics: add support for trx tokens (814c6d9)

39.15.0 (2024-11-26)

Bug Fixes

  • re-add writing of fixtures if not found (08ee552)

Features

  • default to NU6 consensus branch id for zcash (95f677c)
  • statics: added support for bsc cfx and erc20 acx (00cf9ef)

39.14.0 (2024-11-21)

Features

  • add NU6 consensus id support for tzec (a4bf394)

39.13.0 (2024-11-19)

Bug Fixes

  • abstract-utxo: rename isExtendedAddressFormat to isScriptRecipient (c37b2a5)
  • deps fix (0e49204)
  • sdk-coin-rune: rename thorchain:rune to tthorchain:rune (27f3afa)

Features

  • abstract-utxo: explain and verify tx with op return (04f8518)
  • sdk-coin-apt: add APT to statics (3d1c70d)
  • sdk-coin-apt: new coin generation, apt skeleton (3405799)
  • sdk-coin-coredao: add coredao sdk skeleton (0e6ce18)
  • sdk-coin-oas: add oas sdk skeleton (d04f601)
  • sdk-coin-xrp: add wrw support cold wallet xrpl token (095c408)

39.12.0 (2024-11-14)

Bug Fixes

  • sdk-coin-rune: rename thorchain:rune to tthorchain:rune (27f3afa)

Features

  • sdk-coin-apt: add APT to statics (3d1c70d)
  • sdk-coin-apt: new coin generation, apt skeleton (3405799)

39.11.1 (2024-11-08)

Note: Version bump only for package bitgo

39.11.0 (2024-11-07)

Features

  • sdk-coin-xrp: add non-bitgo recovery for xrpl token (ef10edd)
  • sdk-core: update prebuildSelfManagedStakingTransaction (92c8c9d)
  • statics: add coredao coin config (8e3d536)

39.10.0 (2024-11-01)

Bug Fixes

  • sdk-core: pass correct walletVersion to wallet platform (6564098)

Features

  • sdk-coin-rune: new coin generation (64775ca)
  • sdk-core: add tests for new pick mpc gpg pub key function (fbcfcbf)
  • sdk-core: refactor tss ecdsa hot wallet signing logic to be in sdk (27c4c7d)
  • statics: add oas coin config (07045f8)
  • update public-types (85f8d0f)

39.9.0 (2024-10-22)

Bug Fixes

  • abstract-utxo: fix isValidAddress by generating all addr formats (5be7bfc)

Features

  • sdk-api: gpg encryption for passkey auth (1eda08f)
  • sdk-api: gpg passkey authentication (2b96e37)

39.8.0 (2024-10-15)

Features

  • add support for withdrawals from receive addr for ADA (ed90e7d)
  • statics: add xrp rlusd token (e3ba9f0)

39.7.0 (2024-10-08)

Bug Fixes

  • sdk-core: fix broken mocking for unit tests (fae6f66)

Features

  • sdk-core: add BUILD_ONLY flag to fanoutUnspents (667c366)

39.6.0 (2024-10-04)

Bug Fixes

  • sdk-core: merge unit tests (54bd2b7)
  • sdk-core: remove logs (dc22770)

Features

  • add btc testnet4 to sdk (8edfa40)
  • sdk-coin-bera: add bera token support (6dc002d)
  • sdk-core: add new param to fanout interface (7c98f35)
  • sdk-core: reserve unspents from the SDK (42ffe16)

39.5.0 (2024-09-24)

Bug Fixes

  • abstract-utxo: address verification (7d67509)
  • move spec to unit-test script in bitgo module (81dbae6)

Features

  • sdk-core: add utility function for get sharing keys API (c2234f2)

39.4.1 (2024-09-19)

Note: Version bump only for package bitgo

39.4.0 (2024-09-16)

Features

  • sdk-core: add bulkAcceptShare function (fac2743)
  • sdk-core: add bulkShareWallet method (577d631)

39.3.0 (2024-09-10)

Bug Fixes

  • sdk-core: generate wallet cleanup (9cb02bd)

Features

  • express: add config for lightning signer at express (6ff3e0b)

39.2.0 (2024-09-03)

Features

  • abstract-utxo: add address creation for descriptor wallets (a5b3a71)
  • sdk-core: add lightning wallet functions (7b48023)
  • sdk-core: enforce eddsa commitment validation (dccc590)

39.1.1 (2024-08-29)

Note: Version bump only for package bitgo

39.1.0 (2024-08-27)

Features

  • sdk-core: add encryptedWalletPassphrase to generateWallet method (bce6011)

39.0.0 (2024-08-20)

Bug Fixes

  • root: bump public-types and fix SMC MPCv2 format (c739aa8)
  • sdk-core: add back state checks for MPCv2 SMC utils (c6f673d)

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

38.18.1 (2024-08-13)

Bug Fixes

  • root: bump public-types and fix SMC MPCv2 format (c739aa8)
  • sdk-core: add back state checks for MPCv2 SMC utils (c6f673d)

38.18.0 (2024-08-07)

Bug Fixes

  • root: replace MPCv2 SMC types for public-types (cb4c68f)

Features

  • add bitgo signet for btc (a1912b9)

38.17.0 (2024-07-30)

Bug Fixes

  • sdk-core: support backup party id in mpcv2 signing utils (de20f6d)

Features

  • root: implement MPCv2 SMC wallet creation utils (8c91b19)

38.16.0 (2024-07-24)

Bug Fixes

  • sdk-core: fixing nocks for tests (4d66d5d)

Features

  • sdk-coin-sui: add token transfer builder (7909d47)
  • sdk-core: create lightning wallet document (6519f8f)
  • sdk-core: tweaking message signing response type (4e0041e)

38.15.0 (2024-07-16)

Bug Fixes

  • register sui tokens in coinFactory (8780211)
  • sdk-coin-xlm: rename test (54b8fa7)

Features

  • sdk-coin-xlm: recover root key support and refactor utils (6bf1367)
  • sdk-core: implemented signing with external signer for MPCv2 (b6cb2b0)
  • support specifying unspents in Ada sendmany calls (2bb92dd)

38.14.2 (2024-07-04)

Bug Fixes

  • make public signet tests work with bitgo module (fe32ae3)

38.14.1 (2024-07-02)

Note: Version bump only for package bitgo

38.14.0 (2024-06-27)

Features

  • sdk-core: add prebuild staking transaction function (Ticket: SC-96) (58f6cef)

38.13.0 (2024-06-26)

Bug Fixes

  • sdk-core: change signTransactionTss return output (0462ac5)

Features

  • root: bumped WP public types (41e2f87)
  • sdk-coin-lnbtc: add new sdk coin lnbtc module (0da600b)
  • sdk-core: adding MPCv1 to MPCv2 retrofit helper (8b13b16)

38.12.0 (2024-06-21)

Features

  • abstract-lightning: add new abstract lightning coin module (6490b9a)

38.11.1 (2024-06-20)

Note: Version bump only for package bitgo

38.11.0 (2024-06-14)

Bug Fixes

  • sdk-coin-xrp: better error handling (dcf7de4)

Features

  • sdk-coin-ethlike: add new eth like coin packages (ba305cb)
  • sdk-core: added propagation of reqId to sendMany (411efa7)

38.10.0 (2024-06-11)

Bug Fixes

  • abstract-eth: use correct derivation path in wrw recover function (5018147)

Features

  • sdk-core: added unit tests (f77473f)
  • statics: added ofc support for Polygon tokens (baa8fbd)

38.9.0 (2024-06-05)

Features

  • sdk-core: supply isMPCv2 for MPCv2 key creation (64bd55a)

38.8.0 (2024-05-31)

Features

  • abstract-eth: add recovery support for bsc and polygon mpcv2 (820e7b4)
  • use cashaddr address format for ecash recovery (072f11f)

38.7.0 (2024-05-28)

Bug Fixes

  • should be able to generate onchain custodial wallet with express (355dc8c)

Features

  • add p2tr as the last option (673c7d8)
  • remove p2tr from changeAddressType list (561a8bd)
  • statics: adding test token for solana tokens for go account (e89757d)
  • statics: enable cosmosLike MPCv2 (231d25e)
  • statics: enable mpcv2 for bsc and polygon (e8cbbb8)
  • update @bitgo/public-types to latest (4ce79f1)
  • use settings API to switch between MPCv2 and v1 (85e2df2)

38.6.0 (2024-05-22)

Features

  • abstract-eth: wrw recovery for dkls wallet (bf374e8)
  • sdk-core: support smaller mpcv2 keycard (63512d4)

38.5.0 (2024-05-17)

Features

  • send changeAddressType preferences array (bd18c9e)
  • statics: add ofc token to represent Erc20 token on avalance chain (abc09c2)
  • statics: adding support for solana tokens for go account (076ff13)

38.4.2 (2024-05-13)

Bug Fixes

  • sdk-coin-xlm: fix returned data from recover function (77b1eba)

38.4.1 (2024-05-08)

Bug Fixes

  • root: fix keychains updatePassword for tss (4cc09a8)
  • sdk-core: fix ci check issue (d0eb311)

Reverts

  • Revert "Revert "feat(abstract-utxo): support trustless change outputs from explaintx"" (03896f6)

38.4.0 (2024-05-01)

Bug Fixes

Features

  • sdk-core: add MPCv2 wallet creation (3b15e71)
  • sdk-core: create dkls wallets with version 3 as well (a14151a)
  • sdk-core: switch tss signing b/w mpc v1/v2 (c3d05f8)
  • wp: update public-types and pass signatureR (b0dba88)

Reverts

  • Revert "feat(abstract-utxo): support trustless change outputs from explaintx" (23442a9)

38.3.0 (2024-04-25)

Features

  • sdk-core: modify accept share method (74cba44)

38.2.1 (2024-04-24)

Bug Fixes

  • superagent upgrade to 9.0 (6e9aa43)

38.2.0 (2024-04-22)

Features

  • abstract-utxo: support trustless change outputs from explaintx (445ed53)

38.1.0 (2024-04-17)

Features

  • statics: add ofc token to represent Erc20 token on arbitrun chain (32ccf68)
  • statics: remove test on addressCoin (c5356b9)

38.0.5 (2024-04-12)

Bug Fixes

  • pending approvals for txRequestLite should not use multiSig flow (7802998)

38.0.4 (2024-04-10)

Note: Version bump only for package bitgo

38.0.3 (2024-04-09)

Note: Version bump only for package bitgo

38.0.2 (2024-04-08)

Note: Version bump only for package bitgo

38.0.1 (2024-04-05)

Note: Version bump only for package bitgo

38.0.0 (2024-03-28)

Bug Fixes

  • sdk-core: remove onToken validation when creating address (75f7fb7)

Features

  • root: deprecate node 16 (d3ec624)

BREAKING CHANGES

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

37.1.3 (2024-03-19)

Bug Fixes

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

37.1.2 (2024-03-11)

Note: Version bump only for package bitgo

37.1.1 (2024-02-28)

Note: Version bump only for package bitgo

37.1.0 (2024-02-22)

Features

  • sdk-core: implement root key creation for eddsa multisig (69bcaac)

37.0.0 (2024-02-19)

Bug Fixes

  • sdk-core: allow v4 forwarders (90104b8)

Features

  • sdk-core: add delegationId to claim reward options (c6007cf)
  • sdk-core: support authenticated encryption using pgp detached signatures (1b3b925)
  • sdk-lib-mpc: support DKLS DKG primitives (ccd6e66)

BREAKING CHANGES

  • sdk-lib-mpc: moves and renames authenticated encryption utility functions to sdk-lib-mpc

36.0.0 (2024-01-30)

Bug Fixes

  • abstract-utxo: assert locking script before signing (92eedd9)
  • abstract-utxo: do not override changeAddressType or txFormat (9494255)
  • abstract-utxo: revert to addressType (5e45e62)
  • abstract-utxo: upper case address should return false (f0b6c46)
  • add pendingApprovaId in prebuildTxTss response (049466b)
  • ensure no pending mocks linger after test (1a4e0e9)
  • remove .nvmrc file (a3edcc3)
  • root: add source to tss smc wallet creation (316ff20)
  • root: improve error handling for consolidateAccount (0d74c2a)
  • root: update @types/node (cedc1a0)
  • sdk-coin-trx: use a safer fee for sweep (a7575e0)
  • sdk-core: fix issue related to bignumber version (519fe47)
  • sdk-core: handle txRequest full PA before signing (9de0eae)
  • use whitelisted send params for tx initiate (0cf9f4c)

Code Refactoring

  • abstract-eth: move methods to abstract-eth (af8bd10)
  • rename coin 'core' to 'coreum' (baecc01)

Features

  • abstract-utxo: this enables psbt unless explicitly disabled for (9a1722e)
  • account-lib: add holesky testnet coin (0aaefc0)
  • add rbf params to accelerateTransaction (605dd31)
  • allow replacement transaction verification after prebuild (c81fba8)
  • bitgo: add Ton skeleton (fa49bde)
  • bitgo: calculate fees explicitly for psbts (7a7e288)
  • bitgo: use holesky etherscan url instead of goerli (61962f6)
  • deprecate old settlement code (550380d)
  • improve logic and add unit test (722d729)
  • rename the findMissingOutputs func to outputDifference (d4c7eb4)
  • sdk-coin-algo: support for token enablement (af718c9)
  • sdk-coin-arbeth: add arbeth sdk skeleton (f86018e)
  • sdk-coin-arbeth: add arbeth token support (b55961b)
  • sdk-coin-bera: add Berachain skeleton (b3d43c5)
  • sdk-coin-core: add coreum sdk (af73ccd)
  • sdk-coin-islm: add Islamic Coin (c49bdd1)
  • sdk-coin-opeth: add opeth sdk skeleton (42fbefa)
  • sdk-coin-opeth: add opeth tokens (1e50329)
  • sdk-coin-trx: consolidate to base address (d3b7558)
  • sdk-coin-zketh: add zketh sdk skeleton (dd2952f)
  • sdk-coin-zketh: add zketh token support (086b86c)
  • sdk-core: add custodial and smc tss wallet to generateWallet method (ea80f4f)
  • sdk-core: add function to transfer nfts (b77b386)
  • sdk-core: add helpers to support resigning ent challenges (e9bb150)
  • sdk-core: add new method to sign tss txs (3e2654d)
  • sdk-core: add support for bulk unspent consolidation (daee9f0)
  • sdk-core: allow tss signing with unencrypted prv (306dd37)
  • sdk-core: provide skipKeychain to wallet share API request (4fcc705)
  • sdk-core: use BuildParams codec in Wallet.sendAccountConsolidation (7d340ec)
  • statics: add arbeth coin config (2d84aa4)
  • statics: add Berachain & Haqq (988cfd4)
  • statics: add opeth coin config (c242760)
  • statics: add zketh coin config (0afeee2)

BREAKING CHANGES

  • renames the findMissingOutputs to outputDifference in AbstractUtxoCoin class

BTC-820

  • bitgo: changed default eth testnet etherscan url to holesky
  • 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
  • rename coin module, coin name, named exports for coreum

35.0.0 (2024-01-26)

Bug Fixes

  • abstract-utxo: assert locking script before signing (92eedd9)
  • abstract-utxo: do not override changeAddressType or txFormat (9494255)
  • abstract-utxo: revert to addressType (5e45e62)
  • abstract-utxo: upper case address should return false (f0b6c46)
  • add pendingApprovaId in prebuildTxTss response (049466b)
  • ensure no pending mocks linger after test (1a4e0e9)
  • remove .nvmrc file (a3edcc3)
  • root: add source to tss smc wallet creation (316ff20)
  • root: improve error handling for consolidateAccount (0d74c2a)
  • root: update @types/node (cedc1a0)
  • sdk-coin-trx: use a safer fee for sweep (a7575e0)
  • sdk-core: fix issue related to bignumber version (519fe47)
  • sdk-core: handle txRequest full PA before signing (9de0eae)
  • use whitelisted send params for tx initiate (0cf9f4c)

Code Refactoring

  • abstract-eth: move methods to abstract-eth (af8bd10)
  • rename coin 'core' to 'coreum' (baecc01)

Features

  • abstract-utxo: this enables psbt unless explicitly disabled for (9a1722e)
  • account-lib: add holesky testnet coin (0aaefc0)
  • add rbf params to accelerateTransaction (605dd31)
  • allow replacement transaction verification after prebuild (c81fba8)
  • bitgo: add Ton skeleton (fa49bde)
  • bitgo: calculate fees explicitly for psbts (7a7e288)
  • bitgo: use holesky etherscan url instead of goerli (61962f6)
  • deprecate old settlement code (550380d)
  • improve logic and add unit test (722d729)
  • rename the findMissingOutputs func to outputDifference (d4c7eb4)
  • sdk-coin-algo: support for token enablement (af718c9)
  • sdk-coin-arbeth: add arbeth sdk skeleton (f86018e)
  • sdk-coin-arbeth: add arbeth token support (b55961b)
  • sdk-coin-bera: add Berachain skeleton (b3d43c5)
  • sdk-coin-core: add coreum sdk (af73ccd)
  • sdk-coin-islm: add Islamic Coin (c49bdd1)
  • sdk-coin-opeth: add opeth sdk skeleton (42fbefa)
  • sdk-coin-opeth: add opeth tokens (1e50329)
  • sdk-coin-trx: consolidate to base address (d3b7558)
  • sdk-coin-zketh: add zketh sdk skeleton (dd2952f)
  • sdk-coin-zketh: add zketh token support (086b86c)
  • sdk-core: add custodial and smc tss wallet to generateWallet method (ea80f4f)
  • sdk-core: add function to transfer nfts (b77b386)
  • sdk-core: add helpers to support resigning ent challenges (e9bb150)
  • sdk-core: add new method to sign tss txs (3e2654d)
  • sdk-core: add support for bulk unspent consolidation (daee9f0)
  • sdk-core: allow tss signing with unencrypted prv (306dd37)
  • sdk-core: provide skipKeychain to wallet share API request (4fcc705)
  • sdk-core: use BuildParams codec in Wallet.sendAccountConsolidation (7d340ec)
  • statics: add arbeth coin config (2d84aa4)
  • statics: add Berachain & Haqq (988cfd4)
  • statics: add opeth coin config (c242760)
  • statics: add zketh coin config (0afeee2)

BREAKING CHANGES

  • renames the findMissingOutputs to outputDifference in AbstractUtxoCoin class

BTC-820

  • bitgo: changed default eth testnet etherscan url to holesky
  • 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
  • rename coin module, coin name, named exports for coreum

34.0.0 (2024-01-26)

Bug Fixes

  • abstract-utxo: assert locking script before signing (92eedd9)
  • abstract-utxo: do not override changeAddressType or txFormat (9494255)
  • abstract-utxo: revert to addressType (5e45e62)
  • abstract-utxo: upper case address should return false (f0b6c46)
  • add pendingApprovaId in prebuildTxTss response (049466b)
  • ensure no pending mocks linger after test (1a4e0e9)
  • remove .nvmrc file (a3edcc3)
  • root: add source to tss smc wallet creation (316ff20)
  • root: improve error handling for consolidateAccount (0d74c2a)
  • root: update @types/node (cedc1a0)
  • sdk-coin-trx: use a safer fee for sweep (a7575e0)
  • sdk-core: fix issue related to bignumber version (519fe47)
  • sdk-core: handle txRequest full PA before signing (9de0eae)
  • use whitelisted send params for tx initiate (0cf9f4c)

Code Refactoring

  • abstract-eth: move methods to abstract-eth (af8bd10)
  • rename coin 'core' to 'coreum' (baecc01)

Features

  • abstract-utxo: this enables psbt unless explicitly disabled for (9a1722e)
  • account-lib: add holesky testnet coin (0aaefc0)
  • add rbf params to accelerateTransaction (605dd31)
  • allow replacement transaction verification after prebuild (c81fba8)
  • bitgo: add Ton skeleton (fa49bde)
  • bitgo: calculate fees explicitly for psbts (7a7e288)
  • bitgo: use holesky etherscan url instead of goerli (61962f6)
  • deprecate old settlement code (550380d)
  • improve logic and add unit test (722d729)
  • rename the findMissingOutputs func to outputDifference (d4c7eb4)
  • sdk-coin-algo: support for token enablement (af718c9)
  • sdk-coin-arbeth: add arbeth sdk skeleton (f86018e)
  • sdk-coin-arbeth: add arbeth token support (b55961b)
  • sdk-coin-bera: add Berachain skeleton (b3d43c5)
  • sdk-coin-core: add coreum sdk (af73ccd)
  • sdk-coin-islm: add Islamic Coin (c49bdd1)
  • sdk-coin-opeth: add opeth sdk skeleton (42fbefa)
  • sdk-coin-opeth: add opeth tokens (1e50329)
  • sdk-coin-trx: consolidate to base address (d3b7558)
  • sdk-coin-zketh: add zketh sdk skeleton (dd2952f)
  • sdk-coin-zketh: add zketh token support (086b86c)
  • sdk-core: add custodial and smc tss wallet to generateWallet method (ea80f4f)
  • sdk-core: add function to transfer nfts (b77b386)
  • sdk-core: add helpers to support resigning ent challenges (e9bb150)
  • sdk-core: add new method to sign tss txs (3e2654d)
  • sdk-core: add support for bulk unspent consolidation (daee9f0)
  • sdk-core: allow tss signing with unencrypted prv (306dd37)
  • sdk-core: provide skipKeychain to wallet share API request (4fcc705)
  • sdk-core: use BuildParams codec in Wallet.sendAccountConsolidation (7d340ec)
  • statics: add arbeth coin config (2d84aa4)
  • statics: add Berachain & Haqq (988cfd4)
  • statics: add opeth coin config (c242760)
  • statics: add zketh coin config (0afeee2)

BREAKING CHANGES

  • renames the findMissingOutputs to outputDifference in AbstractUtxoCoin class

BTC-820

  • bitgo: changed default eth testnet etherscan url to holesky
  • 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
  • rename coin module, coin name, named exports for coreum

33.0.0 (2024-01-25)

Bug Fixes

  • abstract-utxo: do not override changeAddressType or txFormat (9494255)
  • abstract-utxo: revert to addressType (5e45e62)
  • abstract-utxo: upper case address should return false (f0b6c46)
  • add pendingApprovaId in prebuildTxTss response (049466b)
  • ensure no pending mocks linger after test (1a4e0e9)
  • remove .nvmrc file (a3edcc3)
  • root: add source to tss smc wallet creation (316ff20)
  • root: improve error handling for consolidateAccount (0d74c2a)
  • root: update @types/node (cedc1a0)
  • sdk-coin-trx: use a safer fee for sweep (a7575e0)
  • sdk-core: fix issue related to bignumber version (519fe47)
  • sdk-core: handle txRequest full PA before signing (9de0eae)
  • use whitelisted send params for tx initiate (0cf9f4c)

Code Refactoring

  • abstract-eth: move methods to abstract-eth (af8bd10)
  • rename coin 'core' to 'coreum' (baecc01)

Features

  • abstract-utxo: this enables psbt unless explicitly disabled for (9a1722e)
  • account-lib: add holesky testnet coin (0aaefc0)
  • add rbf params to accelerateTransaction (605dd31)
  • bitgo: add Ton skeleton (fa49bde)
  • bitgo: calculate fees explicitly for psbts (7a7e288)
  • bitgo: use holesky etherscan url instead of goerli (61962f6)
  • deprecate old settlement code (550380d)
  • improve logic and add unit test (722d729)
  • sdk-coin-algo: support for token enablement (af718c9)
  • sdk-coin-arbeth: add arbeth sdk skeleton (f86018e)
  • sdk-coin-arbeth: add arbeth token support (b55961b)
  • sdk-coin-bera: add Berachain skeleton (b3d43c5)
  • sdk-coin-core: add coreum sdk (af73ccd)
  • sdk-coin-islm: add Islamic Coin (c49bdd1)
  • sdk-coin-opeth: add opeth sdk skeleton (42fbefa)
  • sdk-coin-opeth: add opeth tokens (1e50329)
  • sdk-coin-trx: consolidate to base address (d3b7558)
  • sdk-coin-zketh: add zketh sdk skeleton (dd2952f)
  • sdk-coin-zketh: add zketh token support (086b86c)
  • sdk-core: add custodial and smc tss wallet to generateWallet method (ea80f4f)
  • sdk-core: add function to transfer nfts (b77b386)
  • sdk-core: add helpers to support resigning ent challenges (e9bb150)
  • sdk-core: add new method to sign tss txs (3e2654d)
  • sdk-core: add support for bulk unspent consolidation (daee9f0)
  • sdk-core: allow tss signing with unencrypted prv (306dd37)
  • sdk-core: provide skipKeychain to wallet share API request (4fcc705)
  • sdk-core: use BuildParams codec in Wallet.sendAccountConsolidation (7d340ec)
  • statics: add arbeth coin config (2d84aa4)
  • statics: add Berachain & Haqq (988cfd4)
  • statics: add opeth coin config (c242760)
  • statics: add zketh coin config (0afeee2)

BREAKING CHANGES

  • bitgo: changed default eth testnet etherscan url to holesky
  • 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
  • rename coin module, coin name, named exports for coreum

32.0.0 (2024-01-22)

Bug Fixes

  • abstract-utxo: do not override changeAddressType or txFormat (9494255)
  • abstract-utxo: revert to addressType (5e45e62)
  • abstract-utxo: upper case address should return false (f0b6c46)
  • add pendingApprovaId in prebuildTxTss response (049466b)
  • ensure no pending mocks linger after test (1a4e0e9)
  • remove .nvmrc file (a3edcc3)
  • root: add source to tss smc wallet creation (316ff20)
  • root: improve error handling for consolidateAccount (0d74c2a)
  • root: update @types/node (cedc1a0)
  • sdk-coin-trx: use a safer fee for sweep (a7575e0)
  • sdk-core: fix issue related to bignumber version (519fe47)
  • sdk-core: handle txRequest full PA before signing (9de0eae)
  • use whitelisted send params for tx initiate (0cf9f4c)

Code Refactoring

  • abstract-eth: move methods to abstract-eth (af8bd10)
  • rename coin 'core' to 'coreum' (baecc01)

Features

  • abstract-utxo: this enables psbt unless explicitly disabled for (9a1722e)
  • account-lib: add holesky testnet coin (0aaefc0)
  • add rbf params to accelerateTransaction (605dd31)
  • bitgo: add Ton skeleton (fa49bde)
  • bitgo: calculate fees explicitly for psbts (7a7e288)
  • bitgo: use holesky etherscan url instead of goerli (61962f6)
  • deprecate old settlement code (550380d)
  • improve logic and add unit test (722d729)
  • sdk-coin-algo: support for token enablement (af718c9)
  • sdk-coin-arbeth: add arbeth sdk skeleton (f86018e)
  • sdk-coin-arbeth: add arbeth token support (b55961b)
  • sdk-coin-bera: add Berachain skeleton (b3d43c5)
  • sdk-coin-core: add coreum sdk (af73ccd)
  • sdk-coin-islm: add Islamic Coin (c49bdd1)
  • sdk-coin-opeth: add opeth sdk skeleton (42fbefa)
  • sdk-coin-opeth: add opeth tokens (1e50329)
  • sdk-coin-trx: consolidate to base address (d3b7558)
  • sdk-coin-zketh: add zketh sdk skeleton (dd2952f)
  • sdk-coin-zketh: add zketh token support (086b86c)
  • sdk-core: add custodial and smc tss wallet to generateWallet method (ea80f4f)
  • sdk-core: add function to transfer nfts (b77b386)
  • sdk-core: add helpers to support resigning ent challenges (e9bb150)
  • sdk-core: add new method to sign tss txs (3e2654d)
  • sdk-core: add support for bulk unspent consolidation (daee9f0)
  • sdk-core: allow tss signing with unencrypted prv (306dd37)
  • sdk-core: provide skipKeychain to wallet share API request (4fcc705)
  • sdk-core: use BuildParams codec in Wallet.sendAccountConsolidation (7d340ec)
  • statics: add arbeth coin config (2d84aa4)
  • statics: add Berachain & Haqq (988cfd4)
  • statics: add opeth coin config (c242760)
  • statics: add zketh coin config (0afeee2)

BREAKING CHANGES

  • bitgo: changed default eth testnet etherscan url to holesky
  • 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
  • rename coin module, coin name, named exports for coreum

31.0.0 (2024-01-09)

Bug Fixes

  • abstract-utxo: do not override changeAddressType or txFormat (9494255)
  • abstract-utxo: revert to addressType (5e45e62)
  • abstract-utxo: upper case address should return false (f0b6c46)
  • ensure no pending mocks linger after test (1a4e0e9)
  • remove .nvmrc file (a3edcc3)
  • root: add source to tss smc wallet creation (316ff20)
  • root: improve error handling for consolidateAccount (0d74c2a)
  • root: update @types/node (cedc1a0)
  • sdk-coin-trx: use a safer fee for sweep (a7575e0)
  • sdk-core: fix issue related to bignumber version (519fe47)
  • sdk-core: handle txRequest full PA before signing (9de0eae)
  • use whitelisted send params for tx initiate (0cf9f4c)

Code Refactoring

  • abstract-eth: move methods to abstract-eth (af8bd10)
  • rename coin 'core' to 'coreum' (baecc01)

Features

  • abstract-utxo: this enables psbt unless explicitly disabled for (9a1722e)
  • account-lib: add holesky testnet coin (0aaefc0)
  • bitgo: add Ton skeleton (fa49bde)
  • bitgo: calculate fees explicitly for psbts (7a7e288)
  • bitgo: use holesky etherscan url instead of goerli (61962f6)
  • deprecate old settlement code (550380d)
  • improve logic and add unit test (722d729)
  • sdk-coin-algo: support for token enablement (af718c9)
  • sdk-coin-arbeth: add arbeth sdk skeleton (f86018e)
  • sdk-coin-arbeth: add arbeth token support (b55961b)
  • sdk-coin-bera: add Berachain skeleton (b3d43c5)
  • sdk-coin-core: add coreum sdk (af73ccd)
  • sdk-coin-islm: add Islamic Coin (c49bdd1)
  • sdk-coin-opeth: add opeth sdk skeleton (42fbefa)
  • sdk-coin-opeth: add opeth tokens (1e50329)
  • sdk-coin-trx: consolidate to base address (d3b7558)
  • sdk-coin-zketh: add zketh sdk skeleton (dd2952f)
  • sdk-coin-zketh: add zketh token support (086b86c)
  • sdk-core: add custodial and smc tss wallet to generateWallet method (ea80f4f)
  • sdk-core: add function to transfer nfts (b77b386)
  • sdk-core: add helpers to support resigning ent challenges (e9bb150)
  • sdk-core: add new method to sign tss txs (3e2654d)
  • sdk-core: add support for bulk unspent consolidation (daee9f0)
  • sdk-core: allow tss signing with unencrypted prv (306dd37)
  • sdk-core: provide skipKeychain to wallet share API request (4fcc705)
  • sdk-core: use BuildParams codec in Wallet.sendAccountConsolidation (7d340ec)
  • statics: add arbeth coin config (2d84aa4)
  • statics: add Berachain & Haqq (988cfd4)
  • statics: add opeth coin config (c242760)
  • statics: add zketh coin config (0afeee2)

BREAKING CHANGES

  • bitgo: changed default eth testnet etherscan url to holesky
  • 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
  • rename coin module, coin name, named exports for coreum

30.0.0 (2024-01-03)

Bug Fixes

  • abstract-utxo: do not override changeAddressType or txFormat (9494255)
  • abstract-utxo: revert to addressType (5e45e62)
  • abstract-utxo: upper case address should return false (f0b6c46)
  • ensure no pending mocks linger after test (1a4e0e9)
  • remove .nvmrc file (a3edcc3)
  • root: add source to tss smc wallet creation (316ff20)
  • root: improve error handling for consolidateAccount (0d74c2a)
  • root: update @types/node (cedc1a0)
  • sdk-coin-trx: use a safer fee for sweep (a7575e0)
  • sdk-core: fix issue related to bignumber version (519fe47)
  • sdk-core: handle txRequest full PA before signing (9de0eae)
  • use whitelisted send params for tx initiate (0cf9f4c)

Code Refactoring

  • abstract-eth: move methods to abstract-eth (af8bd10)
  • rename coin 'core' to 'coreum' (baecc01)

Features

  • abstract-utxo: this enables psbt unless explicitly disabled for (9a1722e)
  • account-lib: add holesky testnet coin (0aaefc0)
  • bitgo: add Ton skeleton (fa49bde)
  • bitgo: calculate fees explicitly for psbts (7a7e288)
  • deprecate old settlement code (550380d)
  • improve logic and add unit test (722d729)
  • sdk-coin-algo: support for token enablement (af718c9)
  • sdk-coin-arbeth: add arbeth sdk skeleton (f86018e)
  • sdk-coin-arbeth: add arbeth token support (b55961b)
  • sdk-coin-bera: add Berachain skeleton (b3d43c5)
  • sdk-coin-core: add coreum sdk (af73ccd)
  • sdk-coin-islm: add Islamic Coin (c49bdd1)
  • sdk-coin-opeth: add opeth sdk skeleton (42fbefa)
  • sdk-coin-opeth: add opeth tokens (1e50329)
  • sdk-coin-trx: consolidate to base address (d3b7558)
  • sdk-coin-zketh: add zketh sdk skeleton (dd2952f)
  • sdk-coin-zketh: add zketh token support (086b86c)
  • sdk-core: add custodial and smc tss wallet to generateWallet method (ea80f4f)
  • sdk-core: add function to transfer nfts (b77b386)
  • sdk-core: add helpers to support resigning ent challenges (e9bb150)
  • sdk-core: add new method to sign tss txs (3e2654d)
  • sdk-core: add support for bulk unspent consolidation (daee9f0)
  • sdk-core: allow tss signing with unencrypted prv (306dd37)
  • sdk-core: provide skipKeychain to wallet share API request (4fcc705)
  • sdk-core: use BuildParams codec in Wallet.sendAccountConsolidation (7d340ec)
  • statics: add arbeth coin config (2d84aa4)
  • statics: add Berachain & Haqq (988cfd4)
  • statics: add opeth coin config (c242760)
  • statics: add zketh coin config (0afeee2)

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
  • rename coin module, coin name, named exports for coreum

29.0.0 (2023-12-18)

Bug Fixes

  • abstract-utxo: upper case address should return false (f0b6c46)
  • ensure no pending mocks linger after test (1a4e0e9)
  • remove .nvmrc file (a3edcc3)
  • root: add source to tss smc wallet creation (316ff20)
  • root: improve error handling for consolidateAccount (0d74c2a)
  • root: update @types/node (cedc1a0)
  • sdk-coin-trx: use a safer fee for sweep (a7575e0)
  • sdk-core: fix issue related to bignumber version (519fe47)
  • sdk-core: handle txRequest full PA before signing (9de0eae)
  • use whitelisted send params for tx initiate (0cf9f4c)

Code Refactoring

  • abstract-eth: move methods to abstract-eth (af8bd10)
  • rename coin 'core' to 'coreum' (baecc01)

Features

  • abstract-utxo: this enables psbt unless explicitly disabled for (9a1722e)
  • account-lib: add holesky testnet coin (0aaefc0)
  • bitgo: add Ton skeleton (fa49bde)
  • bitgo: calculate fees explicitly for psbts (7a7e288)
  • deprecate old settlement code (550380d)
  • improve logic and add unit test (722d729)
  • sdk-coin-algo: support for token enablement (af718c9)
  • sdk-coin-arbeth: add arbeth sdk skeleton (f86018e)
  • sdk-coin-arbeth: add arbeth token support (b55961b)
  • sdk-coin-bera: add Berachain skeleton (b3d43c5)
  • sdk-coin-core: add coreum sdk (af73ccd)
  • sdk-coin-islm: add Islamic Coin (c49bdd1)
  • sdk-coin-opeth: add opeth sdk skeleton (42fbefa)
  • sdk-coin-opeth: add opeth tokens (1e50329)
  • sdk-coin-trx: consolidate to base address (d3b7558)
  • sdk-core: add custodial and smc tss wallet to generateWallet method (ea80f4f)
  • sdk-core: add function to transfer nfts (b77b386)
  • sdk-core: add helpers to support resigning ent challenges (e9bb150)
  • sdk-core: add new method to sign tss txs (3e2654d)
  • sdk-core: add support for bulk unspent consolidation (daee9f0)
  • sdk-core: allow tss signing with unencrypted prv (306dd37)
  • sdk-core: provide skipKeychain to wallet share API request (4fcc705)
  • sdk-core: use BuildParams codec in Wallet.sendAccountConsolidation (7d340ec)
  • statics: add arbeth coin config (2d84aa4)
  • statics: add Berachain & Haqq (988cfd4)
  • statics: add opeth coin config (c242760)

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
  • rename coin module, coin name, named exports for coreum

28.0.0 (2023-12-12)

Bug Fixes

  • abstract-utxo: upper case address should return false (f0b6c46)
  • ensure no pending mocks linger after test (1a4e0e9)
  • remove .nvmrc file (a3edcc3)
  • root: add source to tss smc wallet creation (316ff20)
  • root: improve error handling for consolidateAccount (0d74c2a)
  • root: update @types/node (cedc1a0)
  • sdk-coin-trx: use a safer fee for sweep (a7575e0)
  • sdk-core: fix issue related to bignumber version (519fe47)
  • sdk-core: handle txRequest full PA before signing (9de0eae)
  • use whitelisted send params for tx initiate (0cf9f4c)

Code Refactoring

  • abstract-eth: move methods to abstract-eth (af8bd10)
  • rename coin 'core' to 'coreum' (baecc01)

Features

  • abstract-utxo: this enables psbt unless explicitly disabled for (9a1722e)
  • account-lib: add holesky testnet coin (0aaefc0)
  • bitgo: add Ton skeleton (fa49bde)
  • bitgo: calculate fees explicitly for psbts (7a7e288)
  • deprecate old settlement code (550380d)
  • improve logic and add unit test (722d729)
  • sdk-coin-algo: support for token enablement (af718c9)
  • sdk-coin-arbeth: add arbeth sdk skeleton (f86018e)
  • sdk-coin-arbeth: add arbeth token support (b55961b)
  • sdk-coin-bera: add Berachain skeleton (b3d43c5)
  • sdk-coin-core: add coreum sdk (af73ccd)
  • sdk-coin-islm: add Islamic Coin (c49bdd1)
  • sdk-coin-opeth: add opeth sdk skeleton (42fbefa)
  • sdk-coin-opeth: add opeth tokens (1e50329)
  • sdk-coin-trx: consolidate to base address (d3b7558)
  • sdk-core: add custodial and smc tss wallet to generateWallet method (ea80f4f)
  • sdk-core: add helpers to support resigning ent challenges (e9bb150)
  • sdk-core: add new method to sign tss txs (3e2654d)
  • sdk-core: add support for bulk unspent consolidation (daee9f0)
  • sdk-core: allow tss signing with unencrypted prv (306dd37)
  • sdk-core: provide skipKeychain to wallet share API request (4fcc705)
  • sdk-core: use BuildParams codec in Wallet.sendAccountConsolidation (7d340ec)
  • statics: add arbeth coin config (2d84aa4)
  • statics: add Berachain & Haqq (988cfd4)
  • statics: add opeth coin config (c242760)

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
  • rename coin module, coin name, named exports for coreum

27.0.0 (2023-12-09)

Bug Fixes

  • abstract-utxo: upper case address should return false (f0b6c46)
  • ensure no pending mocks linger after test (1a4e0e9)
  • remove .nvmrc file (a3edcc3)
  • root: add source to tss smc wallet creation (316ff20)
  • root: improve error handling for consolidateAccount (0d74c2a)
  • root: update @types/node (cedc1a0)
  • sdk-coin-trx: use a safer fee for sweep (a7575e0)
  • sdk-core: fix issue related to bignumber version (519fe47)
  • sdk-core: handle txRequest full PA before signing (9de0eae)
  • use whitelisted send params for tx initiate (0cf9f4c)

Code Refactoring

  • abstract-eth: move methods to abstract-eth (af8bd10)
  • rename coin 'core' to 'coreum' (baecc01)

Features

  • abstract-utxo: this enables psbt unless explicitly disabled for (9a1722e)
  • account-lib: add holesky testnet coin (0aaefc0)
  • bitgo: add Ton skeleton (fa49bde)
  • bitgo: calculate fees explicitly for psbts (7a7e288)
  • deprecate old settlement code (550380d)
  • improve logic and add unit test (722d729)
  • sdk-coin-algo: support for token enablement (af718c9)
  • sdk-coin-arbeth: add arbeth sdk skeleton (f86018e)
  • sdk-coin-arbeth: add arbeth token support (b55961b)
  • sdk-coin-bera: add Berachain skeleton (b3d43c5)
  • sdk-coin-core: add coreum sdk (af73ccd)
  • sdk-coin-islm: add Islamic Coin (c49bdd1)
  • sdk-coin-opeth: add opeth sdk skeleton (42fbefa)
  • sdk-coin-trx: consolidate to base address (d3b7558)
  • sdk-core: add custodial and smc tss wallet to generateWallet method (ea80f4f)
  • sdk-core: add helpers to support resigning ent challenges (e9bb150)
  • sdk-core: add new method to sign tss txs (3e2654d)
  • sdk-core: add support for bulk unspent consolidation (daee9f0)
  • sdk-core: allow tss signing with unencrypted prv (306dd37)
  • sdk-core: use BuildParams codec in Wallet.sendAccountConsolidation (7d340ec)
  • statics: add arbeth coin config (2d84aa4)
  • statics: add Berachain & Haqq (988cfd4)
  • statics: add opeth coin config (c242760)

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
  • rename coin module, coin name, named exports for coreum

26.0.0 (2023-12-05)

Bug Fixes

  • abstract-utxo: upper case address should return false (f0b6c46)
  • ensure no pending mocks linger after test (1a4e0e9)
  • remove .nvmrc file (a3edcc3)
  • root: add source to tss smc wallet creation (316ff20)
  • root: improve error handling for consolidateAccount (0d74c2a)
  • root: update @types/node (cedc1a0)
  • sdk-coin-trx: use a safer fee for sweep (a7575e0)
  • sdk-core: fix issue related to bignumber version (519fe47)
  • sdk-core: handle txRequest full PA before signing (9de0eae)
  • use whitelisted send params for tx initiate (0cf9f4c)

Code Refactoring

  • abstract-eth: move methods to abstract-eth (af8bd10)
  • rename coin 'core' to 'coreum' (baecc01)

Features

  • abstract-utxo: this enables psbt unless explicitly disabled for (9a1722e)
  • account-lib: add holesky testnet coin (0aaefc0)
  • bitgo: add Ton skeleton (fa49bde)
  • bitgo: calculate fees explicitly for psbts (7a7e288)
  • deprecate old settlement code (550380d)
  • improve logic and add unit test (722d729)
  • sdk-coin-algo: support for token enablement (af718c9)
  • sdk-coin-arbeth: add arbeth sdk skeleton (f86018e)
  • sdk-coin-arbeth: add arbeth token support (b55961b)
  • sdk-coin-bera: add Berachain skeleton (b3d43c5)
  • sdk-coin-core: add coreum sdk (af73ccd)
  • sdk-coin-islm: add Islamic Coin (c49bdd1)
  • sdk-coin-opeth: add opeth sdk skeleton (42fbefa)
  • sdk-coin-trx: consolidate to base address (d3b7558)
  • sdk-core: add custodial and smc tss wallet to generateWallet method (ea80f4f)
  • sdk-core: add helpers to support resigning ent challenges (e9bb150)
  • sdk-core: add new method to sign tss txs (3e2654d)
  • sdk-core: add support for bulk unspent consolidation (daee9f0)
  • sdk-core: allow tss signing with unencrypted prv (306dd37)
  • sdk-core: use BuildParams codec in Wallet.sendAccountConsolidation (7d340ec)
  • statics: add arbeth coin config (2d84aa4)
  • statics: add Berachain & Haqq (988cfd4)
  • statics: add opeth coin config (c242760)

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
  • rename coin module, coin name, named exports for coreum

25.0.0 (2023-11-28)

Bug Fixes

  • abstract-utxo: upper case address should return false (f0b6c46)
  • ensure no pending mocks linger after test (1a4e0e9)
  • remove .nvmrc file (a3edcc3)
  • root: add source to tss smc wallet creation (316ff20)
  • root: update @types/node (cedc1a0)
  • sdk-coin-trx: use a safer fee for sweep (a7575e0)
  • sdk-core: fix issue related to bignumber version (519fe47)
  • sdk-core: handle txRequest full PA before signing (9de0eae)
  • use whitelisted send params for tx initiate (0cf9f4c)

Code Refactoring

  • abstract-eth: move methods to abstract-eth (af8bd10)
  • rename coin 'core' to 'coreum' (baecc01)

Features

  • account-lib: add holesky testnet coin (0aaefc0)
  • bitgo: add Ton skeleton (fa49bde)
  • bitgo: calculate fees explicitly for psbts (7a7e288)
  • deprecate old settlement code (550380d)
  • improve logic and add unit test (722d729)
  • sdk-coin-algo: support for token enablement (af718c9)
  • sdk-coin-arbeth: add arbeth sdk skeleton (f86018e)
  • sdk-coin-arbeth: add arbeth token support (b55961b)
  • sdk-coin-bera: add Berachain skeleton (b3d43c5)
  • sdk-coin-core: add coreum sdk (af73ccd)
  • sdk-coin-islm: add Islamic Coin (c49bdd1)
  • sdk-coin-opeth: add opeth sdk skeleton (42fbefa)
  • sdk-coin-trx: consolidate to base address (d3b7558)
  • sdk-core: add custodial and smc tss wallet to generateWallet method (ea80f4f)
  • sdk-core: add helpers to support resigning ent challenges (e9bb150)
  • sdk-core: add new method to sign tss txs (3e2654d)
  • sdk-core: add support for bulk unspent consolidation (daee9f0)
  • sdk-core: allow tss signing with unencrypted prv (306dd37)
  • sdk-core: use BuildParams codec in Wallet.sendAccountConsolidation (7d340ec)
  • statics: add arbeth coin config (2d84aa4)
  • statics: add Berachain & Haqq (988cfd4)
  • statics: add opeth coin config (c242760)

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
  • rename coin module, coin name, named exports for coreum

24.0.0 (2023-11-24)

Bug Fixes

  • abstract-utxo: upper case address should return false (f0b6c46)
  • ensure no pending mocks linger after test (1a4e0e9)
  • remove .nvmrc file (a3edcc3)
  • root: update @types/node (cedc1a0)
  • sdk-coin-trx: use a safer fee for sweep (a7575e0)
  • sdk-core: fix issue related to bignumber version (519fe47)
  • sdk-core: handle txRequest full PA before signing (9de0eae)
  • use whitelisted send params for tx initiate (0cf9f4c)

Code Refactoring

  • abstract-eth: move methods to abstract-eth (af8bd10)
  • rename coin 'core' to 'coreum' (baecc01)

Features

  • account-lib: add holesky testnet coin (0aaefc0)
  • bitgo: add Ton skeleton (fa49bde)
  • bitgo: calculate fees explicitly for psbts (7a7e288)
  • deprecate old settlement code (550380d)
  • improve logic and add unit test (722d729)
  • sdk-coin-algo: support for token enablement (af718c9)
  • sdk-coin-arbeth: add arbeth sdk skeleton (f86018e)
  • sdk-coin-arbeth: add arbeth token support (b55961b)
  • sdk-coin-bera: add Berachain skeleton (b3d43c5)
  • sdk-coin-core: add coreum sdk (af73ccd)
  • sdk-coin-islm: add Islamic Coin (c49bdd1)
  • sdk-coin-opeth: add opeth sdk skeleton (42fbefa)
  • sdk-coin-trx: consolidate to base address (d3b7558)
  • sdk-core: add helpers to support resigning ent challenges (e9bb150)
  • sdk-core: add new method to sign tss txs (3e2654d)
  • sdk-core: add support for bulk unspent consolidation (daee9f0)
  • sdk-core: allow tss signing with unencrypted prv (306dd37)
  • sdk-core: use BuildParams codec in Wallet.sendAccountConsolidation (7d340ec)
  • statics: add arbeth coin config (2d84aa4)
  • statics: add Berachain & Haqq (988cfd4)
  • statics: add opeth coin config (c242760)

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
  • rename coin module, coin name, named exports for coreum

23.0.0 (2023-11-17)

Bug Fixes

  • abstract-utxo: upper case address should return false (f0b6c46)
  • ensure no pending mocks linger after test (1a4e0e9)
  • remove .nvmrc file (a3edcc3)
  • root: update @types/node (cedc1a0)
  • sdk-coin-trx: use a safer fee for sweep (a7575e0)
  • sdk-core: fix issue related to bignumber version (519fe47)
  • sdk-core: handle txRequest full PA before signing (9de0eae)
  • use whitelisted send params for tx initiate (0cf9f4c)

Code Refactoring

  • abstract-eth: move methods to abstract-eth (af8bd10)
  • rename coin 'core' to 'coreum' (baecc01)

Features

  • account-lib: add holesky testnet coin (0aaefc0)
  • bitgo: add Ton skeleton (fa49bde)
  • bitgo: calculate fees explicitly for psbts (7a7e288)
  • deprecate old settlement code (550380d)
  • improve logic and add unit test (722d729)
  • sdk-coin-algo: support for token enablement (af718c9)
  • sdk-coin-arbeth: add arbeth sdk skeleton (f86018e)
  • sdk-coin-arbeth: add arbeth token support (b55961b)
  • sdk-coin-bera: add Berachain skeleton (b3d43c5)
  • sdk-coin-core: add coreum sdk (af73ccd)
  • sdk-coin-islm: add Islamic Coin (c49bdd1)
  • sdk-coin-opeth: add opeth sdk skeleton (42fbefa)
  • sdk-coin-trx: consolidate to base address (d3b7558)
  • sdk-core: add helpers to support resigning ent challenges (e9bb150)
  • sdk-core: add new method to sign tss txs (3e2654d)
  • sdk-core: add support for bulk unspent consolidation (daee9f0)
  • sdk-core: allow tss signing with unencrypted prv (306dd37)
  • sdk-core: use BuildParams codec in Wallet.sendAccountConsolidation (7d340ec)
  • statics: add arbeth coin config (2d84aa4)
  • statics: add Berachain & Haqq (988cfd4)
  • statics: add opeth coin config (c242760)

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
  • rename coin module, coin name, named exports for coreum

22.0.0 (2023-11-13)

Bug Fixes

  • abstract-utxo: upper case address should return false (f0b6c46)
  • ensure no pending mocks linger after test (1a4e0e9)
  • remove .nvmrc file (a3edcc3)
  • root: update @types/node (cedc1a0)
  • sdk-coin-trx: use a safer fee for sweep (a7575e0)
  • sdk-core: fix issue related to bignumber version (519fe47)
  • sdk-core: handle txRequest full PA before signing (9de0eae)

Code Refactoring

  • abstract-eth: move methods to abstract-eth (af8bd10)
  • rename coin 'core' to 'coreum' (baecc01)

Features

  • account-lib: add holesky testnet coin (0aaefc0)
  • bitgo: add Ton skeleton (fa49bde)
  • bitgo: calculate fees explicitly for psbts (7a7e288)
  • improve logic and add unit test (722d729)
  • sdk-coin-algo: support for token enablement (af718c9)
  • sdk-coin-arbeth: add arbeth sdk skeleton (f86018e)
  • sdk-coin-arbeth: add arbeth token support (b55961b)
  • sdk-coin-bera: add Berachain skeleton (b3d43c5)
  • sdk-coin-core: add coreum sdk (af73ccd)
  • sdk-coin-islm: add Islamic Coin (c49bdd1)
  • sdk-coin-opeth: add opeth sdk skeleton (42fbefa)
  • sdk-coin-trx: consolidate to base address (d3b7558)
  • sdk-core: add helpers to support resigning ent challenges (e9bb150)
  • sdk-core: add new method to sign tss txs (3e2654d)
  • sdk-core: use BuildParams codec in Wallet.sendAccountConsolidation (7d340ec)
  • statics: add arbeth coin config (2d84aa4)
  • statics: add Berachain & Haqq (988cfd4)
  • statics: add opeth coin config (c242760)

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
  • rename coin module, coin name, named exports for coreum

21.0.0 (2023-11-13)

Bug Fixes

  • abstract-utxo: upper case address should return false (f0b6c46)
  • ensure no pending mocks linger after test (1a4e0e9)
  • remove .nvmrc file (a3edcc3)
  • root: update @types/node (cedc1a0)
  • sdk-coin-trx: use a safer fee for sweep (a7575e0)
  • sdk-core: fix issue related to bignumber version (519fe47)
  • sdk-core: handle txRequest full PA before signing (9de0eae)

Code Refactoring

  • abstract-eth: move methods to abstract-eth (af8bd10)
  • rename coin 'core' to 'coreum' (baecc01)

Features

  • account-lib: add holesky testnet coin (0aaefc0)
  • bitgo: add Ton skeleton (fa49bde)
  • bitgo: calculate fees explicitly for psbts (7a7e288)
  • improve logic and add unit test (722d729)
  • sdk-coin-algo: support for token enablement (af718c9)
  • sdk-coin-arbeth: add arbeth sdk skeleton (f86018e)
  • sdk-coin-arbeth: add arbeth token support (b55961b)
  • sdk-coin-bera: add Berachain skeleton (b3d43c5)
  • sdk-coin-core: add coreum sdk (af73ccd)
  • sdk-coin-islm: add Islamic Coin (c49bdd1)
  • sdk-coin-opeth: add opeth sdk skeleton (42fbefa)
  • sdk-coin-trx: consolidate to base address (d3b7558)
  • sdk-core: add helpers to support resigning ent challenges (e9bb150)
  • sdk-core: add new method to sign tss txs (3e2654d)
  • sdk-core: use BuildParams codec in Wallet.sendAccountConsolidation (7d340ec)
  • statics: add arbeth coin config (2d84aa4)
  • statics: add Berachain & Haqq (988cfd4)
  • statics: add opeth coin config (c242760)

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
  • rename coin module, coin name, named exports for coreum

20.0.0 (2023-11-13)

Bug Fixes

  • abstract-utxo: upper case address should return false (f0b6c46)
  • ensure no pending mocks linger after test (1a4e0e9)
  • remove .nvmrc file (a3edcc3)
  • root: update @types/node (cedc1a0)
  • sdk-coin-trx: use a safer fee for sweep (a7575e0)
  • sdk-core: fix issue related to bignumber version (519fe47)
  • sdk-core: handle txRequest full PA before signing (9de0eae)

Code Refactoring

  • abstract-eth: move methods to abstract-eth (af8bd10)
  • rename coin 'core' to 'coreum' (baecc01)

Features

  • account-lib: add holesky testnet coin (0aaefc0)
  • bitgo: add Ton skeleton (fa49bde)
  • bitgo: calculate fees explicitly for psbts (7a7e288)
  • improve logic and add unit test (722d729)
  • sdk-coin-algo: support for token enablement (af718c9)
  • sdk-coin-arbeth: add arbeth sdk skeleton (f86018e)
  • sdk-coin-arbeth: add arbeth token support (b55961b)
  • sdk-coin-bera: add Berachain skeleton (b3d43c5)
  • sdk-coin-core: add coreum sdk (af73ccd)
  • sdk-coin-islm: add Islamic Coin (c49bdd1)
  • sdk-coin-opeth: add opeth sdk skeleton (42fbefa)
  • sdk-coin-trx: consolidate to base address (d3b7558)
  • sdk-core: add helpers to support resigning ent challenges (e9bb150)
  • sdk-core: add new method to sign tss txs (3e2654d)
  • sdk-core: use BuildParams codec in Wallet.sendAccountConsolidation (7d340ec)
  • statics: add arbeth coin config (2d84aa4)
  • statics: add Berachain & Haqq (988cfd4)
  • statics: add opeth coin config (c242760)

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
  • rename coin module, coin name, named exports for coreum

19.20.0 (2023-10-20)

Bug Fixes

  • abstract-utxo: upper case address should return false (f0b6c46)
  • ensure no pending mocks linger after test (1a4e0e9)
  • remove .nvmrc file (a3edcc3)
  • root: update @types/node (cedc1a0)
  • sdk-coin-trx: use a safer fee for sweep (a7575e0)
  • sdk-core: handle txRequest full PA before signing (9de0eae)

Features

  • account-lib: add holesky testnet coin (0aaefc0)
  • bitgo: add Ton skeleton (fa49bde)
  • bitgo: calculate fees explicitly for psbts (7a7e288)
  • improve logic and add unit test (722d729)
  • sdk-coin-algo: support for token enablement (af718c9)
  • sdk-coin-arbeth: add arbeth sdk skeleton (f86018e)
  • sdk-coin-arbeth: add arbeth token support (b55961b)
  • sdk-coin-bera: add Berachain skeleton (b3d43c5)
  • sdk-coin-core: add coreum sdk (af73ccd)
  • sdk-coin-islm: add Islamic Coin (c49bdd1)
  • sdk-coin-opeth: add opeth sdk skeleton (42fbefa)
  • sdk-coin-trx: consolidate to base address (d3b7558)
  • sdk-core: add helpers to support resigning ent challenges (e9bb150)
  • sdk-core: add new method to sign tss txs (3e2654d)
  • sdk-core: use BuildParams codec in Wallet.sendAccountConsolidation (7d340ec)
  • statics: add arbeth coin config (2d84aa4)
  • statics: add Berachain & Haqq (988cfd4)
  • statics: add opeth coin config (c242760)

19.19.0 (2023-10-18)

Bug Fixes

  • abstract-utxo: upper case address should return false (f0b6c46)
  • ensure no pending mocks linger after test (1a4e0e9)
  • remove .nvmrc file (a3edcc3)
  • root: update @types/node (cedc1a0)
  • sdk-coin-trx: use a safer fee for sweep (a7575e0)
  • sdk-core: handle txRequest full PA before signing (9de0eae)

Features

  • bitgo: add Ton skeleton (fa49bde)
  • bitgo: calculate fees explicitly for psbts (7a7e288)
  • improve logic and add unit test (722d729)
  • sdk-coin-algo: support for token enablement (af718c9)
  • sdk-coin-arbeth: add arbeth sdk skeleton (f86018e)
  • sdk-coin-arbeth: add arbeth token support (b55961b)
  • sdk-coin-bera: add Berachain skeleton (b3d43c5)
  • sdk-coin-core: add coreum sdk (af73ccd)
  • sdk-coin-islm: add Islamic Coin (c49bdd1)
  • sdk-coin-opeth: add opeth sdk skeleton (42fbefa)
  • sdk-coin-trx: consolidate to base address (d3b7558)
  • sdk-core: add helpers to support resigning ent challenges (e9bb150)
  • sdk-core: add new method to sign tss txs (3e2654d)
  • sdk-core: use BuildParams codec in Wallet.sendAccountConsolidation (7d340ec)
  • statics: add arbeth coin config (2d84aa4)
  • statics: add Berachain & Haqq (988cfd4)
  • statics: add opeth coin config (c242760)

19.18.0 (2023-09-25)

Bug Fixes

  • abstract-utxo: upper case address should return false (f0b6c46)
  • remove .nvmrc file (a3edcc3)
  • root: update @types/node (cedc1a0)
  • sdk-coin-trx: use a safer fee for sweep (a7575e0)
  • sdk-core: handle txRequest full PA before signing (9de0eae)

Features

  • bitgo: calculate fees explicitly for psbts (7a7e288)
  • sdk-coin-trx: consolidate to base address (d3b7558)
  • sdk-core: add helpers to support resigning ent challenges (e9bb150)
  • sdk-core: use BuildParams codec in Wallet.sendAccountConsolidation (7d340ec)

19.17.1 (2023-09-11)

Note: Version bump only for package bitgo

19.17.0 (2023-09-09)

Bug Fixes

  • abstract-utxo: upper case address should return false (f0b6c46)
  • remove .nvmrc file (a3edcc3)
  • root: update @types/node (cedc1a0)
  • sdk-coin-trx: use a safer fee for sweep (a7575e0)
  • sdk-core: handle txRequest full PA before signing (9de0eae)

Features

  • bitgo: calculate fees explicitly for psbts (7a7e288)
  • sdk-coin-trx: consolidate to base address (d3b7558)
  • sdk-core: add helpers to support resigning ent challenges (e9bb150)
  • sdk-core: use BuildParams codec in Wallet.sendAccountConsolidation (7d340ec)

19.16.0 (2023-09-09)

Bug Fixes

  • abstract-utxo: upper case address should return false (f0b6c46)
  • remove .nvmrc file (a3edcc3)
  • root: update @types/node (cedc1a0)
  • sdk-coin-trx: use a safer fee for sweep (a7575e0)
  • sdk-core: handle txRequest full PA before signing (9de0eae)

Features

  • bitgo: calculate fees explicitly for psbts (7a7e288)
  • sdk-coin-trx: consolidate to base address (d3b7558)
  • sdk-core: add helpers to support resigning ent challenges (e9bb150)
  • sdk-core: use BuildParams codec in Wallet.sendAccountConsolidation (7d340ec)

19.15.0 (2023-09-07)

Bug Fixes

  • abstract-utxo: upper case address should return false (f0b6c46)
  • remove .nvmrc file (a3edcc3)
  • root: update @types/node (cedc1a0)
  • sdk-coin-trx: use a safer fee for sweep (a7575e0)
  • sdk-core: handle txRequest full PA before signing (9de0eae)

Features

  • bitgo: calculate fees explicitly for psbts (7a7e288)
  • sdk-coin-trx: consolidate to base address (d3b7558)
  • sdk-core: add helpers to support resigning ent challenges (e9bb150)
  • sdk-core: use BuildParams codec in Wallet.sendAccountConsolidation (7d340ec)

19.14.0 (2023-09-05)

Bug Fixes

  • remove .nvmrc file (a3edcc3)
  • root: update @types/node (cedc1a0)
  • sdk-coin-trx: use a safer fee for sweep (a7575e0)
  • sdk-core: handle txRequest full PA before signing (9de0eae)

Features

  • bitgo: calculate fees explicitly for psbts (7a7e288)
  • sdk-coin-trx: consolidate to base address (d3b7558)
  • sdk-core: add helpers to support resigning ent challenges (e9bb150)
  • sdk-core: use BuildParams codec in Wallet.sendAccountConsolidation (7d340ec)

19.13.0 (2023-09-01)

Bug Fixes

  • remove .nvmrc file (a3edcc3)
  • root: update @types/node (cedc1a0)
  • sdk-coin-trx: use a safer fee for sweep (a7575e0)
  • sdk-core: handle txRequest full PA before signing (9de0eae)

Features

  • bitgo: calculate fees explicitly for psbts (7a7e288)
  • sdk-coin-trx: consolidate to base address (d3b7558)
  • sdk-core: add helpers to support resigning ent challenges (e9bb150)
  • sdk-core: use BuildParams codec in Wallet.sendAccountConsolidation (7d340ec)

19.12.0 (2023-08-29)

Bug Fixes

  • remove .nvmrc file (a3edcc3)
  • sdk-coin-trx: use a safer fee for sweep (a7575e0)
  • sdk-core: handle txRequest full PA before signing (9de0eae)

Features

  • bitgo: calculate fees explicitly for psbts (7a7e288)
  • sdk-core: add helpers to support resigning ent challenges (e9bb150)
  • sdk-core: use BuildParams codec in Wallet.sendAccountConsolidation (7d340ec)

19.11.0 (2023-08-25)

Bug Fixes

  • remove .nvmrc file (a3edcc3)
  • sdk-coin-trx: use a safer fee for sweep (a7575e0)
  • sdk-core: handle txRequest full PA before signing (9de0eae)

Features

  • bitgo: calculate fees explicitly for psbts (7a7e288)
  • sdk-core: use BuildParams codec in Wallet.sendAccountConsolidation (7d340ec)

19.10.0 (2023-08-24)

Bug Fixes

  • remove .nvmrc file (a3edcc3)
  • sdk-coin-trx: use a safer fee for sweep (a7575e0)
  • sdk-core: handle txRequest full PA before signing (9de0eae)

Features

  • bitgo: calculate fees explicitly for psbts (7a7e288)

19.9.0 (2023-08-16)

Bug Fixes

  • sdk-coin-trx: use a safer fee for sweep (a7575e0)

Features

  • bitgo: calculate fees explicitly for psbts (7a7e288)

19.8.0 (2023-08-16)

Bug Fixes

  • sdk-coin-trx: use a safer fee for sweep (a7575e0)

Features

  • bitgo: calculate fees explicitly for psbts (7a7e288)

19.7.0 (2023-08-04)

Bug Fixes

  • sdk-core: include paillier in tests (1de3bc2)
  • sdk-core: use prebuilt-tx with tss full sendmany (4adebcb)

Features

  • abstract-utxo: add psbt support backup recovery (b312a86)
  • express: support ECDSA TSS in external signer (03356c1)
  • root: add node 18 to engines and CI (9cc6a70)
  • root: remove node 14 from engines (6ec47cb)
  • sdk-coin-zeta: zeta sdk init along with testcases (b92d793)
  • sdk-core: add util to get public key from commonKeychain (289fba0)

19.6.0 (2023-07-28)

Bug Fixes

  • sdk-core: include paillier in tests (1de3bc2)
  • sdk-core: use prebuilt-tx with tss full sendmany (4adebcb)

Features

  • express: support ECDSA TSS in external signer (03356c1)
  • root: add node 18 to engines and CI (9cc6a70)
  • root: remove node 14 from engines (6ec47cb)
  • sdk-coin-zeta: zeta sdk init along with testcases (b92d793)
  • sdk-core: add util to get public key from commonKeychain (289fba0)

19.5.0 (2023-07-18)

Bug Fixes

  • bitgo: remove flag after adding coin specific module (4629e74)
  • sdk-core: fix createTssBitGoKeyFromOvcShares method (70e3e13)
  • sdk-core: make amount optional in stake options (19039a5)

Features

  • abstract-utxo: always use bitcoin network for validating secondary key signatures (d9b7022)
  • abstract-utxo: move keysSignatures test to separate file (b9fa5c5)
  • sdk-coin-ada: split claim rewards and claim unstaked (271ccca)
  • sdk-coin-injective: injective sdk init along with testcases (5064a10)
  • sdk-coin-injective: injective sdk init along with testcases (3cf36cc)
  • sdk-core: add stakeMany to stake options (0a8772a)

Reverts

  • Revert "chore(sdk-coin-bnb): create new bnb module" (e998a04)

19.4.0 (2023-06-21)

Bug Fixes

  • sdk-core: recreate tx for account coins (16d1244)

Features

  • abstract-utxo: support express external signer for musig2 inputs (4401367)
  • sdk-coin-bld: agoric sdk along with testcases (ed60702)
  • sdk-coin-bld: agoric sdk along with testcases (3cba328)
  • sdk-coin-hash: provenance sdk init along with testcases (7ab7cca)
  • sdk-coin-sei: sei sdk init along with testcases (d7fac3f)

19.3.0 (2023-06-14)

Features

  • root: use eddsa commitment for tss utils and signing (b14b64f)
  • sdk-core: remove ecdsa tss feature flag (1382684)

19.2.0 (2023-06-13)

Features

  • sdk-coin-tia: celestia sdk along with testcases (1d104e0)
  • sdk-core: accelerateTransaction always uses txFormat=psbt (41da856)
  • sdk-core: make paillier proofs mandatory (4c62dd8)
  • sdk-core: manageUnspents overrides txFormat during bss (1f53a9d)
  • sdk-core: sendMany always builds with psbt format for non-tss (8c894b2)
  • sdk-core: sweepWallet uses txFormat='psbt' (bc80b3d)

19.1.0 (2023-06-07)

Features

  • abstract-utxo: make walletId param optional for signtx (f5aff50)
  • statics: add Injective config (750e817)

19.0.0 (2023-06-05)

Bug Fixes

  • sdk-coin-stx: fix trx recovery (8c28f2f)
  • sdk-core: fix pending approval for consolidation (3589434)
  • sdk-core: retrieve bitgo modulus for ecdsa signing (b43279b)
  • utxo-lib: use PsbtInput instead of UtxoPsbt (1f73539)

Features

  • abstract-utxo: add psbt support to explain and verify Tx (4189659)
  • root: add optional paillier proof plumbing (18093bf)
  • sdk-coin-osmo: osmosis sdk init (cc20a59)
  • sdk-coin-trx: add receive address tron recovery (2a120fe)
  • sdk-core: refactor signConvert to steps (94e2cae)
  • sdk-core: simplify mpc.appendChallenge (67bee8f)
  • sdk-lib-mpc: make rangeProof challenges mandatory for appendChallenge (1f68b30)

BREAKING CHANGES

  • utxo-lib: functions signature is changed

18.5.0 (2023-05-25)

Bug Fixes

  • bitgo: should skip password validation in external signing (a0cde4d)
  • sdk-core: fix time issue when checking gpg wallet signatures from bitgo (a7fa97b)

Features

  • abstract-utxo: add psbt and musig2 support for sdk-api (7a23991)
  • root: implement eddsa signing with commitment (d67ac81)

18.4.0 (2023-05-17)

Bug Fixes

  • bitgo: drone is no longer used in this repo so can safely be removed (badc0de), closes #3554 #3554

Features

  • sdk-core: method to parse json from OVC to create TSS bitgo key (c045934)

18.3.0 (2023-05-10)

Bug Fixes

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

Features

  • sdk-core: pre validate wallet pass phrase (77f37e6)
  • sdk-core: stop calling staking service send api for full version (49d13f1)

18.2.1 (2023-05-03)

Bug Fixes

  • sdk-core: fix url path of fetching tss config API (0d61a31)

18.2.0 (2023-04-25)

Features

  • sdk-coin-xrp: change xrp unsigned sweep recovery to return json body (936846f)
  • sdk-core: initate, sign and verify ecdsa challenges for enterprise (529ad9e)
  • sdk-core: update ecdsa signing to use enterprise challenge (c626f00)

18.1.1 (2023-04-20)

Bug Fixes

  • bitgo: restrict receive address withdrawals (8257552), closes #3486
  • bitgo: restrict receive address withdrawals (c563742)
  • root: update tests using safe primes (5a275ff)

18.1.0 (2023-04-13)

Bug Fixes

  • bitgo: add argument to create address on ofc wallets (b1a212d)
  • bitgo: modified failing unit tests (9b3ec66)
  • sdk-core: fix parameter misordering for user gpg key (225246e)

Features

  • sdk-coin-trx: add tokens to tron recovery method (1aec210)
  • sdk-core: add switchValidator for stakingWallet (c067695)
  • sdk-core: enable fillNonce and acceleration tx for receive address (09f05f3)
  • utxo-lib: create p2tr address using musig2 (699e829)
  • utxo-lib: fix for noble ecc wrapper buffer to bigint conversion (ba58297)
  • utxo-lib: improve signature of createTransactionFromBuffer (b896944)
  • utxo-lib: introduce ParsedScriptType (3c28bbc)

18.0.1 (2023-02-17)

Bug Fixes

  • polygon recovery with range proof (19317f7)
  • use post on get challenge end-point (f2a8320)

18.0.0 (2023-02-16)

Bug Fixes

  • bitgo: remove enforcement of HMAC verification on all non-prod environments (118722c)
  • convert addr to canonical addr during wrongChainRecovery (2089596)
  • sdk-core: correct ecdsa verifyWalletSigs() (3b1476c)
  • sdk-core: eddsa signing vss share (ae40423)
  • sdk-core: get low balance forwarder (6b8205c)
  • sdk-core: make derivation play nicely with rangeproofs (26ad5b5)
  • sdk-core: mark pub as optional in Keychain interface (7d6012c)
  • sdk-core: reduce size of beta0 and nu0 per revised whitepaper (94d50c9)
  • sdk-core: update fixtures and fix tests (c936478)
  • sdk-core: use hex toString() verify ecdsa (aead4a4)
  • use new mock for cross chain recovery test (d54db09)

Features

  • account-lib: make rangeproof stuff async (380f288)
  • bitgo: remove unused dev dependency (134955b)
  • sdk-core: add ecdsa to verifyShareProof() (9be664b)
  • sdk-core: add ecdsa wallet sig verification (375be2d)
  • sdk-core: add type property to Keychain (5092b29)
  • sdk-core: allow consolidateUnspents method to only build the tx also (790f2d1)
  • sdk-core: ecdsa signing use derivation path (f4ca720)
  • sdk-core: include keyShares in third party backup tss keychain (c5997de)
  • sdk-core: rename type (c81221f)
  • sdk-core: use trust backup gpg for encrypting (400a9af)
  • send enterprise id to backupkeys end-point (701ff7c)
  • statics: add ofc algorand usdc token (9450360)
  • statics: add ofc hedera usdc token (67f1c5d)
  • update tests for crossChainRecovery (6cdd3a9)

BREAKING CHANGES

  • sdk-core: Keychain.pub is now optional
  • sdk-core: rename type backupGpgKey to BackupGpgKey
  • sdk-core: The verifyEdShareProof function is renamed to verifyShareProof and now expects a 4th parameter which must be a string of either eddsa or ecdsa.

17.0.0 (2023-02-08)

Bug Fixes

  • bitgo: remove enforcement of HMAC verification on all non-prod environments (118722c)
  • convert addr to canonical addr during wrongChainRecovery (2089596)
  • sdk-core: correct ecdsa verifyWalletSigs() (3b1476c)
  • sdk-core: get low balance forwarder (6b8205c)
  • sdk-core: make derivation play nicely with rangeproofs (26ad5b5)
  • sdk-core: update fixtures and fix tests (c936478)
  • sdk-core: use hex toString() verify ecdsa (aead4a4)
  • use new mock for cross chain recovery test (d54db09)

Features

  • account-lib: make rangeproof stuff async (380f288)
  • bitgo: remove unused dev dependency (134955b)
  • sdk-core: add ecdsa to verifyShareProof() (9be664b)
  • sdk-core: add ecdsa wallet sig verification (375be2d)
  • sdk-core: add type property to Keychain (5092b29)
  • sdk-core: ecdsa signing use derivation path (f4ca720)
  • sdk-core: include keyShares in third party backup tss keychain (c5997de)
  • sdk-core: rename type (c81221f)
  • sdk-core: use trust backup gpg for encrypting (400a9af)
  • send enterprise id to backupkeys end-point (701ff7c)
  • statics: add ofc algorand usdc token (9450360)
  • update tests for crossChainRecovery (6cdd3a9)

BREAKING CHANGES

  • sdk-core: rename type backupGpgKey to BackupGpgKey
  • sdk-core: The verifyEdShareProof function is renamed to verifyShareProof and now expects a 4th parameter which must be a string of either eddsa or ecdsa.

16.4.0 (2023-01-30)

Bug Fixes

  • bitgo: remove enforcement of HMAC verification on all non-prod environments (118722c)
  • sdk-core: get low balance forwarder (6b8205c)
  • use new mock for cross chain recovery test (d54db09)

Features

  • sdk-core: add ecdsa wallet sig verification (375be2d)
  • statics: add ofc algorand usdc token (9450360)
  • update tests for crossChainRecovery (6cdd3a9)

16.3.0 (2023-01-25)

Bug Fixes

  • sdk-coin-eth: fix recovery flow, add unit test (49fc287)
  • sdk-coin-eth: fix unit test (c26015c)
  • sdk-core: remove generic typing from typeddata associated with eip712 (ac1047e)

Features

  • sdk-coin-atom: create atom module (88d9971)
  • sdk-core: add extra params for addKey (43e095e)
  • sdk-core: add u value proof for ecdsa (1ae0107)
  • sdk-core: forwarder version 3 (82e6deb)
  • sdk-core: get bitgo public key based on coin and feature flags (c5cee95)
  • statics: add ofc stellar usdc token (2c2735d)
  • statics: fix the keycurve testcase (b1bc356)

16.2.1 (2022-12-23)

Note: Version bump only for package bitgo

16.2.0 (2022-12-20)

Bug Fixes

  • sdk-core: fix generate wallets isCold param (ff22908)

Features

  • added eip712 sign typed data (6d2cbea)
  • sdk-coin-eth: add support for tss recoveries (5954c7d)
  • sdk-core: allow forwarder version 2 (7b9a05b)

16.1.2 (2022-12-09)

Bug Fixes

  • enable cookie propagation gating for test and prod (da6ddb3)

16.1.1 (2022-12-06)

Note: Version bump only for package bitgo

16.1.0 (2022-12-01)

Features

  • abstract-utxo: add valueString to unspents for doge recovery flow (439f95c)
  • bitgo: add api version input (42f353f)
  • sdk-core: add keyDerive to ECDSA TSS implementation (9ff1d89)

16.0.0 (2022-11-29)

Bug Fixes

  • disable vss verification (5cdc53b)
  • multiple issues with message signing (d703b9a)
  • remove encoding from message sent to bitgo (d300963)
  • sdk-core: add chaincode to user->backup public shares (fef4a1a)
  • sdk-core: disabling vss for eddsa (7c91d14)
  • sdk-core: ecdsa tss wallet creation (2fd5f41)
  • sdk-core: eddsa vss (de1fbd6)
  • sdk-core: properly translate tx type to transferToken intent BG-60250 (eb518f9)
  • sdk-core: update the staging Environment (e8477be)
  • sdk-core: use correct api param name for user gpg pubkey (ccc3237)
  • sdk-core: vss (01be344)
  • update express configurations (d434ece)

Features

  • add cancel staking request (7e053fd)
  • add token enablement support in express (4bd5f9e)
  • allow the sdk to optionally send cookies with the request to custom domains (e40349e)
  • bitgo: ada staking and unstaking tests (5334d0b)
  • bitgo: sdk script to get token balance from wallet (67086f8)
  • create txrequest for message signing (4ee1a9c)
  • pass custodianTransaction and messageId (35b7953)
  • root: add ecash network configuration & use in tests (55c6963)
  • root: add support for cross chain recovery for bcha (f9ab941)
  • sdk-coin-eth: add fillnonce capability to sdk (6d9a965)
  • sdk-coin-trx: add tron token skeleton (03198b0)
  • sdk-core: add fetchCrossChainUTXOs in wallet (cf3a51b)
  • sdk-core: add function to verify wallet signatures for TSS (0e6840e)
  • sdk-core: add support for ETH TSS staking (a8afdb6)
  • sdk-core: add VSS share generation and verification (619f254)
  • sdk-core: added get payments method for lightning (fd22577)
  • sdk-core: change sendMany to work for custodial wallets (45eb658)
  • sdk-core: expect txid response for lightning withdrawal (22dfeab)
  • sdk-core: tss ecdsa key creation flow with 3rd party backup (08d2065)

BREAKING CHANGES

  • sdk-core: Key shares require a v value for combination. ISSUE: BG-57633

15.0.0 (2022-11-04)

Bug Fixes

  • disable vss verification (5cdc53b)
  • remove encoding from message sent to bitgo (d300963)
  • sdk-core: add chaincode to user->backup public shares (fef4a1a)
  • sdk-core: properly translate tx type to transferToken intent BG-60250 (eb518f9)
  • sdk-core: update the staging Environment (e8477be)
  • sdk-core: use correct api param name for user gpg pubkey (ccc3237)
  • update express configurations (d434ece)

Features

  • add token enablement support in express (4bd5f9e)
  • allow the sdk to optionally send cookies with the request to custom domains (e40349e)
  • bitgo: ada staking and unstaking tests (5334d0b)
  • create txrequest for message signing (4ee1a9c)
  • pass custodianTransaction and messageId (35b7953)
  • root: add ecash network configuration & use in tests (55c6963)
  • sdk-coin-eth: add fillnonce capability to sdk (6d9a965)
  • sdk-core: add fetchCrossChainUTXOs in wallet (cf3a51b)
  • sdk-core: add support for ETH TSS staking (a8afdb6)
  • sdk-core: add VSS share generation and verification (619f254)
  • sdk-core: allow preBuildTransaction to accept wallet id (a797e38)
  • sdk-core: tss ecdsa key creation flow with 3rd party backup (08d2065)

BREAKING CHANGES

  • sdk-core: Key shares require a v value for combination. ISSUE: BG-57633

14.7.0 (2022-10-27)

Bug Fixes

  • sdk-core: add chaincode to user->backup public shares (fef4a1a)
  • sdk-core: properly translate tx type to transferToken intent BG-60250 (eb518f9)
  • sdk-core: update the staging Environment (e8477be)
  • sdk-core: use correct api param name for user gpg pubkey (ccc3237)

Features

  • add token enablement support in express (4bd5f9e)
  • allow the sdk to optionally send cookies with the request to custom domains (e40349e)
  • create txrequest for message signing (4ee1a9c)
  • pass custodianTransaction and messageId (35b7953)
  • sdk-coin-eth: add fillnonce capability to sdk (6d9a965)
  • sdk-core: add fetchCrossChainUTXOs in wallet (cf3a51b)
  • sdk-core: add support for ETH TSS staking (a8afdb6)
  • sdk-core: tss ecdsa key creation flow with 3rd party backup (08d2065)

14.6.0 (2022-10-25)

Bug Fixes

  • sdk-core: properly translate tx type to transferToken intent BG-60250 (eb518f9)
  • sdk-core: update the staging Environment (e8477be)
  • sdk-core: use correct api param name for user gpg pubkey (ccc3237)

Features

  • add token enablement support in express (4bd5f9e)
  • allow the sdk to optionally send cookies with the request to custom domains (e40349e)
  • create txrequest for message signing (4ee1a9c)
  • sdk-coin-eth: add fillnonce capability to sdk (6d9a965)
  • sdk-core: add fetchCrossChainUTXOs in wallet (cf3a51b)
  • sdk-core: add support for ETH TSS staking (a8afdb6)
  • sdk-core: tss ecdsa key creation flow with 3rd party backup (08d2065)

14.5.0 (2022-10-18)

Bug Fixes

  • bitgo: remove address param from lightning().deposit (b49ec63)
  • core: fix bip32/ecpair, API vs Interface (bec9c1e)
  • core: regenerate p2tr test vectors (8d0611a)
  • sdk-coin-eos: fix precision for EOS:CHEX tokens (0e60ec9)
  • sdk-coin-eth: fix convert signature share to/from (9aed51e)
  • sdk-core: allow for optional passphrase on tss wallets (f334232)
  • sdk-core: allow undefined for amtPaidSats (7e9e9ea)
  • sdk-core: default wallet to non tss (26febd4)
  • sdk-core: ecdsa keychain creation types mach (1224de3)
  • sdk-core: ecdsa send signing bitgo's n share u (1cb1e93)
  • sdk-core: ecdsa sign serializedTxHex (2fda8fc)
  • sdk-core: ecdsa signing get user share (acbc700)
  • sdk-core: ecdsa tss signing flow update (226586c)
  • sdk-core: fix send token enablements by writing in buildParams in prebuildTx (9dc933a)
  • sdk-core: fix tss ecdsa keychain encryption (95f9c2d)
  • sdk-core: tss tx signing (ab7eb80)
  • sdk-core: tss wallet creation related bugs (500c735)
  • utxo-lib: use safe version of bitcoinjs-lib (8f2226b)

Features

  • abstract-utxo: add support for bigints from new utxo-lib (77c60dd)
  • abstract-utxo: add support for bigints from new utxo-lib (8e5bbe5)
  • abstract-utxo: backup key recovery service for doge (612be53)
  • abstract-utxo: cross chain recovery support for bigint coins (doge) (ad6bf71)
  • add message signing support for polygon (ab2bac1)
  • add u value proof during tss eddssa key creation (79d2c91)
  • adding support for message signing (01c6303)
  • bitgo: add lightning and lnurl examples (8894bac)
  • bitgo: adding example for tx-build (c967e26)
  • bitgo: expose Ethw in core bitgo module (183cda4)
  • bitgo: support chaincodes on BLS-DKG keychains creation (bfaa380)
  • sdk-coin-ada: create wallet script (6263411)
  • sdk-coin-ada: incorporate sdk-coin-ada back into bitgo (99d141b)
  • sdk-coin-bsc: create bsc module (b55ca71)
  • sdk-coin-bsc: support tokens for bsc (44d2af8)
  • sdk-coin-eth: add acceleration capability for eth (436ba8c)
  • sdk-coin-ethw: add ethw sdk module (63e9850)
  • sdk-coin-polygon: support tokens (8870307)
  • sdk-coin-sui: create sui module (8ba86b7)
  • sdk-core: add createDepositAddress to lightning (e7056dc)
  • sdk-core: add createInvoice to lightning (293a5d6)
  • sdk-core: add deposit() to lightning object (aeb483d)
  • sdk-core: add enable token support for sol (dde3a95)
  • sdk-core: add getBalance for lightning (ccd2e81)
  • sdk-core: add getInvoices to lightning object (232bea3)
  • sdk-core: add helper to create backup TSS key share held by BitGo (d5921ad)
  • sdk-core: add helper to finish backup TSS key share held by BitGo (f2d85b5)
  • sdk-core: add includeTokens wallet.addresses parameter (8c03d83)
  • sdk-core: add more ecdsa helper methods (aa57eac)
  • sdk-core: add payInvoice to lightning object (eaaa48d)
  • sdk-core: add recid to fully constructed signature (a8adcd9)
  • sdk-core: add specialized enable token functions (3e60cef)
  • sdk-core: add withdraw to lightning object (99474b5)
  • sdk-core: added large value support while calling WP (870621e)
  • sdk-core: added verification of private share proofs (66d6c63)
  • sdk-core: allow getting a staking wallet for any coin (cfae0fe)
  • sdk-core: ecdsa type converters (800b01b)
  • sdk-core: implement signing flow ecdsa (68aa561)
  • sdk-core: parse zero value lightning invoices (78cab72)
  • sdk-core: support lnurl pay (6df91a3)
  • sdk-core: support transfertoken type transactions (6579785)
  • sdk-core: use eth wallet for building and signing token txs (82dd4a9)
  • statics: add ETHw statics (f49ef42)
  • statics: add ofc for near (4ecde82)
  • statics: add solana (b46780e)
  • the client needs to generate a gpg key for their backup key share and share it with bitgo (fb10fae)
  • utxo-lib: export BIP32/ECPair interfaces (8628507)

Reverts

  • Revert "feat(sdk-coin-aca): add sdk-coin-aca module BG-52862" (e97716e)

BREAKING CHANGES

  • sdk-core: The SShare type's r field is now R (33 bytes encoded as 66 hex characters). ISSUE: BG-56664
  • sdk-core: We need to deal with the new enableToken intent type for solana on wp.
  • bitgo: This breaks the current ETH2 Hot Wallet creation flow. Needs BG-46182 to be implemented and deployed too.

BG-46184

14.2.0 (2022-07-19)

Note: Version bump only for package bitgo

14.2.0-rc.42 (2022-07-19)

Features

  • sdk-coin-ada: implement key pair and utils for ada sdk (9a1aabb)

14.2.0-rc.41 (2022-07-18)

Note: Version bump only for package bitgo

14.2.0-rc.40 (2022-07-15)

Note: Version bump only for package bitgo

14.2.0-rc.39 (2022-07-15)

Features

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

14.2.0-rc.38 (2022-07-14)

Note: Version bump only for package bitgo

14.2.0-rc.36 (2022-07-12)

Features

  • account-lib: update hbar txData and explainTx to support diff instructions (b604de6)

14.2.0-rc.35 (2022-07-11)

Bug Fixes

  • update invalid files for depcheck (6aae9aa)

Features

  • bitgo: create skeleton for hbar tokens (d156a51)
  • sdk-coin-stx: refactor stx to its own module (80866b4)
  • sdk-coin-xtz: refactor xtz to its own module (241f580)
  • utxo-lib: add network configuration for DOGE (442e7e9)

14.2.0-rc.34 (2022-07-07)

Features

  • account-lib: cardano ada coin skeleton (68f7fe7)
  • account-lib: hbar token transfer builder and serialization (0bc7287)
  • sdk-coin-bcha: refactor bcha to its own module (6fb1a70)
  • sdk-coin-bch: refactor bch to its own module (3d3c2ed)
  • sdk-coin-bsv: refactor bsv to its own module (9f6b6e8)
  • sdk-coin-btg: refactor btg to its own module (ebebe70)
  • sdk-coin-ltc: refactor ltc to its own module (7bb56a4)
  • sdk-core: tss ecdsa utility to create keychains (0a1ab71)

14.2.0-rc.33 (2022-07-05)

Features

  • sdk-coin-dash: refactor dash to its own module (d62f637)

Reverts

  • Revert "Revert "feat(bitgo): change the names from algo tokens"" (ea9a761)

14.2.0-rc.32 (2022-07-01)

Features

  • sdk-coin-zec: refactor zec to its own module (0d429c6)
  • sdk-core: update validation to include eip1559 (4775a84)

14.2.0-rc.31 (2022-06-30)

Bug Fixes

  • sdk-core: fix sol send token sdk (d5c697b)

14.2.0-rc.30 (2022-06-30)

Bug Fixes

  • bitgo: rounded value on spendable balance (8ce7d01)
  • use correct address encoding when decoding polkadot txn (99d4bdc)

14.2.0-rc.29 (2022-06-29)

Bug Fixes

Reverts

  • Revert "feat(bitgo): change the names from algo tokens" (81e794b)

14.2.0-rc.28 (2022-06-29)

Bug Fixes

Reverts

  • Revert "feat(bitgo): change the names from algo tokens" (81e794b)

14.2.0-rc.27 (2022-06-27)

Note: Version bump only for package bitgo

14.2.0-rc.26 (2022-06-27)

Reverts

  • Revert "feat(bitgo): handle new response for consolidateAccount/build endpoin" (ec5ab05)

14.2.0-rc.25 (2022-06-23)

Features

  • sdk-coin-avaxp: implement generateKeyPair and signTransaction (52b03d2)

14.2.0-rc.24 (2022-06-22)

Bug Fixes

  • add dependency check to fix current and future dependency resolutions (3074335)

Features

  • bitgo: change the names from algo tokens (8925d4e)

14.2.0-rc.23 (2022-06-21)

Note: Version bump only for package bitgo

14.2.0-rc.22 (2022-06-16)

Features

  • sdk-core: add staking SDK functionality (20371c9)

14.2.0-rc.21 (2022-06-15)

Features

  • added explainTransaction and unit tests for dot (e5746f9)

14.2.0-rc.20 (2022-06-14)

Features

  • sdk-core: tss ecdsa key gen helper methods (ef7e13e)

14.2.0-rc.19 (2022-06-14)

Note: Version bump only for package bitgo

14.2.0-rc.18 (2022-06-13)

Bug Fixes

Features

  • bitgo: add doc for txn with emergency param (ae6ec8f)
  • bitgo: implements sign tx for polygon (f687486)

14.2.0-rc.17 (2022-06-10)

Bug Fixes

  • abstract-utxo: add bsv replay protection case (5e166cb)

Features

  • bitgo: add explain tx polygon (63c83f7)
  • bitgo: handle new response for consolidateAccount/build endpoin (a333c5f)
  • move coinFactory from bitgo to sdk-core (fb7e902)
  • support building transactions for tss custodial wallets (12774ca)

14.2.0-rc.16 (2022-06-07)

Bug Fixes

  • sdk-api: api uses own version (e2091e9)

14.2.0-rc.15 (2022-06-07)

Features

  • implement polygon util method, core skeleton (562855a)

14.2.0-rc.14 (2022-06-02)

Note: Version bump only for package bitgo

14.2.0-rc.13 (2022-06-02)

Bug Fixes

  • account-lib: fix sdk avax build issues (7991aef)

Features

  • sdk-coin-avaxp: add new sdk coin avaxp (328d546)

14.2.0-rc.12 (2022-06-01)

Bug Fixes

  • add missing examples and filters for list addresses api (6a6ad90)
  • bitgo: fix v1 wallet get address (74c2420)
  • utxo-lib: always use VERSION4_BRANCH_NU5 for zcash (ef0692c)

Features

  • sdk-core: Define new BitGoBase interface in sdk-core (907bd9e)

14.2.0-rc.11 (2022-05-23)

Note: Version bump only for package bitgo

14.2.0-rc.10 (2022-05-19)

Note: Version bump only for package bitgo

14.2.0-rc.9 (2022-05-19)

Bug Fixes

  • bitgo: getUnspentInfo to handle missing unspents (8fe1ae9)

14.2.0-rc.8 (2022-05-18)

Bug Fixes

14.2.0-rc.7 (2022-05-17)

Note: Version bump only for package bitgo

14.2.0-rc.6 (2022-05-16)

Features

  • statics: add fiatusd and tfiatusd coins (1750a43)

14.2.0-rc.5 (2022-05-13)

Note: Version bump only for package bitgo

14.2.0-rc.4 (2022-05-13)

Features

  • bitgo: add parse transaction in core (1775c73)
  • statics: create statics for dogecoin (66e8862)

14.2.0-rc.3 (2022-05-12)

Note: Version bump only for package bitgo

14.2.0-rc.1 (2022-05-06)

Bug Fixes

  • bitgo: attempt to sign using fallback derivation for v1 wallet (433620d)

Features

  • bitgo: add verify transaction in core for Near (1fc0f7b)
  • statics: create statics for avaxp (34776cd)

14.1.0-rc.40 (2022-05-04)

Features

  • add funcs to generate and verify gpg signatures (e08c100)
  • bitgo: add explainTransaction implemented in account lib call in core (81d0861)
  • bitgo: modify in near.ts on core the near constructor to support static (de7ebec)
  • support opengpg signatures (c07b2dc)

14.1.0-rc.38 (2022-04-20)

Bug Fixes

  • bitgo: fix sdk-api export (8b92159)

14.1.0-rc.37 (2022-04-19)

Note: Version bump only for package bitgo

14.1.0-rc.36 (2022-04-19)

Bug Fixes

  • bitgo: fix non native decimalPlaces (58481b3)
  • getWallet should search v1 wallets if not found in v2 wallets (fa2ff44), closes #2180
  • v1 get wallet (8db1f53)

14.1.0-rc.34 (2022-04-13)

Bug Fixes

  • whitelist nonce as an intent param (e162062)

14.1.0-rc.33 (2022-04-12)

Bug Fixes

  • statics: update base factor for dot and tdot (fd4f086)

14.1.0-rc.32 (2022-04-12)

Note: Version bump only for package bitgo

14.1.0-rc.31 (2022-04-11)

Note: Version bump only for package bitgo

14.1.0-rc.30 (2022-04-08)

Bug Fixes

  • bitgo: avoid throwing errors in wallet sharing (8433c53)
  • bitgo: send passcodeEncryptionCode to fix mpc wallet pw reset (82d1fc9)
  • v1 wallet cross chain recovery (3ff2cc3)

Features

  • account-lib: change Near broadcast format from base58 to base64 (8346017)
  • account-lib: token transfer intent STLX-13307 (7476e30)
  • bitgo: add eip1559 params (89a2aa2)
  • standardize tss signing flow (06c5b63)
  • support tss hd signing (3479e84)

14.1.0-rc.29 (2022-04-06)

Bug Fixes

  • bitgo: avoid throwing errors in wallet sharing (8433c53)
  • v1 wallet cross chain recovery (3ff2cc3)

Features

  • account-lib: token transfer intent STLX-13307 (7476e30)
  • bitgo: add eip1559 params (89a2aa2)
  • support tss hd signing (3479e84)

14.1.0-rc.28 (2022-04-05)

Bug Fixes

  • bitgo: avoid throwing errors in wallet sharing (8433c53)
  • v1 wallet cross chain recovery (3ff2cc3)

Features

  • bitgo: add eip1559 params (89a2aa2)
  • support tss hd signing (3479e84)

14.1.0-rc.27 (2022-04-05)

Bug Fixes

  • bitgo: avoid throwing errors in wallet sharing (8433c53)
  • v1 wallet cross chain recovery (3ff2cc3)

Features

  • bitgo: add eip1559 params (89a2aa2)
  • support tss hd signing (3479e84)

14.1.0-rc.26 (2022-04-05)

Bug Fixes

  • bitgo: avoid throwing errors in wallet sharing (8433c53)
  • v1 wallet cross chain recovery (3ff2cc3)

Features

  • bitgo: add eip1559 params (89a2aa2)
  • support tss hd signing (3479e84)

11.4.0 (07-21-2020)

New Features

  • Add support for new ERC20 tokens (FFT, IVO, LEND, UCO, XBGOLD, XEX)

Other Changes

  • Rename coin cgld to celo
  • Update @bitgo/account-lib to version 2.0.0
  • Update @bitgo/statics to version 5.0.0
  • Use renamed @bitgo/utxo-lib package and update to version 1.7.1

11.3.0 (06-30-2020)

New Features

  • Add ability to use a custom API token when using the Etherscan API
  • Implement signTransaction, explainTransaction and other functions needed for signing and recovery to AbstractEthLikeCoin, which unifies the logic for Ethereum forks and chains with compatible characteristics.

Other Changes

  • Update @bitgo/account-lib to version 1.7.0
  • Update @bitgo/statics to version 4.3.0
  • Change exported enums to be non-const

11.2.0 (06-15-2020)

New Features

  • Add support for new ERC20 tokens (ABT, BSX, INF, JFIN, NIAX, USG)
  • Add support for signMessage to ETH-like coins.

Other Changes

  • Add example showing how to create a basic local backup key for BTC.
  • Update @bitgo/statics to version 4.2.0

11.1.3 (06-04-2020)

New Features

  • prod, test, and dev environment configs now point to the corresponding app.bitgo.com URLs. The old msProd, msTest, and msDev environments have been deprecated and are now aliases of prod, test, and dev respectively.
  • Add initial support for ETC, RBTC, and CGLD.

Bug Fixes

  • Allow rebuilding consolidation transactions upon approving a pending approval
  • Fix bug in fanout endpoint that causes maxNumInputsToUse to be ignored.

Other Changes

  • Add example for consolidating Algorand from receive addresses
  • Update @bitgo/statics to version 4.1.0
  • Update @bitgo/account-lib to version 1.3.0

11.1.2 (05-20-2020)

This release fixes an build issue with bitgo@11.1.1 which caused an older version of statics to be inadvertently included in the built package available on npm.

Other Changes

  • Update @bitgo/statics to version 4.0.1

11.1.1 (05-12-2020)

Other Changes

  • Include full stack traces for BitGoJSError types and inheritors.
  • Update @bitgo/statics to version 4.0.0

11.1.0 (05-08-2020)

Other Changes

  • Move creation of XRP wallet initialization transactions to server side in order to support the XRP DeleteableAccounts amendment.

11.0.3 (04-13-2020)

Other Changes

  • Update @bitgo/account-lib to version 1.0.3
  • Fix message signing for XTZ

11.0.2 (04-09-2020)

Other Changes

  • Remove @hidden annotation from trading documentation and update to latest payload version.
  • Update @bitgo/statics to version 3.5.0

11.0.1 (03-31-2020)

Other Changes

  • Update @bitgo/statics to version 3.4.4

11.0.0 (03-24-2020)

Breaking Changes

  • The signMessage function on coin objects has been made asynchronous. Callers of this function will have to update their code to correctly handle the returned promise.

New Features

  • Add preliminary XTZ signing support.

Other Changes

  • Update @bitgo/account-lib to version 1.0.2
  • Update @bitgo/statics to version 3.4.3

10.0.0 (03-18-2020)

Breaking Changes

  • The signTransaction function on wallet objects has been made asynchronous. Callers of this function will have to update their code to correctly handle the returned promise.

New Features

  • A new parameter offlineVerification has been added to the prebuildTransaction function on wallet objects. When set to true, additional data useful for offline transaction verification will be fetched along with the unsigned transaction.

Bug Fixes

  • Replace bitcoin average with coingecko for retrieving market data in offline recovery scenarios.
  • Fix incorrect type check on username and password parameters in preprocessAuthenticationParams.

Other Changes

  • Update @bitgo/account-lib to version 1.0.1

9.6.2 (03-12-2020)

Other Changes

  • Update @bitgo/statics to version 3.4.1

9.6.1 (03-10-2020)

Other Changes

  • Increase EOS recovery transaction expiration time from 1 hour to 8 hours.
  • Update @bitgo/statics to version 3.4.1

9.6.0 (03-03-2020)

New Features

  • Add support for building consolidation transactions for account based coins via the new wallet methods buildAccountConsolidation, sendAccountConsolidation, and sendAccountConsolidations (for bulk consolidations).

Other Changes

  • Update @bitgo/statics to version 3.4.0

9.5.3 (02-14-2020)

Other Changes

  • Update @bitgo/statics to version 3.3.0

9.5.2 (02-11-2020)

Bug Fixes

  • Recreate XLM integration test wallets following quarterly XLM testnet reset.

Other Changes

  • Update @bitgo/statics to version 3.2.0

9.5.1 (02-04-2020)

Bug Fixes

  • Add missing properties redeemScript and witnessScript to typescript interface SignTransactionOptions.

Other Changes

  • Update @bitgo/statics to version 3.1.1

9.5.0 (01-29-2020)

Bug Fixes

  • Remove usage of deprecated bufferutils function bufferutils.reverse.

Other Changes

  • Update @bitgo/statics to version 3.1.0

9.4.1 (01-21-2020)

Bug Fixes

  • Fix incorrect aliasing of interface TransactionExplanation in Algorand implementation.

Other Changes

  • Update @bitgo/statics to version 3.0.1

9.4.0 (01-15-2020)

New Features

  • Allow creation of random EOS addresses.
  • Lock transactions to next block to discourage fee sniping.

Other Changes

  • Update @bitgo/statics to version 3.0.0

9.3.0 (12-17-2019)

New Features

  • Return key registration data for Algorand's explainTransaction()

Bug Fixes

  • Fix circular json serialization error when using accelerateTransaction
  • Filter out duplicate addresses when doing address lookups for cross chain recoveries
  • Allow EOS addresses to begin with a number
  • Properly deserialize EOS staking transactions
  • Ensure Error.captureStackTrace is defined before using, as this is not standard and only available in V8-based Javascript runtimes.

Other Changes

  • Improve the DEVELOPERS.md document, which helps to onboard new developers who want to work on the BitGo SDK itself.
  • Add a basic GitHub issue template

9.2.0 (12-10-2019)

Other Changes

  • Update bitgo-utxo-lib to version 1.7.0 for new ZCash chain parameters
  • Check for wrapped segwit unspents in express v1 integration test

9.1.0 (12-04-2019)

New Features

  • Use BitGo Stellar Federation proxy for Stellar Federation lookups

Bug Fixes

  • Reject hop params for ERC20 token transaction builds, as these do not make sense

9.0.1 (11-27-2019)

Bug Fixes

  • Fix TRON recovery transaction object format

Other Changes

  • Include recovery amount for TRON recovery transactions

9.0.0 (11-20-2019)

Breaking Changes

  • Support for Node 6 has been dropped. Node 8 is now the oldest supported version.

New Features

  • Partial support for recoveries of TRON wallets

Other Changes

  • Remove deprecated v1 examples
  • Update Javascript and Typescript examples
  • Remove node 6 and node 11 from Drone CI

8.5.3 (12-17-2019)

New Features

  • Backported from 9.3.0: Return key registration data for Algorand's explainTransaction()

8.5.2 (11-13-2019)

Bug Fixes

  • Unify TRON keycard key format with other coins

8.5.1 (11-08-2019)

Bug Fixes

  • If given, pass seed to TRON account generation utility function provided by bitgo-account-lib

Other Changes

  • Resolve dependency handlebars to version 4.5.0
  • Update dependency bitgo-account-lib to version 0.1.5

8.5.0 (11-06-2019)

New Features

  • Enable usage of new Unspent Reservation system when building transactions. Using this feature allows a transaction to temporarily have an exclusive right to spend a one or more UTXO(s). This can help prevent unspent not found errors when sending interleaved transactions.
  • Allow signing TRON transactions with a raw extended private key.
  • Allow explaining a TRON transaction from the raw transaction hex using explainTransaction()

Bug Fixes

  • Remove unimplemented and unnecessary override of deriveKeyWithSeed for TRON
  • Allow both base58 and hex addresses for TRON
  • Fix number of decimals for offchain Stellar
  • Return fully signed TRON transaction in same format as other coins

Other Changes

  • Import @bitgo/statics library into BitGo SDK monorepo
  • Update bitgo-account-lib to version 0.1.4
  • Recreate Stellar integration test wallets following testnet reset
  • Limit Stellar trustline transactions by using base units instead of native units
  • Temporarily use node 10 in Drone pipelines instead of LTS

8.4.0 (10-25-2019)

New Features

  • Allow removing Stellar Trustlines from a wallet
  • Add additional environment presets for new BitGo backend environments

Bug Fixes

  • Fix incorrect precedence in environment configurations

Other Changes

  • Resolve https-proxy-agent to version 3.0.0 for patch in ripple-lib
  • Unstable feature: Add support for sending from TRON hot wallets
  • Add missing options types in Wallet and Wallets classes
  • Add new internal method manageUnspents to Wallet. This method combines the fanouts and consolidation implementations into a single method. Note: There is no change to the public API.
  • Enable more strict Typescript compilation options, update code which was not compatible

8.2.4 (10-18-2019)

No changes

8.2.3 (10-18-2019)

Other Changes

  • Update dependency @bitgo/statics to version 2.2.0

8.2.2 (09-27-2019)

Bug Fixes

  • Use require() instead of ES import() for dynamically importing ethereum dependencies. This was causing issues in browsers.

Other Changes

  • Resolve handlebars dependency to ^4.3.0 for patch in dev dependency

8.2.1 (09-24-2019)

Bug Fixes

  • Fix importing ethereumjs-util in browsers, where it was previously failing
  • Fix hop transactions which need to go through a pending approval flow
  • Fix two broken/flaky Ethereum and XRP tests

Other Changes

  • Allow custom env to use testnet server public key if network is testnet.
  • Revert enabling batched Ethereum sends due to incompatibility in validateTransaction

8.2.0 (09-19-2019)

New Features

  • Generate and upload BitGo SDK documentation on each build run. See here for an example.
  • Improve explainTransaction so it can explain Stellar Trustline and Stellar Token transactions

Bug Fixes

  • Export all Typescript types which are part of the public API. If you find there is a type which is used in the public API but not exported, please open an issue.
  • Fix incorrect implementation of getChain for Stellar Tokens
  • Fix incorrect Content Type on documentation uploaded by Drone CI
  • Fix inadvertent param rename instead of type specification, and duplicate identifier (thanks @workflow and @arigatodl)

Other Changes

  • Clean up and update all examples
  • Separate JavaScript examples from Typescript examples
  • Remove examples for removed v1 Ethereum code
  • Improve error message displayed when optional Ethereum libraries could not be required
  • Unstable feature: Allow for creation of TRON wallets

8.1.2 (09-19-2019)

New Features

  • Allow gasLimit param to be sent when prebuilding Ethereum transactions

Bug Fixes

  • Fix type custom type inclusion in bitgo module
  • Move superagent type augmentation into bitgo/types

8.1.1 (09-11-2019)

Bug Fixes

  • Fix superagent typescript declaration augmentation
  • Pass gasLimit when creating Ethereum transaction prebuilds

8.1.0

New Features

  • Use @bitgo/statics for ERC20 and OFC coin definitions

Bug Fixes

  • Fix bug in isValidAddress which would cause it to incorrectly return true for coins which don't support bech32.
  • Remove deprecation markers for the following functions:
    • verifyPassword()
    • generateRandomPassword()
    • extendToken()

Other Changes

  • Upgrade @bitgo/statics to 2.0.0-rc.0
  • Upgrade bitgo-utxo-lib to 1.6.0
  • Enable strictNullChecks typescript compiler option
  • More Typescript improvements across the project. baseCoin.ts and bitgo.ts in particular have seen much improvement.
  • Fix HMAC errors when doing non-BitGo EOS recoveries

8.0.0

Breaking Changes

Elimination of synchronous error behavior for async functions

  • Previously, some async functions had strange error behavior where they would throw a synchronous error sometimes, and fail with a rejected promise other times. Which behavior you get for a given error is only really discoverable via source code inspection. Depending on how callers handled async calls and errors, this could break some callers.
  • One example of a changed function is bitgo.refreshToken(), which previously would throw a synchronous error if the params.refreshToken were not provided. This function can also return a Bluebird promise, which will reject if there is a failure with the network request. If you are a caller who uses .then() to handle async behavior, some errors which previously required a surrounding try/catch will now fall through to a .catch() handler attached to the returned promise.

Perhaps an example will help clarify:

const BitGoJS = require('bitgo');
const bitgo = new BitGoJS.BitGo({ env: 'test' });

try {
  bitgo
    .refreshToken()
    .then(() => console.log('then'))
    .catch(() => console.log('async catch'));
} catch (e) {
  console.log('sync catch');
}

Previous to version 8, the string sync catch would have been printed for some errors, and async catch would have been printed for others. In version 8 and later, async catch should be printed regardless of the error encountered. If you find this is not the case, then this is a bug and please open issue so we can correct it. We may alter more async functions to match this behavior if needed, and this major version bump will cover those changes as well (there will not be another major version bump for similar changes in the future).

By eliminating one error channel, correct error handling is greatly simplified for callers. The goal here is to make all async functions always return a promise and never throw directly (instead, the returned promise would be rejected).

If you are relying on synchronous error behavior from an async function, this breaking change may require fixes in calling code.

Note: If you are using async/await syntax, or a helper library like Bluebird which turns async promise rejections into sync errors, this change will not affect you. We currently recommend using async/await syntax for new code written against BitGoJS.

If you believe you may be affected by this breaking change, and would like more information or a complete list of functions which have been altered in this way, please send an email to support at bitgo dot com.

Deprecation of v1 methods on BitGo object

  • There are several methods on the BitGo object which have been deprecated in this release. These methods lead to the version 1 wallet codebase, and is a common source of errors for new users of BitGoJS. To make it clear that these are not the functions recommended for normal usage, they have been deprecated. The complete list of newly deprecated functions is as follows:
    • sendOTP()
    • reject()
    • verifyAddress()
    • blockchain()
    • keychains()
    • market()
    • wallets()
    • travelRule()
    • pendingApprovals()
    • registerPushToken()
    • verifyPushToken()
    • newWalletObject()
    • estimateFee()
    • instantGuarantee()
    • getBitGoFeeAddress()
    • getWalletAddress()
    • listWebhooks()
    • addWebhook()
    • removeWebhook()
    • getConstants()
    • calculateMinerFeeInfo()

Additionally, ethSignMsgHash in util.ts has been deprecated. This will be relocated to an Ethereum specific part of the code in the future.

Direct usage of the env property of the BitGo object has also been deprecated. Please use bitgo.getEnv() as an alternative.

Note: We have no immediate plans to remove these functions. If you are relying on these functions, they will continue to work, but you should begin considering alternatives provided by the version 2 wallet API. If you find there is a feature gap which is preventing you from moving to the v2 wallet API, please send an email to support at bitgo dot com.

Note: The following functions have been incorrectly marked as deprecated in the source code, but in fact are NOT deprecated. This will be fixed in the next version of BitGoJS:

  • verifyPassword()
  • generateRandomPassword()
  • extendToken()

Note: We may deprecate more functions, and these deprecations may be done without a major version bump. However, prior to any deprecated method being actually removed and made unavailable, a major version bump will be required.

New Features

  • Add support for ERC 20 tokens (CIX100, KOZ, AGWD)

Bug Fixes

  • Fix incorrect parameters in keycard.ts (thanks @DCRichards)

Other Changes

  • Refactor Settlement API and add function for calculating settlement fees. Note that this API is still experimental and is not yet ready for general usage.
  • Update microservices authentication route format.
  • Improve Typescript support in expressApp, Ethereum and ERC 20 token implementations, recovery and BitGo object.

7.1.1

Other Changes

  • Allow creation of wallets with custom addresses, where supported (currently only EOS supports this feature).

7.1.0

New Features

  • Add support for new ERC 20 tokens (TGBP)
  • Support for applying second signature to ALGO transactions
  • Update EOS transaction prebuild format
  • Implement isValidAddress for Offchain Tokens

Bug Fixes

Other Changes

  • Improve Typescript support in many coin implementations.

7.0.0

Breaking Changes

The explainTransaction method on in BaseCoin is now asynchronous. Callers of this method will need to resolve the returned promise in order to make use of the return value.

As an example, before the behavior of explainTransaction was as follows (parameters omitted for brevity):

const explanation = bitgo.coin('tbtc').explainTransaction(...);
console.dir(explanation);

In version 7 and later, the behavior is now:

const explanation = await bitgo.coin('tbtc').explainTransaction(...);
console.dir(explanation);

or, if you can't use async/await:

bitgo.coin('tbtc').explainTransaction(...)
.then(explanation => {
  console.dir(explanation);
});

This breaking change was required since some of the coins we are considering adding in the future are unable to implement explainTransaction in a synchronous way.

New Features

  • Update contract address for ERC20 token LGO
  • Add support for new ERC20 tokens (THKD, TCAD, EDN, EMX)

Other Changes

  • Add node version support policy to README
  • Improve typescript support in many files, including BaseCoin, Utils, AbstractUtxoCoin, and several others
  • Autoformat code upon commit and check code format during CI

6.2.0

New Features

  • Allow creating BitGo objects which use a custom Stellar Federation server URL.
  • Add support for new ERC20 tokens (LEO, CREP, CBAT, CZRX, CUSDC, CDAI, CETH, VALOR).
  • Update trade payload version to 1.1.1.

Bug Fixes

  • Update to lodash@^4.17.4 for a vulnerability fix for CVE-2019-10744.
  • Ensure amount is correctly passed through to server for Ethereum fee estimation
  • Update ZEC block explorer used in recovery flows

Other Changes

  • Improve Typescript support in webhooks.ts, internal.ts, common.ts, and environments.ts

6.1.1

Bug Fixes

  • Fix issue where accepting a wallet share as a viewer would fail to correctly update the server.

6.1.0

New Features

  • Add support for deriving ed25519 hardened child public keys, used by XLM and other ed25519-based coins.
  • Update documentation to point to new docker image for BitGo Express (bitgo/express). The bitgo/express image is now deprecated.
  • Add support for new ERC20 tokens (DRPU, PRDX, TENX, ROOBEE, ORBS, VDX, SHR)

Other Changes

  • Preliminary support for EOS. Please note that this API is not finalized, and is subject to API breaking changes in minor and/or patch version releases without warning.
  • Validate Ethereum hop transaction signatures against static Platform HSM key instead of wallet BitGo key
  • Improve Typescript support for Wallet and Wallets objects, as well as the XLM coin implementation
  • Extract example keycard rendering logic out of Wallet

6.0.0

The BitGoJS SDK is being modularized! The code base has been split into two modules: bitgo and express.

bitgo contains the Javascript library that you get when you require('bitgo').

express contains the source for the BitGo Express local signing server, and it uses the bitgo module to provide access to BitGoJS functionality over a REST interface.

The long term plan is to modularize based on each underlying coin library, so users of bitgo won't need to bring in many large dependencies for coins they aren't using. This may require additional major versions if breaking changes are required, but we will do as much as possible to maintain the current API of the BitGoJS SDK.

Breaking Changes

  • Users who pin a git hash of BitGoJS in their package.json will need to update their build steps, since the structure of the git repository has changed. If the desire is to simply use bitgo as a Javascript library outside a browser context, we recommend using a semantic version string instead of a git hash to specify which version should be installed. For development in a browser setting, a browser compatible bundle is now distrubuted in the package at node_modules/bitgo/dist/browser/BitGoJS.min.js. As an alternative to downloading the package from npm, a tarball of BitGoJS could also bundled in your application and used during install.
  • bitgo-express is no longer bundled with the bitgo npm package. The recommended install instructions are now to install via the official Docker image bitgo/express:latest. If you aren't able to run bitgo-express via Docker, you can also install and run bitgo-express from the source code. See the bitgo-express README for more information on how to install and run BitGo Express.
  • For version 1 wallets, the bitcoin network by the BitGo object is no longer global, and is now determined by the bitgo object's environment when it was initialized.

As an example, before the behavior was as follows:

const BitGoJS = require('bitgo');
// create a new bitgo object using the default (test) environment
const bitgo = new BitGoJS.BitGo();

// BAD: Global network is checked by all bitgo objects, but this
// leads to race conditions when multiple bitgo objects are setting the
// global bitcoin network unpredictably
BitGoJS.setNetwork('bitcoin');
// verify a main net address using bitgo object using test environment
bitgo.verifyAddress({ address: '1Bu3bhwRmevHLAy1JrRB6AfcxfgDG2vXRd' }).should.be.true();

After version 6, the behavior will change to this:

const BitGoJS = require('bitgo');

// create a new bitgo object using the default (test) environment
const bitgo = new BitGoJS.BitGo();

// BREAKING CHANGE: returns false since this bitgo object is using
// the test environment and cannot verify a main net address
bitgo.verifyAddress({ address: '1Bu3bhwRmevHLAy1JrRB6AfcxfgDG2vXRd' }).should.be.true();

// create a new bitgo object using the production environment
const prodBitgo = new BitGoJS.BitGo({ env: 'prod' });

// OK: Able to verify main net address with bitgo using production environment
prodBitgo.verifyAddress({ address: '1Bu3bhwRmevHLAy1JrRB6AfcxfgDG2vXRd' }).should.be.true();

To switch to another bitcoin network, a new bitgo object should be constructed in the correct environment.

New Features

  • Preliminary support for BitGo Trading Account and Settlement APIs. Please note that this API is not finalized, and is subject to API breaking changes in minor and/or patch version releases without warning.
  • Preliminary support for Algorand. Please note that this API is not finalized, and is subject to API breaking changes in minor and/or patch version releases without warning.
  • Add support for new ERC 20 Token (PDATA)

Other Changes

  • Overhaul how coins are loaded, in anticipation of a pluggable coin system in a future version of bitgo.
  • Rework CI system to reduce test runtimes by running tests for each module in parallel
  • Remove coin instantiation logic from BaseCoin and move methods to prototype instead of attaching to coin object instances.

5.4.0

New Features

  • Add support for verifying and signing Ethereum hop transactions
  • Add support for new ERC 20 tokens (TIOX, SPO)

Bug Fixes

  • Remove duplicate ERC 20 token definition (AION)

5.3.0

New Features

  • Add support for new ERC 20 tokens (USX, EUX, PLX, CQX, KZE)

Other Changes

  • Improve test performance by making more requests in parallel when checking wallet funding
  • Fix bitgo-express startup command on Windows where the shebang line is ignored

5.2.0

New Features

  • Add support for new ERC 20 tokens (WHT, AMN, BTU, TAUD)
  • Add support for trade payload signing

Bug Fixes

  • Allow sharing "pseudo-cold" wallets where the encrypted user key is not held by BitGo.
  • Correctly update matching wallet passphrases when the user login password is updated.
  • Add missing filter parameters in wallet.transfers.

Other Changes

  • Update README to clarify package description and improve example snippets

5.1.1

Bug Fixes

  • Separate input signing and signature verification steps in AbstractUtxoCoin.signTransaction. This fixes an issue where Native Segwit inputs which were not the last input in the transaction were not being properly constructed.

5.1.0

New Features

  • Add support for counting the number of valid signatures on Native Segwit transaction inputs in explainTransaction.

Bug Fixes

  • Update bitgo-express startup command in README. Running directly from the cloned git repository is no longer recommended.
  • Add install size and timing metrics to CI system.

Other Changes

  • Remove version 1 support for Ethereum wallets and associated tests. This functionality has been broken for some time due to the required server side routes being removed.

V2 Ethereum wallets are unaffected. If your Ethereum wallet was working before this change, it will continue functioning normally.

5.0.4

Bug Fixes

  • Fix npm audit failures caused by newly disclosed vulnerabilities in development dependencies eslint, husky, lint-staged, and nyc. This fix has been backported to the bitgo@4 series as release 4.49.2.

5.0.3

Bug Fixes

  • Fix unhanded error in explainTransaction() causing approval failures for transactions which require replay protection.

Notes

  • This version was not published to npm due to npm audit failures which would be present upon install. These issues were fixed in version 5.0.4, which was released on npm.

5.0.2

Bug Fixes

  • Readd ERC 20 token NAS

5.0.1

Bug Fixes

  • Fix incorrect import in test file that was causing errors on install and when running tests (#297)

4.49.2

This is a maintenance update to the bitgo@4 major version.

Bug Fixes

  • Backport updates to dev dependencies nyc and fsevents to fix npm audit failures.

4.49.1

This is a maintenance update to the bitgo@4 major version.

Bug Fixes

  • Update @bitgo/unspents to 0.5.1 for a fix for an incompatibility issue in `tsc@3.4`

5.0.0

  • BitGoJS is now a typescript project!
    • tsc now runs as a prepublish step.
    • We have added type definitions to some of our coin specific files, and we will continue to add and improve on our published type information.

Breaking Changes

  • Dropped support for node versions below 6.12.3. We will be publishing a more detailed policy on node and npm version support soon.

New Features

  • Typescript
  • Type information for XRP and TXRP
  • Added support for new ERC 20 tokens (UPT, UPUSD, UPBTC, FET)

Bug Fixes

  • Removed duplicated transaction and address contants in favor of using @bitgo/unspents for equivalent contants.
  • Fix error thrown when randomly generated private key starts with a zero byte which would cause message signing failures. Transaction signing is not affected.
  • Fix bug which caused only the first consolidation transaction to be returned from consolidateTransaction() for v1 wallets instead of all transations.

Other changes

  • Updated the install instructions for BitGoJS to npm install bitgo instead of cloning the project directly. This has an effect on how to run bitgo-express. To install and run bitgo-express, the recommended command is npm install -g bitgo && npm explore -g bitgo -- bin/bitgo-express.
  • Upgraded eslint to 5.15.1, which entails dropping support for development on BitGoJS on node versions below 6.14.0. If you need to develop on node 6.x, please use at least 6.14.0, and consider upgrading soon as node 6 is scheduled to reach end-of-life on April 30, 2019. Only users of BitGoJS who are contributing source code changes are affected by this requirement. End users can continue using node versions >=6.12.3, but please upgrade soon.
  • Remove karma browser testing framework. We will be revamping our browser testing in a future release.

Common Issues when Upgrading

Warning on installation

You may notice a warning when installing BitGoJS about using a deprecated script type:

npm WARN prepublish-on-install As of npm@5, `prepublish` scripts are deprecated.
npm WARN prepublish-on-install Use `prepare` for build steps and `prepublishOnly` for upload-only.
npm WARN prepublish-on-install See the deprecation note in `npm help scripts` for more information.

This is expected, and we cannot yet change to using a prepare script because this script type is not yet available in some of our supported npm versions.

Potential error when starting bitgo-express

If you see the following error when running bin/bitgo-express, it means the typescript files have not been compiled.

module.js:478
    throw err;
    ^

Error: Cannot find module '../dist/src/expressApp'
    at Function.Module._resolveFilename (module.js:476:15)
    at Function.Module._load (module.js:424:25)
    at Module.require (module.js:504:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/bitgo-dep/node_modules/bitgo/bin/bitgo-express:5:66)
    at Module._compile (module.js:577:32)
    at Object.Module._extensions..js (module.js:586:10)
    at Module.load (module.js:494:32)
    at tryModuleLoad (module.js:453:12)
    at Function.Module._load (module.js:445:3)
    at Module.runMain (module.js:611:10)
    at run (bootstrap_node.js:394:7)
    at startup (bootstrap_node.js:160:9)
    at bootstrap_node.js:507:3

To fix this, You can compile the typescript source manually by running npm explore bitgo -- npm run prepublish.

Installing as root

npm does not run prepublish scripts if it is running as root. This means the typescript source will not be compiled and an error will be thrown when attempting to require bitgo. This includes installing bitgojs as a dependency in the node_modules of another project.

When this happens, you will see this message when running npm install:

npm WARN lifecycle bitgo@5.0.0~prepublish: cannot run in wd %s %s (wd=%s) bitgo@5.0.0 tsc /bitgojs

If you really need to install BitGoJS as root, you'll have to install it using npm install --unsafe-perm.

4.49.0

New Features

  • Complete support for native segwit address generation and verification
  • Ensure match between addressType and chain parameters when calling generateAddress()
  • Use @bitgo/unspents for address chain information
  • Add support for overriding the server extended public key used by BitGoJS
  • Add support for new ERC 20 tokens (SLOT, ETHOS, LBA, CDAG)

Bug Fixes

  • Get latest block height and transaction prebuild in parallel

Deprecation Notices

The following parameters to the generateAddress() function on Wallet objects have been deprecated, and will be removed in a future version of BitGoJS:

  • addressType
  • segwit
  • bech32

Instead, the address type will be determined by the chain parameter, with the following behavior:

chain type format usage
0 pay to script hash base58 External
1 pay to script hash base58 Internal (change)
10 wrapped segwit base58 External
11 wrapped segwit base58 Internal (change)
20 native segwit bech32 External
21 native segwit bech32 Internal (change)

4.48.1

Bug Fixes

  • Treat errors thrown from verifySignature as an invalid signature

4.48.0

New Features

  • Add ability to count signatures on a utxo transaction to explainTransaction()
  • Add support for generating unsigned sweep transactions for Stellar Lumens (XLM) and Ripple XRP (XRP)
  • Add support for recovering Bitcoin Satoshi Vision (BSV) inadvertently sent to a Bitcoin (BTC) address
  • Add support for new ERC 20 Tokens (BAX, HXRO, RFR, CPLT, CSLV, CGLD, NZDX, JPYX, RUBX, CNYX, CHFX, USDX, EURX, GBPX, AUDX, CADX, GLDX, SLVX, SLOT, TCAT, TFMF)

Bug Fixes

  • Improve handling proxy request timeouts from bitgo-express
  • Prevent rebuilding OFC transactions upon transaction approval
  • Allow creation of new addresses on wallets returned from wallets().list()
  • Return actual fee used from wallet.sendMany() instead of fee estimate
  • Fix date and name on LICENSE
  • Update dev-dependency karma to 4.0.1 to fix minor upstream vulnerability
  • Allow accessing oauth/token route from bitgo-express
  • Add .nvmrc with version set to lts/carbon
  • Fix ERC 20 Token BID decimal places

API changes

  • Remove bech32 parameter option from createAddress
  • Add strategy parameter option to prebuildTransaction for setting the preferred unspent selection strategy

4.47.0

New Features

  • Add support for new ERC 20 Token (BAX)
  • Allow passing custom unspent fetch parameters to createTransaction
  • Handle missing optional Ethereum dependencies more gracefully
  • Allow fetching of SegWit unspents for Ledger-backed wallets

Bug Fixes

  • Specify exact versions of dependencies
  • Update token contract hash for ERC20 Token (BID)

4.46.0

New Features

  • Add support for new ERC 20 Tokens (AMON, CRPT, AXPR, GOT, EURS)

Bug Fixes

  • Use normalized amount field for recovery amounts for UTXO coins

4.45.1

Bug Fixes

  • Do not sign replay protection inputs for TBSV

4.45.0

New Features

  • Add support for recovering BTC segwit unspents
  • Add support for new ERC 20 Tokens (HEDG, HQT, HLC, WBTC)
  • Add some plumbing for BSV and OFC support
  • Support coinless API routes in Bitgo Express

Bug Fixes

  • Allow XLM recovery to previously unfunded addresses
  • Correctly handle sends with a custom change address

4.44.0

New Features

  • CPFP support for v2 BTC wallets
  • New function on v2 keychains prototype (updateSingleKeychainPassword) to change a keychain's password
  • Improve sequenced request ID support to cover more requests

Bug Fixes

  • Fix an issue involving approving multiple pending approvals whose transactions spent the same unspent.
  • Improve formatting for large numbers used in baseUnitsToBigUnits
  • Disallow proxying of non-API requests through BitGo Express
  • Check for both txHex and halfSigned parameters in Wallet prebuildAndSignTransaction
  • Improve handling of failed stellar federation lookups