hotspot-app icon indicating copy to clipboard operation
hotspot-app copied to clipboard

Allow QR code scanning of transfer_hotspot_v2 transactions

Open rawrmaan opened this issue 2 years ago • 0 comments

The app should allow scanning a QR code to initiate a transfer_hotspot_v2 transaction. Importantly, the client-side check for recent hotspot activity (normally required to transfer a hotspot) should be bypassed so advanced users can make their own determination of whether a hotspot is ready to transfer.

This is the screen that pushes the transfer UI (see navigateToTransfer function): https://github.com/helium/hotspot-app/blob/main/src/features/hotspots/transfers/HotspotTransfer.tsx

And the main transfer UI is in SendView. In order to bypass the activity check, scanned transfers could follow the same code path as data-only hotspots, seen here: https://github.com/helium/hotspot-app/blob/afbe3342b4b663787ae379e143a145704bd32067/src/features/wallet/send/SendView.tsx#L163

rawrmaan avatar Aug 05 '22 17:08 rawrmaan