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

Arbitrary data signature API #195

Open
alonmuroch opened this issue Dec 2, 2024 · 4 comments
Open

Arbitrary data signature API #195

alonmuroch opened this issue Dec 2, 2024 · 4 comments

Comments

@alonmuroch
Copy link

Following the pre-conf notion (https://dear-twist-ac1.notion.site/Preconfirmations-API-Specification-1363b4619cb080a6a4cfd170c61771bc), all validators will need to perform a common step, which is signing a delegation.

I suspect future “validator-commitment” modules will also need such signatures.

My recommendation is to establish a generalized “sign arbitrary data” API between VC and commit-boost, with a dedicated domain type that renders slashing impossible.
This will enable commit-boost modules to request the VC (and DVT clusters) to sign arbitrary data, specifically in the pre-conf scenario, a delegate message.

Pros:

  • Implement once, serve multiple use-cases

Cons:

  • Might make the implementation more complex/ slower
@ltitanb
Copy link
Collaborator

ltitanb commented Dec 2, 2024

this is basically what commit boost does at its core ? https://commit-boost.github.io/commit-boost-client/architecture/overview
we also have already integrated a custom domain #106

is anything else missing in your opinion?

@alonmuroch
Copy link
Author

So just implement signer API for that?

@ltitanb
Copy link
Collaborator

ltitanb commented Dec 9, 2024

The API is already implemented for local keystores, and Web3 signer

@ltitanb
Copy link
Collaborator

ltitanb commented Jan 3, 2025

@alonmuroch let me know if anything missing or if we can close this

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

No branches or pull requests

2 participants