Build from Source

Prerequisites

Important

EthSigner requires Java 11+; earlier versions are not supported.

Installation on Linux / Unix / macOS

Clone the EthSigner Repository

Clone the PegaSysEng/ethsigner repository:

git clone https://github.com/PegaSysEng/ethsigner.git

Build EthSigner

After cloning, go to the ethsigner directory.

Build EthSigner with the Gradle wrapper gradlew:

./gradlew build

Go to the distribution directory:

cd build/distributions/

Expand the distribution archive:

tar -xzf ethsigner-<version>.tar.gz

Move to the expanded folder and display the EthSigner help to confirm installation.

cd ethsigner-<version>/
bin/ethsigner --help

Installation on Windows

Install EthSigner

Clone the PegaSysEng/ethsigner repository:

git clone https://github.com/PegaSysEng/ethsigner.git

Build EthSigner

Go to the ethsigner directory:

cd ethsigner

Build EthSigner with the Gradle wrapper gradlew:

.\gradlew build

Note

To run gradlew, you must have the JAVA_HOME system variable set to the Java installation directory. For example: JAVA_HOME = C:\Program Files\Java\jdk1.8.0_181.

Go to the distribution directory:

cd build\distributions

Expand the distribution archive:

tar -xzf ethsigner-<version>.tar.gz

Go to the expanded folder and display the EthSigner help to confirm installation.

cd ethsigner-<version>
bin\ethsigner --help