Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dominant-strategies/go-randomx
https://github.com/dominant-strategies/go-randomx
Last synced: 15 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/dominant-strategies/go-randomx
- Owner: dominant-strategies
- License: bsd-3-clause
- Created: 2022-04-25T20:34:47.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-04-26T19:18:25.000Z (over 2 years ago)
- Last Synced: 2024-11-11T00:21:51.547Z (2 months ago)
- Language: Go
- Size: 2.93 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-randomx
Go bindings for librandomx.## Build
Run the build script to download and compile librandomx.
```
./build.sh
```
The module should now build normally
```
go build
```# Usage
You can import this module as usual, with:
```
import("github.com/spruce-solutions/go-randomx")
```See `TestAllocDataset()` in `randomx_test.go` for an example of how to setup a RandomX vm and compute a hash.