You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
kotlin-sdk example: the Core Receive sheet shows no address when the local database has no unused one #6389
TL;DR: In the Android example app, the Core "Receive" sheet shows no QR code when the local database has no unused receive address yet, even though the wallet itself could give one. The user is told to sync instead of getting an address.
User story
As a user of the Android example wallet, I want the Receive sheet to always show an address and QR code, so I can receive Dash right after opening the wallet.
Scenario
Base flow
The user opens a Core account and taps Receive before the local database (Room) holds an unused external address.
Actual behavior
ReceiveAddressSheet.kt filters the persisted external address pool and picks the lowest unused index itself. With no such row it shows a prompt to sync and no QR code.
Expected behavior
The sheet asks the live wallet for the next receive address (the Rust wallet owns address selection) and shows it, whatever Room holds.
The address choice belongs in Rust per the book's wallet-ownership rule; the Kotlin SDK already exposes the managed wallet's next receive address (ManagedCoreWallet).
Activity