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

feat: add remote sign for attestation #59

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

shrimalmadhur
Copy link

@shrimalmadhur shrimalmadhur commented Aug 30, 2024

  • Add remote signer only to sign the task which is received from task creator
  • The send transaction to ethereum doesn't work as it is due to the way ethers library work. It will require some more work

TODO

  • Make contract transactions using remote signing
  • Digest signing using remote signing

Digest signing for AVS registration is not possible because the remote signer is very eth specific. will have to figure out a different way. So we will still need private key in remote mode but just for digest signing. But since this is an example we are okay.

@Gajesh2007 Gajesh2007 marked this pull request as ready for review August 30, 2024 18:07
@shrimalmadhur shrimalmadhur marked this pull request as draft August 30, 2024 18:23
@wesfloyd
Copy link
Contributor

wesfloyd commented Sep 3, 2024

PR looks great. FYI: planning to have the master branch fixed by EOW, then we can merge in this work.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you mind moving these changes to: https://github.com/Layr-Labs/hello-world-avs/blob/master/.env.example ?

We're trying to make the deployments more streamlined for local and holesky, so we removed .env.local

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI: there were a LOT of changes to index.ts. It might be easier to start with a fresh PR?

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.

3 participants