turtlecoin-wallet-upgrader

0.0.2 • Public • Published

turtlecoin-wallet-upgrader-js

A Javascript module that wraps wallet-upgrader into an easily useable function in javascript.

Warning: this module is very large (~28mb) because it needs to include 3 binaries. The macOS binary has been removed for now due to wallet-upgrader not working on mac, bringing the module size down a bit, but it will be re-added at a later date.

installing

yarn add turtlecoin-wallet-upgrader
npm i turtlecoin-wallet-upgrader

usage

// call this import anything you'd like
import convertWallet from 'turtlecoin-wallet-upgrader'

// will return 0 if converted successfully, 1 if otherwise
convertedSuccessfully = convertWallet('/path/to/wallet', 'password');

The path parameter takes both a relative and absolute path. Mac is currently unsupported.

/turtlecoin-wallet-upgrader/

    Package Sidebar

    Install

    npm i turtlecoin-wallet-upgrader

    Weekly Downloads

    0

    Version

    0.0.2

    License

    GPL-3.0

    Unpacked Size

    15.1 MB

    Total Files

    6

    Last publish

    Collaborators

    • extrahash