Skip to content
This repository has been archived by the owner on Sep 28, 2023. It is now read-only.

1Hive/fluid-proposals-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.