Skip to content

Latest commit

 

History

History
65 lines (46 loc) · 2.2 KB

File metadata and controls

65 lines (46 loc) · 2.2 KB

validator-keys-tool

Build Status Build status codecov

Rippled validator key generation tool

Table of contents

Dependencies

brtd inclusion

This project depends on the brtd repository for core signing functionality. If you have built and installed brtd, you can point this project at your installation using CMAKE_PREFIX_PATH (if you have installed in a standard system search path, this is not needed), e.g.:

cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=/path/to/brtd/installation/root ../..

Alternatively, if you do not have a local installation of brtd development files that you want to use, then this project will fetch an appropriate version of the source code using CMake's FetchContent.

Other dependencies

Build and run

For linux and other unix-like OSes, run the following commands (see note above about adding CMAKE_PREFIX_PATH as needed):

$ cd ${YOUR_VALIDATOR_KEYS_TOOL_DIRECTORY}
$ mkdir -p build/gcc.debug
$ cd build/gcc.debug
$ cmake -DCMAKE_BUILD_TYPE=Release ../..
$ cmake --build .
$ ./validator-keys

For 64-bit Windows, open a MSBuild Command Prompt for Visual Studio and run the following commands:

> cd %YOUR_VALIDATOR_KEYS_TOOL_DIRECTORY%
> mkdir build
> cd build
> cmake -G"Visual Studio 15 2017 Win64" ..
> cmake --build . --config Release
> .\Release\validator-keys.exe

32-bit Windows builds are not supported.

Guide

Validator Keys Tool Guide