Skip to content

Commit a994499

Browse files
authored
fix(docs): correct package name for tiny-secp256k1-asmjs alternative
Corrected the package name from @bitcoinjs-lib/tiny-secp256k1-asmjs to @bitcoin-js/tiny-secp256k1-asmjs in the ECC library alternatives section. This ensures accurate documentation for users integrating Taproot features with bitcoinjs-lib.
1 parent ad82549 commit a994499

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ Which you can then import as an ESM module:
111111
When utilizing Taproot features with bitcoinjs-lib, you may need to include an additional ECC (Elliptic Curve Cryptography) library. The commonly used `tiny-secp256k1` library, however, might lead to compatibility issues due to its reliance on WASM (WebAssembly). The following alternatives may be used instead, though they may be significantly slower for high volume of signing and pubkey deriving operations.
112112

113113
#### Alternatives for ECC Library:
114-
1. `@bitcoinjs-lib/tiny-secp256k1-asmjs`
114+
1. `@bitcoin-js/tiny-secp256k1-asmjs`
115115
A version of `tiny-secp256k1` compiled to ASM.js directly from the WASM version, potentially better supported in browsers. This is the slowest option.
116116
2. `@bitcoinerlab/secp256k1`
117117
Another alternative library for ECC functionality. This requires access to the global `BigInt` primitive.

0 commit comments

Comments
 (0)