# turtlecoin-base58

> TurtleCoin Base58

Latest version **0.0.8** (published 2020-08-17) · GPL-3.0 license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install turtlecoin-base58
pnpm add turtlecoin-base58
yarn add turtlecoin-base58
bun add turtlecoin-base58
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.0.8 |
| Published | 2020-08-17 |
| First published | 2020-01-20 |
| Weekly downloads | 0 |
| License | GPL-3.0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 46.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | The TurtleCoin Developers |
| Maintainers | brandonlehmann |
| Keywords | TurtleCoin, Base58 |

## Links

- npm: https://www.npmjs.com/package/turtlecoin-base58
- Repository: https://github.com/turtlecoin/node-turtlecoin-base58
- Homepage: https://base58.turtlecoin.dev
- Issues: https://github.com/turtlecoin/node-turtlecoin-base58/issues
- npm.io page: https://npm.io/package/turtlecoin-base58

## Dependencies (1)

- [big-integer](https://npm.io/package/big-integer.md) ^1.6.48

## Recent versions

- 0.0.8 (latest) — 2020-08-17
- 0.0.7 — 2020-07-19
- 0.0.6 — 2020-04-25
- 0.0.5 — 2020-02-18
- 0.0.4 — 2020-01-24
- 0.0.3 — 2020-01-24
- 0.0.2 — 2020-01-24
- 0.0.1 — 2020-01-20

## README

![image](https://user-images.githubusercontent.com/34389545/35821974-62e0e25c-0a70-11e8-87dd-2cfffeb6ed47.png)

# TurtleCoin Base58 Helper

[![NPM](https://nodei.co/npm/turtlecoin-base58.png?downloads=true&stars=true)](https://nodei.co/npm/turtlecoin-base58/)

![Prerequisite](https://img.shields.io/badge/node-%3E%3D6-blue.svg) [![Documentation](https://img.shields.io/badge/documentation-yes-brightgreen.svg)](https://base58.turtlecoin.dev) [![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/turtlecoin/turtlecoin-base58/graphs/commit-activity) [![License: GPL-3.0](https://img.shields.io/badge/License-GPL--3.0-yellow.svg)](https://github.com/turtlecoin/turtlecoin-base58/blob/master/LICENSE) [![Twitter: TurtlePay](https://img.shields.io/twitter/follow/_TurtleCoin.svg?style=social)](https://twitter.com/_TurtleCoin)

This package contains the code paths necessary to encode and/or decode hexadecimal strings to Base58 encoding and back again.

## Installation

```bash
npm install turtlecoin-base58
```

## Initialization

### TypeScript

```typescript
import { Base58 } from 'turtlecoin-base58'

const rawAddress = Base58.decode('TRTLv3JRA772aBveLkCjG5jDvoUdKwa8YDsgLxCczL1oPei42XAMLE5QLRHM2c8oo5WbwLiB5ky7mDP7WGB53Jnp2ygHEomu3qa')

const address = Base58.encode(rawAddress)
```

### JavaScript

```javascript
const Base58 = require('turtlecoin-base58').Base58

const rawAddress = Base58.decode('TRTLv3JRA772aBveLkCjG5jDvoUdKwa8YDsgLxCczL1oPei42XAMLE5QLRHM2c8oo5WbwLiB5ky7mDP7WGB53Jnp2ygHEomu3qa')

const address = Base58.encode(rawAddress)
```

### Documentation

You can find the full documentation for this library [here](https://base58.turtlecoin.dev)

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