Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

galacticcouncil/HydraDX-math

Repository files navigation

hydraDX-math-helpers

example workflow GitHub tag (latest by date)

A collection of utilities to make performing liquidity pool calculations more convenient.

Development

This crate uses the rug crate for arbitrary precision math in tests which depends on GMP under the hood. You will thus need to install the dependencies in order to be able to run the tests.

For Debian based systems

sudo apt install diffutils gcc m4 make

should do the trick.

See the rug docs here