vsecp256k1 - V module that wraps libsecp256k1
This library currently wraps
libsecp256k1 v0.5.1
To use this code, you need to install the following libraries:
- automake
- libtool
MacOS
brew install automake libtool
Ubuntu
sudo apt-get install automake libtool unzip
Fedora
sudo dnf install automake libtool unzip
CentOS
sudo yum install automake libtool unzip
Windows (Not tested)
- Download and install MSYS2
- Open MSYS2 terminal and run the following command:
pacman -S automake libtool
How to compile the C requirements:
- Make sure you have automake and libtool installed
- Navigate to where the module was installed
- Run the following command assuming you .vmodules locations is like bellow:
v run ~/.vmodules/ismyhc/vsecp256k1/build.vsh
This should compile the C code and generate the necessary files for the V module. You should only have to do this once.
How to use the module:
import ismyhc.vsecp256k1
- TODO: Add examples
- TODO: Add documentation
- TODO: Add tests