sendNight

fun sendNight(config: WalletConfig, activity: FragmentActivity, toAddress: String, amount: BigInteger)

Send unshielded NIGHT to toAddress (#240). Bootstraps/reuses the shared SDK, then calls MidnightSdk.sendNight, which validates, selects fewest coins, auto-consolidates when needed, signs, pays dust fees, and submits. Surfaces coarse progress (consolidating / submitting) and the typed outcome through sendState; the live balance observer + a post-send refresh update the pill.

Parameters

amount

NIGHT in the smallest unit (1 NIGHT = 1,000,000); the Send screen parses the user's decimal NIGHT into this.