ethereum / research

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

blst library for python

gouri9230 opened this issue · comments

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?

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.