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.
Click to show internal directories.
Click to hide internal directories.