Skip to content

Conversation

Josephtran102
Copy link
Contributor

Summary

This PR introduces two new verifier modules for the Solidity SDK:

  • AttestationVerifier

    • Verifies a signature over a message hash
    • Ensures the recovered signer matches the claimed signer
    • Useful for basic attestations and off-chain signature verification
  • TimedAttestationVerifier

    • Extends AttestationVerifier with a deadline parameter
    • Rejects attestations that have expired (block.timestamp > deadline)
    • Helps prevent replay attacks and enforces time-bound validity

Notes

  • Both modules include Foundry test coverage (AttestationVerifier.t.sol, TimedAttestationVerifier.t.sol)
  • No breaking changes to existing SDK contracts

Josephtran102 and others added 3 commits August 15, 2025 02:57
Adds a minimal CLI under examples/rust as a bin target.

Features: balance, committee, transfer, logs (WS required; optional verify).

Read-only cmds use on_url; transfer uses from_env. Logs detect HTTP and exit with a hint.

Clippy/fmt clean. Follow-ups: HTTP eth_getLogs helper; extra subcommands.
@poszu poszu requested a review from shresthagrawal August 18, 2025 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant