Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Signer instead of BaseWallet in signOffchainAttestation() #46

Merged
merged 2 commits into from
Aug 11, 2023

Conversation

izziaraffaele
Copy link
Contributor

As the title suggests, this PR add few changes to allow using signOffchainAttestation from the browser using wagmi.

The new function signature looks like the following
signOffchainAttestation(params: OffchainAttestationParams, signer: Signer): Promise<SignedOffchainAttestation>

By replacing BaseWallet with Signer as the type for the signer parameter we have less restrictions without introducing any breaking change.

@lbeder
Copy link
Member

lbeder commented Aug 11, 2023

This is awesome. Thanks @izziaraffaele!

@lbeder lbeder merged commit 0ec0e35 into ethereum-attestation-service:master Aug 11, 2023
1 check passed
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.

2 participants