Documentation ¶
Index ¶
- func AddPrefix(value string) string
- func DecodeHex(value string) ([]byte, error)
- func EncodeHexWithPrefix(value []byte) string
- func GenerateRandomPassword() (string, error)
- func IsWalletReady(status wallet.WalletStatus) bool
- func RemovePrefix(value string) string
- func SleepWithCancel(ctx context.Context, duration time.Duration) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncodeHexWithPrefix ¶
Encode bytes to a hex string with a 0x prefix
func GenerateRandomPassword ¶
Generates a random password
func IsWalletReady ¶
func IsWalletReady(status wallet.WalletStatus) bool
Check if the node wallet is ready for transacting
func RemovePrefix ¶
Remove a 0x prefix from a hex string if present
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.