You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support hardware-wallet (Ledger) signers in sponsord-core #2546
sponsord-core takes any alloy signer since decdn/sponsord#17, but a hardware wallet doesn't work yet (raised in review on decdn/sponsord#17):
Issuer::sign signs the capability's EIP-712 hash with Signer::sign_hash. alloy's LedgerSigner refuses sign_hash (a Ledger won't blind-sign a hash); it signs only typed data, through sign_typed_data.
Sponsor::connect requires S: Clone (one copy signs capabilities, one sends top-ups), and LedgerSigner isn't Clone.
So today the docs name local keys and AWS/GCP KMS only.
Proposal
Typed-data signing. Sign through sign_typed_data (or sign_dynamic_typed_data) with the capability's sol struct and domain, so the device shows the capability's terms. This needs decdn to expose the Capability sol type (decdn_incentive::capability keeps to_sol private today), which is a decdn PR first.
No Clone bound. Hold the signer once, behind an Arc, and hand the wallet provider a thin TxSigner wrapper over that Arc.
Coverage: a test with a non-Clone signer that implements only typed-data signing.
Superseded by #2993. A hardware wallet owns the pool and calls setIssuer once; sponsord signs capabilities with a hot issuer key and never needs the Ledger.
Activity
docs: operator, integrator, security and CLI guides; deploy kit (#21)
fix(sponsord): re-send a hashless topUp once its nonce is vacant (#2573)
alpergundogdu commentedon Nov 25, 2026
Superseded by #2993. A hardware wallet owns the pool and calls
setIssueronce;sponsordsigns capabilities with a hot issuer key and never needs the Ledger.