bitkit
bitkit copied to clipboard
refactor(wallet): Implement Rust Address Generator
Description
- Removes
nodejs-mobile
dependency and related files. - Adds
react-native-address-generator
and implements it accordingly. - The
BitcoinActions
class was moved fromnodejs-assets/nodejs-project
toutils/bitcoin-actions
and updated accordingly. - This update brings with it a significant performance improvement when generating addresses.
- If ya'll agree that this way of generating addresses in Bitkit is an improvement over the previous
nodejs-mobile
implementation and approve the PR we'll just need to import/move thereact-native-address-generator
library to thesynonymdev
name and make it public to continue working on from there moving forward.
Linked Issues/Tasks
- #1617
Type of change
- [x] New feature (non-breaking change which adds functionality)
- [x] Refactoring (improving code without creating new functionality)
Tests
- [x] No test
QA Notes
- Please ensure address generation still works as expected on iOS & Android for each address type and network.
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
Package | New capabilities | Transitives | Size | Publisher |
---|---|---|---|---|
npm/@eslint-community/[email protected] | None | 0 |
431 kB | eslint-community-bot |
npm/@nodelib/[email protected] | filesystem | 0 |
11.8 kB | mrmlnc |
npm/@sinclair/[email protected] | None | 0 |
442 kB | sinclair |
npm/[email protected] | None | 0 |
808 kB | aearly |
npm/[email protected] | None | 0 |
31.2 kB | tehshrike |
npm/[email protected] | None | 0 |
46 kB | simenb |
npm/[email protected] | None | 0 |
4.72 kB | stefanpenner |
npm/[email protected] | None | 0 |
12.8 kB | ljharb |
npm/[email protected] | None | 0 |
28.9 kB | ljharb |
npm/[email protected] | None | 0 |
8.9 kB | zensh |
npm/[email protected] | None | 0 |
1.55 kB | cwmma |
npm/[email protected] | None | 0 |
8.37 kB | feross |
npm/[email protected] | None | 0 |
45 kB | ljharb |
🚮 Removed packages: npm/@hyperswarm/[email protected], npm/@noble/[email protected], npm/@synonymdev/[email protected], npm/@synonymdev/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected]