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

galacticcouncil/HydraDX-math

Folders and files

NameName
Last commit message
Last commit date
Sep 9, 2022
Dec 13, 2022
Dec 16, 2022
May 25, 2023
Jun 3, 2022
Oct 3, 2022
May 25, 2023
May 25, 2023
Dec 9, 2020
Sep 9, 2022
Oct 10, 2022
Jan 6, 2023
Nov 11, 2020

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