Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ismyhc/vsecp256k1
A V module that wraps libsecp256k1
https://github.com/ismyhc/vsecp256k1
bitcoin nostr secp256k1 vlang vlang-module vlang-package
Last synced: 4 months ago
JSON representation
A V module that wraps libsecp256k1
- Host: GitHub
- URL: https://github.com/ismyhc/vsecp256k1
- Owner: ismyhc
- License: mit
- Created: 2024-09-04T13:12:53.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-09-17T15:23:41.000Z (5 months ago)
- Last Synced: 2024-09-27T13:23:28.039Z (4 months ago)
- Topics: bitcoin, nostr, secp256k1, vlang, vlang-module, vlang-package
- Language: V
- Homepage:
- Size: 16.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vsecp256k1 - V module that wraps libsecp256k1
![V Language](https://img.shields.io/badge/language-V-blue.svg)
![C Langauge](https://img.shields.io/badge/language-C-blue.svg)This library currently wraps [libsecp256k1 v0.5.1](https://github.com/bitcoin-core/secp256k1) 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](https://www.msys2.org/)
- 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