@parity/ethkey.js

0.2.2 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @parity/ethkey.js

Weekly Downloads

58

Version

0.2.2

License

GPL-3.0

Last publish

Collaborators

  • vincecorsica
  • stefan-sopic
  • wirednkod
  • nachopalparity
  • pepo
  • mcornholio
  • dvdplm
  • paritytech-ci
  • parity-jacogr
  • jacogr
  • paritytech
  • kianenigma