0.2.2 • Published 3 years ago
vapkey.js v0.2.2
Tetsy vapkey.js
Vapory keys generator, compatible with rust codebase.
Installation
$ npm i vapkey.js --save
API
phraseToWallet (String key)
Returns a Promise
of an object containing secret
, public
and address
as hex-encoded, 0x
prefixed String
s.
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.
0.2.2
3 years ago