GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — delegation-framework/documents/HybridDeleGator.md at main · 1Shot-API/delegation-framework

Expand file tree

/

HybridDeleGator.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
29 lines (17 loc) · 1.73 KB
/

HybridDeleGator.md

Copy path

File metadata and controls

29 lines (17 loc) · 1.73 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

Hybrid DeleGator Smart Contract

Overview

The Hybrid DeleGator is a Solidity smart contract that extends the functionality of the DeleGatorCore contract. It facilitates externally owned account (EOA) signatures and NIST P256 elliptic curve signatures to manage access control for the DeleGator.

Considerations

  • Multiple signers can be added but only 1 signer is needed for a valid signature.
  • There must always be at least one active signer either EOA or P256.
  • There is a function to completely replace all the signers and more specific functions to add or remove signers.
  • Contracts as the owner are valid for delegation signature validation but are not valid for UserOp validation.

Features

EOA-Signature Support: Enables signers to use the EOAs signature generation. P256-Signature Support: Enables signers to use the P256 curve for signature generation.

Delegation: Allows for delegation of transaction execution to other accounts.

P256 Signature Verification

Signature verification is handled through SmoothCryptoLib contract. The P256Verifier contract is a "Progressive Precompile" contract which will forward verification calls to a precompiled version of the contract if EIP7212 is included on the chain, reducing signature verification gas costs from ~330k to ~3k.

P256 Signatures

Signatures for the P256 DeleGator can be of two types: Raw P256, signatures generated using the NIST P256 elliptic curve and WebAuthn P256, a signature generated using the P-256 elliptic curve as part of the WebAuthn specification.

Both signatures use the same elliptic curve but the data signed and how the keys are generated and managed differs.

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.