blixt-wallet icon indicating copy to clipboard operation
blixt-wallet copied to clipboard

[SPIKE] Port ReactNative calls to a native Swift implementation

Open kcw-grunt opened this issue 2 years ago • 0 comments

Overview

Currently this work is designed for lightning using a React Native layer and many native calls from iOS and Android must routed to React.

To leverage all your great lightning work for Native iOS and Android calls directly to lndmobile, those calls need to be created. Although, this wallet will be mainly focused on on-chain transactions.

Goal is to add the native calls for iOS then Android:

  • 'LndmobileInvoicesCancelInvoice'
  • 'LndmobileWalletKitListUnspent'
  • 'LndmobileRouterResetMissionControl'
  • 'LndmobileRouterXImportMissionControl'
  • 'LndmobileRouterQueryMissionControl'
  • 'LndmobileWalletKitDeriveKey'
  • 'LndmobileSignerSignMessage'
  • 'LndmobileRouterSendPaymentV2'
  • 'LndmobileRouterTrackPaymentV2'
  • 'LndmobileGossipSync'

@hsjoberg has then been done already? Do you have any thoughts on how to proceed?

Example Code

"WalletKitDeriveKey": { bytes, cb in LndmobileWalletKitDeriveKey(bytes, cb) },

In Xcode
Screenshot 2023-10-05 at 3 39 44 PM}
In Wallet.ts
Screenshot 2023-10-05 at 3 38 03 PM

kcw-grunt avatar Oct 05 '23 19:10 kcw-grunt