Bitcoin co-signing, card withdrawals and the pay page
TLDR
6 PRs merged, 5 commits across all branches and 7 PRs opened in 3 repos (the Nuri app: 10, the banking server: 7, nuri signing: 1), 2 deployments, +419 / -17 lines. I worked on 4 features.
Our signing service can now co-sign Bitcoin and Arkade with the same keys and addresses, and I fixed Bitcoin sends on the phone and card withdrawals stuck as pending. The pay page, bank transfers, bottom bars and Arkade coin renewal are open PRs, not merged yet.
Bitcoin and Arkade co-signing
Our signing service now also co-signs for Bitcoin and Arkade, with the existing key material carried over unchanged, so every user keeps the same keys and addresses. It checks by itself what it signs and who asked. It rebuilds each message from the transaction, and the user’s passkey approves the exact send. That’s still one passkey touch like today, but a server passing the request along can’t swap the transaction under it.
This is merged but not live. 39 tests pass, including the official test vectors for the signing scheme, and all 33 Arkade checks that passed before pass again through this signer. Before it goes live, the Bitcoin part still needs one independent review.
Bitcoin send on the phone
Since the v0.109.0 update, Bitcoin sends failed in the native app with “undefined is not a function”. A library update in that release calls a text function the phone’s JavaScript engine doesn’t have, and the build baked in the answer from the build machine, which does have it. The app now adds that function at startup when it’s missing. I reproduced the exact error on the app’s own engine, and with the fix the transaction encodes. Merged, ships as OTA, the device check on an iPhone is still open.
Card withdrawals stuck as pending
A card to wallet withdrawal has two steps, and Wirex only accepts the final step within 10 minutes of the first. In one live case the app stopped checking after 4 seconds, the final step was never sent and nothing moved, but the withdrawal showed pending for 24 hours.
On the banking server, a check after that window now answers that the request expired, sends nothing and keeps that answer. On the sandbox there’s one more commit so a final step that was actually sent gets checked instead of being called expired. In the app, a pending withdrawal is released on exactly two answers: expired, or the final step failed onchain. Everything else keeps it pending. Part of this restores an earlier fix that a merge in September had silently removed. All merged, the app part ships as OTA, and until the server change is live the app behaves as before. The device check is open.
Settings photo on Safari
On the iPhone PWA the Bank and Cards photo in Settings collapsed to a thin line, because Safari doesn’t size it from its aspect ratio alone. The photo column now gets its width up front, a third of the card. In Safari’s engine it went from 2x181 to 120x180 pixels. The blur on iOS is the photo itself, 240x320, so it needs a bigger one from design. Merged as OTA, the iPhone PWA check is open.
Pay page, bank transfers and bottom bars
All of this is opened, not merged. The pay page on app.nuri.com opens from any spelling of a name, with or without @ and in any capitalization. If you already have the wallet in that browser, the link goes to the app’s own send flow. The page now looks like the app’s send screen: the person, one amount card, the buttons at the bottom. Bank transfers start with your saved bank contacts plus “New recipient”, and a new recipient is saved after sending.
Every screen gets its bottom buttons from one rule, the phone’s bottom inset plus 18px, with 12px between stacked buttons, as in the design system. On a Face ID iPhone that’s 52px instead of 40px.
I also opened a PR that removes the MetaMask SDK from the pay link, because it sends its own usage analytics to MetaMask and Nuri collects no data. MetaMask stays as a choice, on a phone browser the button opens the MetaMask app through WalletConnect instead.
Arkade coin renewal
Since Oct 30 the Arkade solver refuses Lightning sends and Arkade to EUR/USD swaps when the coins paying for them expire in less than about 14.6 days. The app only asked to renew at 3 days left, so coins in between were refused with no prompt, and one user’s swaps were all refunded since Oct 31. The open PR raises the threshold to 16 days and 5 hours and shows the renewal on the normal wallet lock screen. Tests pass, it’s not checked on a device yet. I also opened the v0.109.0 release PR and the backport of that release.