Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dominant-strategies/go-randomx


https://github.com/dominant-strategies/go-randomx

Last synced: 15 days ago
JSON representation

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.