Skip to content

adamant-api / index / makeKeypairFromHash

Function: makeKeypairFromHash() ​

ts
function makeKeypairFromHash(hash): KeyPair;

Defined in: src/helpers/keys.ts:17

Derives the established ADM Ed25519 keypair from a 32-byte seed hash.

Parameters ​

ParameterType
hashBuffer

Returns ​

KeyPair

Released under the GPL-3.0 License.