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

Signature Request Example #6

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

Conversation

RonTuretzky
Copy link

This PR introduces using the Cerberus Rust API to fetch a signature in conjunction with the eigensdk-rs library

@@ -36,6 +36,11 @@ tokio = { version = "1.37.0", features = ["test-util", "full", "sync"] }
futures = "0.3"
chrono = "0.4"
uuid = { version = "1.0", features = ["v4"] }
eigen-crypto-bls = { git = "https://github.com/Layr-Labs/eigensdk-rs/" ,rev = "62556fdb5701dee5a30ea348e7a311be96ab051f"}
Copy link
Collaborator

Choose a reason for hiding this comment

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

will this create a dependency on this package for pushing cerberus-api crates?

Copy link
Author

@RonTuretzky RonTuretzky Dec 2, 2024

Choose a reason for hiding this comment

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

yes. Also a bug with the signature production currently, may be related to rust/go issues with encoding encrypted json keystores as previously discussed with @supernovahs. Alternatively, I suspect there may be a masking issue

Copy link
Collaborator

Choose a reason for hiding this comment

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

okay - I don't think we want dependency on eigen-crypto-bls lib on this - since this is just an example of using it - maybe there's a way to create a separate examples modules which has it's own deps.

yea - there's a difference between Go and Rust SDK on generating encrypted JSON. I need to fix it. but that should not create bugs since - cerberus and rust sdk creates same format.

Copy link
Author

Choose a reason for hiding this comment

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

Copy link
Author

Choose a reason for hiding this comment

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

I think for the sake of completeness, support for the eigensdk-rs makes sense as AVS developers will opt into using that and will expect compatibility with Cerberus...

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