Skip to content

Conversation

@peachbits
Copy link
Contributor

@peachbits peachbits commented Apr 8, 2025

CHANGELOG

Does this branch warrant an entry to the CHANGELOG?

  • Yes
  • No

Dependencies

none

Description

none

@peachbits peachbits force-pushed the matthew/bigint-tinysecp256k1 branch from 965eb17 to b739d70 Compare April 8, 2025 18:09
},
"dependencies": {
"@bitcoin-js/tiny-secp256k1-asmjs": "^2.2.3",
"@bitcoinerlab/secp256k1": "^1.2.0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if https://github.com/bitcoinjs/tiny-secp256k1 would make more sense. It may be a breaking change because it requires WASM, but how many platforms that support BigInt don't support WASM?

In addition to replacing the library, we're changing how the ECPair library is first instantiated. It's wrapped in a function so that any errors thrown during `initEccLib` can bubble up nicely instead of crashing on launch.

Dependencies of edge-currency-plugins, like altcoinjs, already depend on on bigint support so this is not considered a breaking change.
@samholmes samholmes force-pushed the matthew/bigint-tinysecp256k1 branch from b739d70 to 97978f2 Compare April 15, 2025 22:51
@samholmes samholmes enabled auto-merge April 15, 2025 22:51
@samholmes samholmes merged commit a8959d6 into master Apr 15, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants