paritytech/ethkey-js

Name: ethkey-js

Owner: Parity Technologies

Description: Parity-compatible recovery phrase / private key utilities

Created: 2017-08-08 14:05:19.0

Updated: 2018-04-22 22:58:28.0

Pushed: 2017-08-14 09:20:08.0

Homepage: null

Size: 84

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Parity ethkey.js

Ethereum keys generator, compatible with rust codebase.

Installation

$ npm i @parity/ethkey.js --save

API
phraseToWallet (String key)

Returns a Promise of an object containing secret, public and address as hex-encoded, 0x prefixed Strings.

verifySecret (String secret)

Returns a Promise of a boolean. Verifies that a given secret is valid. Secret should be 32 bytes encoded as hex with 0x prefix.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.