Mint a one-time signing challenge.
Returns a short text the wallet must sign to prove ownership. The signed result is then submitted to POST /v1/auth/session to establish a session. address is optional: omit it when the address is only known after authentication to get a generic nonce, which the session call consumes by its exact text.
Rate limited per target address (10/minute) as well as per caller, so nobody can flood live nonces against a wallet they do not control.
Authorizations
HttpOnly session cookie set by POST /v1/auth/session. Mutating requests must also send the CSRF token (returned by that call) in the x-csrf-token header.
Body
Alephium address (base58, optional :N group suffix).
30 - 80^[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz:]+$
