Skip to content

valora-inc/hooks

Repository files navigation

Valora Hooks

GitHub License GitHub Workflow Status Codecov PRs Welcome

Valora Hooks allows developers to extend Valora's functionality by writing short programs called "hooks". These hooks are called in response to certain in-app or blockchain events and are used to provide Valora with additional information and features.

Check out the Valora Hooks documentation for more information.

Currently, this repository contains position pricing and shortcut hooks.

Warning

It is an experimental feature and is not fully supported yet.

Developing Hooks

To develop hooks, you will need to have Node.js installed on your computer.

Setup

  1. Clone this repository to your local machine.
  2. Run yarn install to install the necessary dependencies.

Position Pricing

See the documentation for developing position pricing hooks.

Shortcuts

See the documentation for developing shortcut hooks.

Contributing

Do you have ideas for more types of hooks that would be useful for Valora users? Please reach out to us on Discord.

We welcome bug reports, feature requests, and code contributions.