EthereumPrivateKeySignatureProvider

Description

Sign using a private key outside of a wallet

Usage

import { EthereumPrivateKeySignatureProvider } from "@requestnetwork/epk-signature";

Constructor Paramters

NameTypeRequired?Description

signatureParameter

Signing method and private key

Types and Interfaces

ISignatureParameters

NameTypeRequired?Description

method

Signing method

privateKey

string

Private key

Types.Signature.METHOD

NameValue

ECDSA

'ecdsa'

"Vanilla" ECDSA

ECDSA_ETHEREUM

'ecdsa-ethereum'

Ethereum ECDSA with the prefix "\x19Ethereum Signed Message:\n"

Last updated