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

blst library for python #146

Open
gouri9230 opened this issue Jul 22, 2023 · 2 comments
Open

blst library for python #146

gouri9230 opened this issue Jul 22, 2023 · 2 comments

Comments

@gouri9230
Copy link

Hello,
I am new to the cryptography and blockchain world. I am implementing verkle tree, its proof generation and verification. For this purpose I need to import the blst library to use BLS12_381 elliptic curve. I did git clone blst but i am unable to install it in my ubuntu system and getting error during cmake installation. Could you please tell me how can I install blst library for python, or if there are any other libraries that performs the same functionality as blst supported in python?

@ralexstokes
Copy link
Member

have you tried this one? https://github.com/ethereum/py_ecc

@dankrad
Copy link
Collaborator

dankrad commented Aug 16, 2023

You can generate the blst shared object and python interface using the run.me file in the python bindings directiory (https://github.com/supranational/blst/tree/master/bindings/python).

Then just copy the generated files to wherever you need them.

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