Skip to content

Adding support for signing a digest #1474

Discussion options

You must be logged in to vote

It exists.

import { sign } from 'viem/accounts'

const signature = await sign({
  hash: '0x...',
  privateKey: '0x...'
}) 

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jxom
Comment options

Answer selected by jxom
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants