blixt-wallet
blixt-wallet copied to clipboard
[SPIKE] Port ReactNative calls to a native Swift implementation
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 |
|---|
| In Wallet.ts |
|---|