Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/n8maninger/hostd-pin
Pins Sia storage provider prices to fiat currency values
https://github.com/n8maninger/hostd-pin
Last synced: about 1 month ago
JSON representation
Pins Sia storage provider prices to fiat currency values
- Host: GitHub
- URL: https://github.com/n8maninger/hostd-pin
- Owner: n8maninger
- License: mit
- Created: 2024-02-28T16:48:32.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2024-02-28T17:10:50.000Z (11 months ago)
- Last Synced: 2024-06-21T03:24:59.724Z (7 months ago)
- Language: Go
- Size: 23.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hostd pin
Pins storage, ingress, and egress price to fiat values## Build
```sh
go build -o bin/ ./cmd/hpind
```## Configure
```yaml
currency: usd
frequency: 5m
threshold: 0.05
prices:
storage: 1.00
ingress: 1.00
egress: 1.00
hosts:
- address: http://localhost:9980/api
password: sia is cool
```## Run
```sh
hpind --config config.yaml
```