Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/manifoldfinance/gas-service
Gas pricing service
https://github.com/manifoldfinance/gas-service
defi ethereum gas gas-pricing gwei oracle smart-contracts
Last synced: about 1 month ago
JSON representation
Gas pricing service
- Host: GitHub
- URL: https://github.com/manifoldfinance/gas-service
- Owner: manifoldfinance
- Created: 2021-04-13T05:28:57.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-04-18T13:13:22.000Z (over 3 years ago)
- Last Synced: 2024-05-19T00:36:39.057Z (8 months ago)
- Topics: defi, ethereum, gas, gas-pricing, gwei, oracle, smart-contracts
- Language: TypeScript
- Homepage:
- Size: 176 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Gas Service Pricing
> Gas Pricing Information Service
## Development
```bash
docker image build -t manifoldfinance/gas-service .
```## Usage
```bash
docker container run -p 1234:80 -e ETHEREUM_URL=http://localhost:8545 manifoldfinance/gas-service
```## Configuration
### Healthcheck
- interval - DURATION (default: 30s)
- timeout - DURATION (default: 30s)
- start-period - DURATION (default: 0s)
- retries - DURATION (default: 3)Interval - specifies the time between the health check for the application
container. it waits for the specified time from one check to another.Timeout - specifies the time that the health check waits for a response to
consider the status of the container. For example, if we define 30 seconds and
our server doesn’t respond within 30 seconds, then it’s considered as failed.Start-period - specifies the number of seconds the container needs to start;
health check will wait for that time to start.Retries - specifies the number of consecutive health check failures required to
declare the container status as unhealthy. Health check will only try up to the
specified retry number. If the server fails consecutively up to the specified
times, it is then considered unhealthy.