Skip to main content

MAX_INVITATION_DUFFS

Constant MAX_INVITATION_DUFFS 

Source
pub const MAX_INVITATION_DUFFS: u64 = 26_000_000;
Expand description

Hard cap on the amount an invitation can lock (0.26 DASH). The voucher is a bearer credential, so the blast radius of a leaked link is bounded here in Rust — not just in the UI. Sized for onboarding at BOTH username tiers: the invitee spends the voucher on identity creation plus a DPNS name — a normal name (~0.03 DASH, the legacy DASH_PAY_FEE) or a contested/premium name (~0.25 DASH, DASH_PAY_FEE_CONTESTED), with the 0.01 margin covering the create/claim fees. The earlier 0.05 value deferred the contested tier “until contested-name-via-invite claim exists” — the claim path is amount-agnostic and contested-invite claims are verified working, and the Android wallet has funded contested invitations at 0.25 since 2024, so the deferral is over. (The pre-merge 0.01 iteration was below even a usable non-contested invitation and rejected its own onboarding default.)