Documentation ¶
Index ¶
- Variables
- func BlsPublicKeyToPublicKey(blsPubKey *bls.PublicKey) (ret phase0.BLSPubKey, err error)
- func DecodeJSON(r io.Reader, dst any) error
- func HexToAddress(s string) (ret bellatrix.ExecutionAddress, err error)
- func HexToPubkey(s string) (ret phase0.BLSPubKey, err error)
- func HexToSignature(s string) (ret phase0.BLSSignature, err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrLength = errors.New("invalid length")
Functions ¶
func BlsPublicKeyToPublicKey ¶
func DecodeJSON ¶
DecodeJSON decodes a JSON string into a struct while disallowing unknown fields
func HexToAddress ¶
func HexToAddress(s string) (ret bellatrix.ExecutionAddress, err error)
HexToAddress takes a hex string and returns an Address
func HexToPubkey ¶
HexToPubkey takes a hex string and returns a PublicKey
func HexToSignature ¶
func HexToSignature(s string) (ret phase0.BLSSignature, err error)
HexToSignature takes a hex string and returns a Signature
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.