Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ismyhc/vnostr
Core Nostr types and functions
https://github.com/ismyhc/vnostr
nostr vlang vlang-module vlang-package
Last synced: 6 days ago
JSON representation
Core Nostr types and functions
- Host: GitHub
- URL: https://github.com/ismyhc/vnostr
- Owner: ismyhc
- License: mit
- Created: 2024-09-04T21:36:56.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-09-17T17:50:32.000Z (about 2 months ago)
- Last Synced: 2024-09-18T00:36:52.774Z (about 2 months ago)
- Topics: nostr, vlang, vlang-module, vlang-package
- Language: V
- Homepage:
- Size: 11.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vnostr - V module that providing Nostr types and functions
![V Language](https://img.shields.io/badge/language-V-blue.svg)
This module depends on [ismyhc.vsecp256k1](https://github.com/ismyhc/vsecp256k1) and [ismyhc.vbech32](https://github.com/ismyhc/vbech32) modules.
#### You'll need to install the following libraries:
- automake
- libtool### MacOS
`brew install automake libtool`### Ubuntu
`sudo apt-get install automake libtool`### Fedora
`sudo dnf install automake libtool`### CentOS
`sudo yum install automake libtool`### 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.vnostr`- TODO: Add examples
- TODO: Add documentation
- TODO: Add tests