Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/islishude/bs58js
Package bs58js creates base58 encoder/decoder functions by BigInt.
https://github.com/islishude/bs58js
base58 bitcoin
Last synced: 2 days ago
JSON representation
Package bs58js creates base58 encoder/decoder functions by BigInt.
- Host: GitHub
- URL: https://github.com/islishude/bs58js
- Owner: islishude
- Created: 2019-02-13T04:01:17.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-03-24T15:46:23.000Z (almost 3 years ago)
- Last Synced: 2023-03-03T15:18:18.082Z (almost 2 years ago)
- Topics: base58, bitcoin
- Language: TypeScript
- Homepage:
- Size: 70.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## getbs58 [![Build Status](https://travis-ci.org/islishude/bs58js.svg?branch=master)](https://travis-ci.org/islishude/bs58js)
Package getbs58 creates base58 encoder/decoder functions by BigInt.
## Usage
```typescript
import bs58 from "getbs58";const raw = "00eb15231dfceb60925886b67d065299925915aeb172c06647";
const result = bs58.encode(raw);
console.log(result);
// => 1NS17iag9jJgTHD1VXjvLCEnZuQ3rJDE9L
console.log(bs58.decode(result) === raw);
// => true
```