remove node_modules and .gitignore them

This commit is contained in:
2023-11-24 14:40:32 -05:00
parent 5f6e638903
commit a74d7b91b8
8963 changed files with 1 additions and 874175 deletions
-13
View File
@@ -1,13 +0,0 @@
// keys.ts
import { schnorr } from "@noble/curves/secp256k1";
import { bytesToHex } from "@noble/hashes/utils";
function generatePrivateKey() {
return bytesToHex(schnorr.utils.randomPrivateKey());
}
function getPublicKey(privateKey) {
return bytesToHex(schnorr.getPublicKey(privateKey));
}
export {
generatePrivateKey,
getPublicKey
};