hex

package
v0.0.0-...-b2c4e65 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add0x

func Add0x(input string) string

func ByteArrToHex

func ByteArrToHex(input []byte) string

Converts byte array to hex string

func HexToByteArr

func HexToByteArr(input string) ([]byte, error)

Converts input hex string to byte array

func PublicKeyToAddress

func PublicKeyToAddress(publicKeyStr string) (common.Address, error)

func Remove0x

func Remove0x(input string) string

func StringTo32ByteArray

func StringTo32ByteArray(input string) [32]byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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