UNPKG

@graphprotocol/toolshed

Version:

A collection of tools and utilities for the Graph Protocol Typescript components

4 lines (2 loc) 121 B
import { ethers } from 'ethers' export const randomHexBytes = (n = 32): string => ethers.hexlify(ethers.randomBytes(n))