Skip to content

ismyhc/vsecp256k1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vsecp256k1 - V module that wraps libsecp256k1

V Language C Langauge

This library currently wraps libsecp256k1 v0.5.1 for use in V. It is a work in progress so take that into account.

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

Releases

No releases published

Packages

No packages published

Languages