1Hive / fluid-proposals-service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fluid Proposals Service

Deprecated: 1Hive services were migrated to our cron repository.

A small service that calls the sync method of the FluidProposals contract periodically.

Running

Clone the repository and install the dependencies.

The service is configured using environment variables that you need to supply when you run npm start.

Configuration

  • ETH_URI: The Ethereum node to connect ot.
  • CONTRACT_ADDRESS: The FluidProposals contract address.
  • MNEMONIC: The mnemonic for the private key the bot should use when sending transactions.
  • INTERVAL: The interval at which the service will check if it can update the oracle, and if so, do it. Defaults to 1 hour.

About


Languages

Language:JavaScript 95.5%Language:Dockerfile 3.9%Language:Procfile 0.6%