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

circuit to verify an ethereum signature - curve secp256k1 #1

Open
atvanguard opened this issue Dec 5, 2018 · 3 comments
Open

circuit to verify an ethereum signature - curve secp256k1 #1

atvanguard opened this issue Dec 5, 2018 · 3 comments

Comments

@atvanguard
Copy link

atvanguard commented Dec 5, 2018

Hey folks,
I am looking for a zkp circuit to verify an ethereum signature. I think that's ECDSA - secp256k1? I need to use for my hackathon project. Is there a implementation for the same already available somewhere?

As a PoC I can use EdDSA signatures as well for my project, however the EdDSA test tests in this repo are failing. Can you help me fix them?

Thank you.

@atvanguard
Copy link
Author

Resolved! It was a timeout issue! const cirDef = await compiler(path.join(__dirname, "circuits", "eddsa_test.circom")); takes more time than that set in the test. I precompiled the circuit circom test/circuits/eddsa_test.circom before running the test.

Modifying the title of the issue to ask whether there already is an implementation of ecdsa based on secp256k1.

@atvanguard atvanguard changed the title failing EdDSA tests zkp circuit to verify an ethereum signature - curve secp256k1 Dec 6, 2018
@atvanguard atvanguard changed the title zkp circuit to verify an ethereum signature - curve secp256k1 circuit to verify an ethereum signature - curve secp256k1 Dec 6, 2018
@liamzebedee
Copy link

We're currently exploring this for interchain swaps - and would love some sample code :) - the Aussie from the fantastic Web3 workshop you guys did :)

ChihChengLiang pushed a commit to ChihChengLiang/circomlib that referenced this issue May 6, 2020
jwasinger pushed a commit to jwasinger/circomlib that referenced this issue Jan 30, 2021
@xhliu
Copy link

xhliu commented Jul 11, 2022

https://github.com/0xPARC/circom-ecdsa

piotr-roslaniec pushed a commit to piotr-roslaniec/circomlib that referenced this issue Sep 18, 2024
add new theme for docs, and configuration for it
piotr-roslaniec pushed a commit to piotr-roslaniec/circomlib that referenced this issue Sep 18, 2024
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

3 participants