Package-level declarations

Types

Link copied to clipboard

Per-address last-uploaded digest, so DustCloudBackupCoordinator can skip a redundant upload (and the network round-trip) when a checkpoint is unchanged. Production backs this with SharedPreferences; tests use an in-memory map.

Link copied to clipboard

DustCloudBackup over an injected BackupStorage (Drive in production) + a pre-derived AES key (com.midnight.kuira.core.identity.backup.SeedDerivedKeyDeriver).

Link copied to clipboard
fun interface MidnightSdkFactory

Seam for constructing a raw MidnightSdk from a WalletConfig + seed.

Link copied to clipboard
@Singleton
class MidnightSdkProvider @Inject constructor(walletSeedSource: WalletSeedSource, sdkFactory: MidnightSdkFactory)

Process-wide owner of the single live MidnightSdk instance.

Link copied to clipboard

SharedPreferences-backed DustBackupDigestStore. Holds the SHA-256 of the last checkpoint successfully uploaded per address, so DustCloudBackupCoordinator skips the network round-trip when nothing changed. The digest is not secret (it's a hash of an already-encrypted-at-rest checkpoint), so plain prefs is fine.

Link copied to clipboard
data class WalletConfig(val network: MidnightNetwork, val provingMode: ProvingMode = ProvingMode.DEFAULT, val proofServerUrl: String? = null)

Snapshot of every wallet-level toggle that affects SDK construction.

Link copied to clipboard
@Module
object WalletRuntimeModule

Hilt bindings for sdk:wallet-runtime.