Terra Documentation
  • Docs
  • Whitepaper
  • Agora
  • GitHub

›GUIDES

Overview

  • Introduction
  • Columbus-3 Mainnet

Terra Protocol

  • How Terra Works
  • Developer Guide
  • MODULE SPECS

    • Auth
    • Bank
    • Supply
    • Distribution
    • Staking
    • Slashing
    • Oracle
    • Market
    • Treasury
    • Governance

User Manual

    NODE SOFTWARE

    • Installation
    • User Guide
    • Light Client Daemon
    • terracli Reference
    • Ledger Nano Support
    • Production Settings
    • Join a Network
    • Deploy a Testnet

Validator Handbook

  • Introduction
  • Validator FAQ
  • GUIDES

    • Getting Started
    • Security Best Practices
    • Exchange Rate Oracle

Contribute

  • Contribution guidelines for Terra Core
  • Help to translate

Exchange Rate Oracle

This document is a basic guide for validators on how to set up an automatic system to periodically vote for the exchange rate of Luna, an important responsibility for validators.

Introduction

With the Columbus-3 release, every active validator must participate in the Exchange Rate Oracle, voting periodically for the active Exchange Rate of Luna, and not participating in the Oracle process is now a slashing condition.

Exchange Rate Feeder Software

The Terra Core team has provided a reference implementation of a program that pulls the exchange rate of Luna from exchanges and periodically submits it in prevotes and votes following the Voting Procedure. It is available here.

In addition, several validators have created alternate feeder implementations:

  • bharvest's

Guidelines for writing your own feeder

Here are some important things to remember when writing your own Luna exchange rate feeder implementation:

  • It may be tempting to design a new pricing model other than getting exchange data direct. Keep in mind that you will be penalized for not voting within the Reward Band of your peer validators, consensus is key!
Last updated on 12/1/2019
← Security Best PracticesContribution guidelines for Terra Core →
  • Introduction
  • Exchange Rate Feeder Software
    • Guidelines for writing your own feeder
Terra Documentation
Docs
Getting Started (or other categories)Guides (or other categories)API Reference (or other categories)
Community
User ShowcaseStack OverflowProject ChatTwitter
More
BlogGitHubStar
Follow @terra_money
© 2019 Terra