@exodus/solana-web3.js
Version:
Solana Javascript API
5 lines (4 loc) • 382 B
TypeScript
import * as secp256k1 from '@noble/secp256k1';
export declare const ecdsaSign: (msgHash: Parameters<typeof secp256k1.signSync>[0], privKey: Parameters<typeof secp256k1.signSync>[1]) => [Uint8Array, number];
export declare const isValidPrivateKey: (privateKey: number | bigint | (string | Uint8Array)) => boolean;
export declare const publicKeyCreate: typeof secp256k1.getPublicKey;