Skip to main content

Module zk_login_authenticator

Module zk_login_authenticator 

Source

Structs§

AddressSeed
ZkLoginAuthenticator
An zk login authenticator with all the necessary fields.

Enums§

AddressSeedParseError

Functions§

zklogin_circuit_mode_from_flag
Map the protocol config circuit mode flag to the fastcrypto circuit mode: 0 = v1 circuit only, 1 = v2 circuit with fallback to v1 (migration mode), 2 = v2 circuit only. The flag comes from protocol config, so any other value is a config bug.