ethereum

package
v0.0.0-...-5cade42 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HashAndSign

func HashAndSign(sp *chainService.ScreenedPacket) (hsh, signature string, err error)

HashAndSign returns the hash of screenedPacket and the signature of the attestor on the hash of screenedPacket

func SetUpPrivateKey

func SetUpPrivateKey(keyPair *config.KeyPair) error

SetUpPrivateKey accepts the private-key address pair and validates the private key to set the pKey

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL