Skip to main content

Crate world_id_authenticator

Crate world_id_authenticator 

Source

Re-exports§

pub use registry::WorldIdRegistry;
pub use registry::domain;
pub use registry::sign_insert_authenticator;
pub use registry::sign_recover_account;
pub use registry::sign_remove_authenticator;
pub use registry::sign_update_authenticator;

Modules§

api_types
registry
Minimal World ID Registry contract bindings.

Structs§

Authenticator
An Authenticator is the base layer with which a user interacts with the Protocol.
Config
Global configuration to interact with the different components of the Protocol.
InitializingAuthenticator
Represents an account in the process of being initialized, i.e. it is not yet registered in the WorldIDRegistry contract.

Enums§

AuthenticatorError
Errors that can occur when interacting with the Authenticator.

Constants§

TREE_DEPTH
The depth of the Merkle tree used in the World ID Protocol for the WorldIDRegistry contract.

Traits§

OnchainKeyRepresentable
A trait for types that can be represented as a U256 on-chain.
ProtocolSigner
Enables entities that sign messages within the Protocol for use with the ZK circuits.