# orbiter-util

> ```bash import OBUT from 'orbiter-util'; const obut = new OBUT(); const { actualSend } = obut.util.calculateAmount(tradingPair, new BigNumber(inputValue).multipliedBy(10 ** tradingPair.fromChain.decimals)); console.log("actualSend ===", actualSend); const

Latest version **1.0.10** (published 2023-08-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install orbiter-util
pnpm add orbiter-util
yarn add orbiter-util
bun add orbiter-util
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.10 |
| Published | 2023-08-14 |
| First published | 2023-07-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=14.0.0 |
| Dependencies | 5 |
| Unpacked size | 199.3 KB |
| Known vulnerabilities | 0 (+23 in 1 direct dependencies) |
| Install scripts | no |
| Author | skywell |
| Maintainers | rldwzl |

## Links

- npm: https://www.npmjs.com/package/orbiter-util
- npm.io page: https://npm.io/package/orbiter-util

## Dependencies (5)

- [web3](https://npm.io/package/web3.md) ^1.7.3
- [axios](https://npm.io/package/axios.md) ^0.26.1
- [ethers](https://npm.io/package/ethers.md) ^5.6.4
- [bignumber.js](https://npm.io/package/bignumber.js.md) ^9.0.2
- [@loopring-web/loopring-sdk](https://npm.io/package/@loopring-web/loopring-sdk.md) ^3.5.18

## Recent versions

- 1.0.10 (latest) — 2023-08-14
- 1.0.9 — 2023-08-04
- 1.0.8 — 2023-08-04
- 1.0.7 — 2023-08-04
- 1.0.6 — 2023-08-01
- 1.0.5 — 2023-08-01
- 1.0.4 — 2023-08-01
- 1.0.3 — 2023-08-01
- 1.0.2 — 2023-08-01
- 1.0.1 — 2023-08-01
- 1.0.0 — 2023-07-28
- 0.1.0 — 2023-07-28

## README

# Orbiter Util
## Ex
```bash
import OBUT from 'orbiter-util';
const obut = new OBUT();
const { actualSend } = obut.util.calculateAmount(tradingPair, new BigNumber(inputValue).multipliedBy(10 ** tradingPair.fromChain.decimals));
console.log("actualSend ===", actualSend);
const res = await obut.util.sendTransaction(tradingPair, actualSend, "");
console.log('res ====', res);
```

---
_Source: https://npm.io/package/orbiter-util · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
