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
platform-wallet: expose an account-scoped Platform credit total for PlatformPayment accounts #6235
SwiftExampleApp (AccountListView.platformBalanceRow) and KotlinExampleApp (since #6225, plus the existing wallet detail Platform balance) show a PlatformPayment account's balance as the sum of its persisted Platform address rows. Rust owns the live total (ManagedPlatformAccount::total_credit_balance()), and PlatformAddressWallet::reconcile_address_infos updates it from a proof before the change is persisted. Kotlin's onPersistAddressBalance is update-only and skips an address that has no Room row yet. So the sum of rows can briefly be less than the account holds.
The only bridged total, platform_address_wallet_total_credits, reads the default account and is not account-scoped.
Proposal
Expose an account-scoped snapshot (account index + key class → total credits) through FFI and JNI, and have both apps show it on the account row, the account detail and the wallet Platform balance, so all three agree.
Activity
fix(kotlin-example-app): keep a submitted name blocked for the visit …
chore(release): name the SDK interface changes in the 5.1.0-rc.1 chan…