Module adapter::ethereum::ewt

source ·
Expand description

Ethereum Web Token See https://github.com/ethereum/EIPs/issues/1341

This module implements the Ethereum Web Token with 2 difference:

  • The signature includes the Ethereum signature mode, see crate::ethereum::ewt::ETH_SIGN_SUFFIX
  • The message being signed is not the header.payload directly, but the keccak256("header.payload").

Structs

The Payload of the Ethereum Web Token
EWT Authentication Token
EWT verified payload

Statics