liangxieb / validator-keys-tool

Generate master and ephemeral rippled validator keys

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

validator-keys-tool

Build Status Build status codecov

Rippled validator key generation tool

Table of contents

Dependencies

rippled inclusion

This project depends on the rippled repository for core signing functionality. If you have built and installed rippled, 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/rippled/installation/root ../..

Alternatively, if you do not have a local installation of rippled 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

About

Generate master and ephemeral rippled validator keys

License:Other


Languages

Language:C++ 67.0%Language:CMake 17.9%Language:Shell 15.1%