Giter VIP home page Giter VIP logo

oracle-suite's Introduction

Oracle Suite

Run Tests Release Assets

A set of tools that can be used to run Oracles.

Gofer

A tool to fetch and calculate reliable asset prices.

see: Gofer CLI Readme

Spire

A peer-to-peer node & client for broadcast signed asset prices.

see: Spire CLI Readme

Ghost

A tool used by feeds for broadcast signed prices.

see: Ghost CLI Readme

Spectre

A tool used by relays to update Oracle contracts.

see: Spectre CLI Readme

Setup pre-commit hooks

Install pre-commit

Using homebrew:

$ brew install pre-commit

Using pip:

$ pip install pre-commit

Check pre-commit version

$ pre-commit --version
pre-commit 3.3.3

Configure .pre-commit-config.yaml

  • You can create a file named .pre-commit-config.yaml
  • You can generate a very basic configuration using pre-commit sample-config
  • Or you can directly use .pre-commit-config.yaml file in the repository

Example:

# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
-   repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v3.2.0
    hooks:
    -   id: trailing-whitespace
    -   id: end-of-file-fixer
    -   id: check-yaml
    -   id: check-added-large-files

Install git hook scripts

Run pre-commit install to set up the git hooks scripts

$ pre-commit install
pre-commit installed at .git/hooks/pre-commit

Now you're ready to git commit!

Run all the files (optional)

pre-commit run --all-files

oracle-suite's People

Contributors

mdobak avatar teghnet avatar konstantinzolotarev avatar icetan avatar madumas avatar deep-quality-dev avatar jar-o avatar brianbelhumeur avatar wesleycharlesblake avatar wkampmann avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.