UNPKG

@coinbase/cdp-sdk

Version:

SDK for interacting with the Coinbase Developer Platform Wallet API

4 lines (2 loc) 125 B
import { createHash } from "crypto"; export const hash = (data: Buffer) => createHash("sha256").update(data).digest("hex");