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 2 replies

Comment options

You must be logged in to vote
2 replies
@jxom
Comment options

jxom Jul 10, 2024
Maintainer

Answer selected by jxom
@dakom
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants