Assessment reports>Babylon Chain>Informational findings>Use alternative lib
Category: Code Maturity

Use alternative lib

Informational Severity
Informational Impact
Low Likelihood

Description

In btc-staking-ts library, it uses ecc from @bitcoinerlab/secp256k1, which is not implemented from bitcoinjs.

Impact

There is no guarantee that the bitcoinerlab will keep up with any interface changes in the future.

Recommendations

Use @bitcoinjs-lib/tiny-secp256k1-asmjs, which converts to a native JS from its maintainer.

Remediation

This issue has been acknowledged by Babylon, and a fix was implemented in commit 627d82c2.

Zellic © 2025Back to top ↑