-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Motivation
- Better UX, users can sign once off-chain. a relayer or dapp submits
permit+ e.g.transfer_fromin one flow. - Aligns with the familiar permit pattern from ethereum(EIP-2612), adapted for Dusk.
Scope
permit(owner, spender, value, deadline, signature)to set allowance with a valid BLS signature.permit_nonces(owner)anddomain_separator()for replay protection and off-chain signing.- Design is tailored for Dusk (no EIP-712; uses
abi::hashandabi::verify_bls). See the implementation PR for full rationale and encoding details.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels