feat: use crypto-hash instead of hasha

This commit is contained in:
Justin Starry
2020-03-16 17:44:12 +08:00
committed by Michael Vines
parent bd7e802e46
commit 402c160ae9
12 changed files with 75 additions and 78 deletions

View File

@ -20,6 +20,11 @@ declare module '@solana/web3.js' {
value: number | string | Buffer | Uint8Array | Array<number>,
): PublicKey;
static isPublicKey(o: Object): boolean;
static createWithSeed(
fromPublicKey: PublicKey,
seed: string,
programId: PublicKey,
): Promise<PublicKey>;
equals(publickey: PublicKey): boolean;
toBase58(): string;
toBuffer(): Buffer;