Skip to main content

Signing

class Signing
Methods

constructor

new Signing()

Cannot be constructed.

Methods

signTransaction

static

Prefix and Sign a binary payload using the given Ethers wallet or signer.

Returns: Promise<string>

PARAMETERTYPEOPTIONALDEFAULTDESCRIPTION
messageBytesUint8Array
chainIdstringThe ID of the Vocdoni blockchain deployment for which the message is intended to
walletOrSignerWallet | Signer

signRaw

static

Sign a binary payload using the given Ethers wallet or signer.

Returns: Promise<string>

PARAMETERTYPEOPTIONALDEFAULTDESCRIPTION
requestUint8Array
walletOrSignerWallet | Signer

Resources

Guides
Soon

Tutorials
Soon

Copyright © 2024 Vocdoni, Inc. All rights reserved.