dexter-calculations
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

dexter-calculations

This library performs a number of important calculations related to the Tezos Dexter contract's entrypoints. It is useful for any application wants to send operations to a Dexter contract like a dApp, wallet, arbitrage bot, etc.

This only has one dependency: big-integer. Most functions input types are number and most return the following types: null, number (float) or big-integer.

Examples

Look at ./index.test.js.

Loading in the browser

You should be able to load dist/index-mobile.min.js directly into an html file and it creates a global object dexterCalculations.

const dexterCalculations = require('dexter-calculations');
dexterCalculations.xtzToTokenXtzInput(2000000, 38490742927, 44366268, 8);

Readme

Keywords

none

Package Sidebar

Install

npm i dexter-calculations

Weekly Downloads

1

Version

1.2.0

License

none

Unpacked Size

177 kB

Total Files

14

Last publish

Collaborators

  • felixls