harb/harb-lib/README.md
2024-04-04 22:34:16 +02:00

33 lines
343 B
Markdown

## Test
```
yarn test
```
## Import
```
yarn add harb-lib
```
then
```
import {bytesToUint256LittleEndian, uint256ToBytesLittleEndian} from 'harb-lib'
uint256ToBytesLittleEndian(3n);
```
## get Snatch List
```
import { getSnatchList } from "../helpers";
getSnatchList(<list of positions, <amount of stake>, <new tax rate>);
```