UNPKG

eip-712

Version:

Tiny library with utility functions that can help with signing and verifying EIP-712 based messages

9 lines (7 loc) 221 B
import { encode as encodeAbi } from '@findeth/abi'; /** * Encode the values with the provided types. */ export const encode = (types: string[], values: unknown[]): Uint8Array => { return encodeAbi(types, values); };