EthereumPrivateKeySignatureProvider

Description

Sign using a private key outside of a wallet

Usage

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

Constructor Paramters

Name
Type
Required?
Description

signatureParameter

Signing method and private key

Types and Interfaces

ISignatureParameters

Name
Type
Required?
Description

method

Signing method

privateKey

string

Private key

Types.Signature.METHOD

Name
Value

ECDSA

'ecdsa'

"Vanilla" ECDSA

ECDSA_ETHEREUM

'ecdsa-ethereum'

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

Last updated