Crate world_id_core

Crate world_id_core 

Source
Expand description

The core library for the World ID Protocol.

Read more in: https://docs.world.org/world-id

Modules§

primitives
Re-export of all the World ID primitives
proof
Internal proof generation for the World ID Protocol.
requests
Module containing all the functionality to handle requests from Relying Parties (RPs) to Authenticators.
types
Generic re-usable types
world_id_registry
This module allows interactions with the WorldIDRegistry.

Structs§

Authenticator
An Authenticator is the base layer with which a user interacts with the Protocol.
Credential
Base representation of a Credential in the World ID Protocol.
EdDSAPrivateKey
A private key for the EdDSA signature scheme.
EdDSAPublicKey
A public key for the EdDSA signature scheme over the BabyJubJubCurve.
EdDSASignature
An EdDSA signature on the Baby Jubjub curve, using Poseidon2 as the internal hash function for the Fiat-Shamir transform.
FieldElement
Represents a field element of the base field (Fq) in the World ID 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.
CredentialVersion
Version of the Credential object

Traits§

HashableCredential
Introduces hashing and signing capabilities to the Credential type.
OnchainKeyRepresentable
A trait for types that can be represented as a U256 on-chain.