Sign inSign up

hesusruiz/alageth

By hesusruiz

•Updated over 3 years ago

Alastria RedT Geth binary and easy generation of new nodekey (based on Quorum 21.10.2)

Image
0

466

hesusruiz/alageth repository overview

⁠Alastria RedT geth binary and generation of new nodekey

This image contains:

  1. A specialized Quorum Geth binary to run a production blockchain node as a container for the Alastria RedT network.
  2. An easy way to get a native Geth binary for those who want to run a production node without containers, or that want the flexibility to use the Geth binary in a customized production environment.
  3. Easy generation of a new nodekey for a new node in the network.

⁠Running the Alastria RedT Geth binary as a container

The image includes a specialized version of geth for the Alastria RedT network. You can use it directly in your production environment like this:

docker run --rm hesusruiz/alageth geth $(arguments)

where $(arguments)should be the appropriate runtime arguments for the RedT network. See alastria-node-quorum⁠ for how to set those arguments.

Of course, you can use this image in a compose.yaml file to run the container with the docker compose command.

⁠Running the Alastria Geth binary in native mode (outside the container)

You can also extract the binary from the image using this command:

docker run --rm hesusruiz/alageth cat /geth >geth
make +x geth

The docker run --rm hesusruiz/alageth cat /geth command prints the contents of the binary to standard output. You should redirect output to the file that will become the geth binary. You should then make it executable with the command make +x geth.

After this, you can use the binary in your production environment as you wish (but make sure you use the proper settings for the RedT network).

⁠Generation of a new nodekey

To create a new nodekey that can be used for a new node to be permissioned in the RedT network just run the following command after building the image as described above:

docker run --rm hesusruiz/alageth nodekey

The above command will print the new nodekey and the corresponding enode in the console.

⁠Sources of the image

This image has been generated using the Dockerfile in this repository:

https://github.com/hesusruiz/alaquorum⁠

Tag summary

Content type

Image

Digest

sha256:d0b3364f7…

Size

45.2 MB

Last updated

over 3 years ago

docker pull hesusruiz/alageth