Skip to main content

Module siwe

Module siwe 

Source
Expand description

Sign in with Ethereum using a single-use challenge and application-owned signature verification, including contract-wallet RPC providers.

Structs§

Cacao
CAIP-122 callback data constructed by Better Auth 1.7.6. Its domain, audience and issuer retain the configured domain rather than the normalized host.
CacaoHeader
CacaoPayload
CacaoSignature
Eip191Verifier
Secure EIP-191 verifier for externally owned Ethereum accounts. Contract wallets can use a custom SiweVerifier backed by the application’s RPC.
EnsProfile
RandomSiweNonce
A cryptographically random nonce provider suitable for ordinary deployments.
SiweConfig
SIWE application policies. A verifier is required because contract-wallet verification and chain-specific RPC access are owned by the application.
SiwePlugin
SiweVerification

Enums§

SiweCallbackError
An application callback may reject with an endpoint response or fail while contacting a wallet, identity, or nonce provider.

Traits§

EnsLookup
SiweNonceProvider
SiweVerifier

Functions§

ethereum_message_hash
EIP-191 personal-sign message digest. The prefix uses the UTF-8 byte count, including any non-ASCII statement or SIWE field in the original message.

Type Aliases§

SiweCallbackResult