Sign inSign up

thaussma/casper-sign

By thaussma

Updated about 5 years ago

Image
0

152

thaussma/casper-sign repository overview

A Docker image that signs and verifies your email address to claim your rewards for the Casper Test Net by DEVxDAO.

Usage

Use prebuild image
$ export KEYS_FOLDER=/abs/path/to/validator_keys
$ export [email protected]
$ docker run --rm -v "${KEYS_FOLDER}":/etc/casper/validator_keys \
      -it thaussma/casper-sign ./sign-verify.sh "${EMAIL}"

Signing [email protected]
Public Key:
 01e08fb25d24b30903840958509489430483934585896845684275894259348567
Message:
 [email protected]
Signature:
  0b5749ea0957397eaec1d1e84bd6b4cf0770333f8850e3064b5fee3e37351f89aa904b185d1f89aa900e63326513c82f60464456fa42a08627c7bde4b049347
Verified!         
Build the image yourself
  1. Clone this repo and cd into it
  2. Run make with variables:
    • EMAIL: your email address
    • KEYS_FOLDER: absolute path to the folder containing your validator key files.
git clone https://github.com/thaussma/casper-sign
cd casper-sign
make EMAIL=testmail@address KEYS_FOLDER=${PWD}/validator_keys

This will then build the image and then run sign.py and verify.py:

Signing testmail@address
Public Key:
 01e08fb25d24b30903840958509489430483934585896845684275894259348567
Message:
 testmail@address
Signature:
  0b5749ea0957397eaec1d1e84bd6b4cf0770333f8850e3064b5fee3e37351f89aa904b185d1f89aa900e63326513c82f60464456fa42a08627c7bde4b049347
Verified!

Tag summary

Content type

Image

Digest

Size

207 MB

Last updated

about 5 years ago

docker pull thaussma/casper-sign