5 releases

0.0.5 Aug 30, 2021
0.0.3 Aug 25, 2021
0.0.2 Jun 26, 2021
0.0.1 Jun 24, 2021
0.0.0 Dec 20, 2019

#4 in #terra

Apache-2.0

98KB
2.5K SLoC

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.

Dependencies

~30–45MB
~828K SLoC