Skip to content

chore: use @scure/base for address encoders#2340

Open
0xjc65eth wants to merge 1 commit into
bitcoinjs:masterfrom
0xjc65eth:use-scure-base
Open

chore: use @scure/base for address encoders#2340
0xjc65eth wants to merge 1 commit into
bitcoinjs:masterfrom
0xjc65eth:use-scure-base

Conversation

@0xjc65eth

Copy link
Copy Markdown

This replaces the direct bech32 and bs58check address encoding dependencies with @scure/base, as suggested in #2241.

Notes:

  • uses createBase58check(sha256) for base58check encoding/decoding
  • keeps the existing mixed-case Bech32 error behavior covered by the current tests
  • generated src/ from ts_src/ with the existing build script

Validation:

  • npm test

Refs #2241

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.

1 participant