Skip to content

Commit 41238de

Browse files
tomiirCopilot
andauthored
chore: remove bitcoinjs-lib from Bitcoin adapter (#5368)
Co-authored-by: Copilot <[email protected]>
1 parent 8fe2307 commit 41238de

File tree

4 files changed

+22
-198
lines changed

4 files changed

+22
-198
lines changed

.changeset/strict-wombats-dress.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@reown/appkit-adapter-bitcoin': patch
3+
---
4+
5+
Removes unused bitcoinjs-lib dependency

.cursor/rules/appkit-monorepo.mdc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ This document orients Cursor to the structure, relationships, and common pattern
114114
### State, Data, and External SDKs
115115

116116
- State management is uniform with `valtio`. Controllers own reactive state; UI subscribes.
117-
- EVM stack uses `viem` and `wagmi` (in adapters). Solana uses `@solana/web3.js` and wallet-standard libs. Bitcoin uses `bitcoinjs-lib`, `sats-connect`.
117+
- EVM stack uses `viem` and `wagmi` (in adapters). Solana uses `@solana/web3.js` and wallet-standard libs. Bitcoin uses `wallet-standard` and `sats-connect`.
118118
- WalletConnect v2 is integrated via `@walletconnect/universal-provider`. Keep provider interactions isolated in `controllers`/`utils`/adapters.
119119

120120
### Testing Conventions

packages/adapters/bitcoin/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
"@wallet-standard/app": "1.1.0",
3636
"@wallet-standard/base": "1.1.0",
3737
"@walletconnect/universal-provider": "2.23.0",
38-
"bitcoinjs-lib": "6.1.7",
3938
"sats-connect": "3.5.0"
4039
},
4140
"devDependencies": {

pnpm-lock.yaml

Lines changed: 16 additions & 196 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)