Executor Configuration

The configuration file in YAML format describes the contracts and events that the application subscribes to in specific networks and defines a handler method, as well as the target network where transactions for this event will be sent

DefaultExecutor configured to work with all supported networks. But, if necessary, the Executor can be configured to apply operations only on certain networks.

Run Executor:

  1. Install Geth, install Docker

  • You can download Geth from the official Ethereum website according to your operating system.

  • Once Geth is installed, you can use the Geth account new command to create a new key in the Keystore.

  • Run Executor needed in docker container

  1. Create a new account in the Geth Keystore using a fairly complex password (keep it safe):

  • Geth account new

  • Public address of the key: 0x4D4BfDB964968077D0eF2D9CC618C50C3C7dEb48

  • Path of the secret key file: /Users/john/Library/Ethereum/keystore/UTC--2023-06-21T06-12-44.354847000Z--4d4bfdb964968077d0ef2d9cc618c50c3c7deb48

  • Keystore path: /Users/john/Library/Ethereum/keystore/

  • File name: UTC--2023-06-21T06-12-44.354847000Z-4d4bfdb964968077d0ef2d9cc618c50c3c7deb48

  • The given password, keystore path, and filename will be required later

  1. Adding an address to the list of allowed Executors

  2. Download the docker image of the Entangle Oracle Executor application: docker pull <repository_url/entangle_executor:latest>

  3. Run the container with the following parameters: docker run -p <port>:<port> -v <path/to/keystore>:/app/shared/keystore/ <image_id> "<executor_keystore_name>" "<executor_keystore_password>"

Example:

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

  • This Executor works with AggregationSpotter protocol contracts on all supported networks.

  • To run an Executor that works only with AggregationSpotter on certain protocol networks, you can download the required configuration file for the Executor in our repository <repository_url/executor_configs> or change the basic configuration file according to your requirements <repository_url/executor_configs/config.yaml>

  • You can connect the modified configuration file as follows docker 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 or more physical CPU cores RAM: 16GB+ Storage: 500GB+ SSD Network: 100mbps+

  • OS: Ubuntu 22.04

Testnet

  • CPU: 2 or more physical CPU cores RAM: 4GB+ Storage: 250GB+ SSD Network: 10mbps+

  • OS: Ubuntu 22.04 This is the recommended data, you can vary the capacity of the servers at your discretion

Last updated