@xmr-core/xmr-b58
Version:
Functions to encode and decode base58 strings for monero operations
37 lines (22 loc) • 519 B
Markdown
# @xmr-core/xmr-b58
@xmr-core/xmr-b58 contains functions to encode and decode base58 strings for monero operations
## Features
- Encoding hex strings to base58 strings
- Decoding base58 strings to hex strings
## Usage
```ts
import { encode, decode } from "@xmr-core/xmr-b58";
const hexStr = "0x....";
const b58Str = encode(hexStr);
```
## Installation
Install @xmr-core/xmr-b58 by running:
```sh
yarn add @xmr-core/xmr-b58
```
## License
The project is licensed under the MIT license.