saepenatus
Version:
Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, mul
16 lines • 741 B
TypeScript
import { BytesLike, Signature, SignatureLike } from "@ethersproject/bytes";
export declare class SigningKey {
readonly curve: string;
readonly privateKey: string;
readonly publicKey: string;
readonly compressedPublicKey: string;
readonly _isSigningKey: boolean;
constructor(privateKey: BytesLike);
_addPoint(other: BytesLike): string;
signDigest(digest: BytesLike): Signature;
computeSharedSecret(otherKey: BytesLike): string;
static isSigningKey(value: any): value is SigningKey;
}
export declare function recoverPublicKey(digest: BytesLike, signature: SignatureLike): string;
export declare function computePublicKey(key: BytesLike, compressed?: boolean): string;
//# sourceMappingURL=index.d.ts.map