@tacoinfra/tezos-kms
Version:
Utilize AWS KMS Keys to work with the Tezos blockchain.
11 lines (10 loc) • 365 B
TypeScript
/// <reference types="node" />
export default class TezosKmsClient {
private readonly kms;
private readonly kmsKeyId;
constructor(kmsKeyId: string, region: string);
getPublicKey(): Promise<string>;
getPublicKeyHash(): Promise<string>;
signOperation(bytes: Buffer): Promise<Buffer>;
signOperationBase58(bytes: Buffer): Promise<string>;
}