suite

package module
v0.23.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 7, 2023 License: AGPL-3.0 Imports: 1 Imported by: 0

README

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version = "unknown"

Version that can be used by commands. It is set by the linker during build.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL