delphi

Crates.iodelphi
lib.rsdelphi
version0.0.5
sourcesrc
created_at2019-12-20 16:40:07.674012
updated_at2021-08-30 18:27:01.006163
descriptionOracle feeder service (presently supporting Terra)
homepage
repositoryhttps://github.com/iqlusioninc/delphi
max_upload_size
id190976
size241,001
Shella Stephens (Shella)

documentation

README

Sagan

Build Status Safety Dance MSRV Apache 2.0 Licensed Gitter Chat

About

Oracle feeder service (presently supporting Terra). Currently delphi is used in production by iqlusion and has been integrated with Tendermint KMS' transaction signer. Detailed architecture available here.

Terra 🌏🔗:

Sources

Following exchanges are supported:

Alpha Vantage

This source requires an API key. Request key from Alpha Vantage then add to following config file.

Currencylayer

This source requires an API key. Request key from Currencylayer then add to following config file.

Config

Create config with touch delphi.toml then add your relevant network configuration.

# Example Delphi configuration file

# Listen address configuration
[listen]
addr = "127.0.0.1"
port = 3822
protocol = "http"

# HTTPS client configuration
# [https]
# proxy = "https://webproxy.example.com:8080" # send outgoing requests through proxy

# Network configuration: blockchains for which oracle service is provided
[network.terra]
chain_id = "columbus-4"
feeder = "terra1..."
validator = "terravaloper1..."
fee = { denom = "Ukrw", amount = "356100", gas = "200000" }

# Source configuration: exchanges where price information is gathered from
[source.alphavantage]
# Get API key here (quick-and-simple form): https://www.alphavantage.co/support/#api-key
apikey = "api key goes here"

Operating Systems

  • Linux (recommended)

Code of Conduct

We abide by the Contributor Covenant and ask that you do as well.

For more information, please see CODE_OF_CONDUCT.md.

License

Copyright © 2019 iqlusion

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Commit count: 158

cargo fmt