0.0.2 • Published 1 year ago

@kondor-finance/zky-crypto-utils v0.0.2

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 year ago

Zky wallet Crypto Utils

Crypto utilities for managing bitcoin embedded wallets.

Usage

npm install @KondorFinance/zky-crypto-utils

import { getKeySeedFromBIP322Signature, getETHSeedMnemonics } from '@KondorFinance/zky-crypto-utils';

// Deterministically derives a key seed from a BIP322 signature.
const keySeed = getKeySeedFromBIP322Signature(BIP322signature);

// Converts an entropy string into a mnemonic phrase according to the BIP39 standard.
const mn = getETHSeedMnemonics(keySeed)

Functions

function getKeySeedFromBIP322Signature(BIP322Signature: string): string;
function getETHSeedMnemonics(entropy: string): string;

License

Apache License 2.0

Copyright (c) 2024 Kondor Finance, Ltd.