Documentation
¶
Index ¶
Constants ¶
View Source
const ( // MaxEffectiveBalanceInGwei is the max effective balance MaxEffectiveBalanceInGwei phase0.Gwei = 32000000000 // BLSWithdrawalPrefixByte is the BLS withdrawal prefix BLSWithdrawalPrefixByte = byte(0) )
Variables ¶
View Source
var IsSupportedDepositNetwork = func(network core.Network) bool { return network == core.PyrmontNetwork || network == core.PraterNetwork || network == core.HoleskyNetwork || network == core.MainNetwork }
IsSupportedDepositNetwork returns true if the given network is supported
Functions ¶
func DepositData ¶
func DepositData(validationKey *core.HDKey, withdrawalPubKey []byte, network core.Network, amount phase0.Gwei) (*phase0.DepositData, [32]byte, error)
DepositData is basically copied from https://github.com/prysmaticlabs/prysm/blob/master/shared/keystore/deposit_input.go
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.