fedimint_core::invite_code

Constant BECH32_HRP

Source
const BECH32_HRP: Hrp;
Expand description

We can represent client invite code as a bech32 string for compactness and error-checking

Human readable part (HRP) includes the version

[ hrp (4 bytes) ] [ id (48 bytes) ] ([ url len (2 bytes) ] [ url bytes (url len bytes) ])+