bitkit icon indicating copy to clipboard operation
bitkit copied to clipboard

refactor(wallet): Implement Rust Address Generator

Open coreyphillips opened this issue 3 months ago • 1 comments

Description

  • Removes nodejs-mobile dependency and related files.
  • Adds react-native-address-generator and implements it accordingly.
  • The BitcoinActions class was moved from nodejs-assets/nodejs-project to utils/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 the react-native-address-generator library to the synonymdev 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.

coreyphillips avatar Apr 22 '24 20:04 coreyphillips