Skip to content

valora-inc/hooks

Repository files navigation

Mobile Stack Hooks

GitHub License GitHub Workflow Status Codecov PRs Welcome

Mobile Stack Hooks allows developers to extend an app's functionality (e.g., the Valora wallet) by writing short programs called "hooks". These hooks are called in response to certain in-app or blockchain events and are used to provide the application with additional information and features.

Check out the Hooks documentation for more information.

Currently, this repository contains position pricing and shortcut hooks.

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 users? Please reach out to us on Discord.

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