microservice-ethereum-worker-sender

command
v0.0.0-...-2ac5be2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2024 License: GPL-3.0 Imports: 19 Imported by: 0

README

microservice-ethereum-worker-sender

Receives batched transactions from AMQP and calls the reward function on chain.

Environment variables

Name Description
FLU_WORKER_ID Worker ID used to identify the application in logging and to the AMQP queue.
FLU_DEBUG Toggle debug messages produced by any application using the debug logger.
FLU_AMQP_QUEUE_ADDR AMQP queue address connected to to receive and send messages down.
FLU_ETHEREUM_CONTRACT_ADDR Address of the ethereum contract to call.
FLU_ETHEREUM_HTTP_URL URL to use to chat to an Ethereum RPC node.
FLU_ETHEREUM_WORKER_PRIVATE_KEY Private key to use to sign transfers paying out users.
FLU_ETHEREUM_GAS_LIMIT Gas limit to use on bad chains. Should be used on Ropsten with 8000000.
FLU_ETHEREUM_HARDHAT_FIX If set to true, then a fix should be used to use the last block's gas limit.
FLU_ETHEREUM_AMQP_QUEUE_NAME Queue name to receive messages from the server down.

Building

make build

Testing

make test

Docker

make docker

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL