JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 31
  • Score
    100M100P100Q35665F
  • License See LICENSE.TXT. Copyright (c) 2014-2018, MyMonero.com. All rights reserved.

Functions to encode and decode base58 strings for monero operations

Package Exports

  • @xmr-core/xmr-b58

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@xmr-core/xmr-b58) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@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


import { encode, decode } from "@xmr-core/xmr-b58";
const hexStr = "0x....";
const b58Str = encode(hexStr);

Installation


Install @xmr-core/xmr-b58 by running:

yarn add @xmr-core/xmr-b58

License


The project is licensed under the MIT license.