deposit

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2022 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Overview

Package deposit provides functions to create deposit data files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMessageSigningRoot added in v0.5.0

func GetMessageSigningRoot(pubkey eth2p0.BLSPubKey, withdrawalAddr string, network string) ([32]byte, error)

GetMessageSigningRoot returns the deposit message signing root created by the provided parameters.

func MarshalDepositData

func MarshalDepositData(msgSigs map[eth2p0.BLSPubKey]eth2p0.BLSSignature, withdrawalAddr, network string) ([]byte, error)

MarshalDepositData serializes a list of deposit data into a single file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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