Executor Configuration

To set up the Executor environment, start by installing Geth, which can be downloaded from the official Ethereum website. Once installed, create a new keystore account using the Geth account new command. This generates a key in the Geth Keystore, and you should securely store the public address, secret key file path, and keystore path for future use.

Next, install Docker to run the Executor in a containerized environment. Docker provides the required flexibility and isolation for running the Executor efficiently.

Running the Executor

Begin by downloading the Docker image for the Executor using the command:

bashCopy codedocker pull <repository_url/entangle_executor:latest>

Start the Executor by running the Docker container with bindings for the keystore and configuration files. Use the following command template:

bashCopy codedocker run -p <port>:<port> -v <path/to/keystore>:/app/shared/keystore/ <image_id> "<executor_keystore_name>" "<executor_keystore_password>"

For example:

bashCopy codedocker run -p 5888:5888 -v ./keystore/:/app/keystore/ 5c1e5f2f5333 "executorKey" "incred1bly-secure-pa55word"

If you need to customize configurations for specific network protocols, link your modified configuration file using the following command:

bashCopy codedocker run -p <port>:<port> -v ./keystore/:/app/keystore/ -v ./custom_config.yaml:/app/executor/config.yaml <image_id> "<executor_keystore_name>" "<executor_keystore_password>"

Hardware Requirements:

  • Mainnet:

    • CPU: 4+ cores

    • RAM: 16GB+

    • Storage: 500GB+ SSD

    • Network: 100mbps+

    • OS: Ubuntu 22.04

  • Testnet:

    • CPU: 2+ cores

    • RAM: 4GB+

    • Storage: 250GB+ SSD

    • Network: 10mbps+

    • OS: Ubuntu 22.04

These specifications can be adjusted based on server capacity and network requirements.

Last updated