2017 © Pedro Peláez
 

library ethereum-contract-monitoring

image

sfortop/ethereum-contract-monitoring

  • Tuesday, July 24, 2018
  • by sfortop
  • Repository
  • 1 Watchers
  • 1 Stars
  • 181 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

php ethereum transaction monitoring

all scripts work with Redis list and put result to own list to next processing, (*1)

  • block-announcer - read last announced block and announces next pack of blocks to parse
  • block-reader - read transactions from announced blocks
  • transaction-reader - read transactions info from previous list
  • transaction-checker - check if transactions are belong to contract
  • transaction-announcer - pass checked transaction to RabbitMQ, (*2)

    RabbitMQ configuration passed by env variables, (*3)

    'host' => getenv('PGTW_RMQ_HOST')?: 'rabbitmq', 'port' => getenv('PGTW_RMQ_PORT')?: 5672, 'login' => getenv('PGTW_RMQ_USER') ?:'guest', 'password' => getenv('PGTW_RMQ_PASS') ?:'guest',, (*4)

    Redis configuration passed by env variables, (*5)

    'host' => getenv('PGTW_REDIS') ?: 'redis', 'port' => getenv('PGTW_REDIS_PORT') ?: '6379', 'db' => getenv('PGTW_REDIS_DB') ?: '2',
    geth node configuration, (*6)

    'host' => parse_url(getenv('ETHEREUM_NODE_URL'))['host'] ?? null,, (*7)

The Versions