test

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package test contains utilities for generating random ethereum accounts and addresses.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Keystore

func Keystore() *keystore.KeyStore

Keystore returns the currently set keystore for tests.

func NewRandomAddress

func NewRandomAddress(rnd *rand.Rand) ethwallet.Address

NewRandomAddress creates a new random ethereum address.

func NewTmpWallet

func NewTmpWallet() *keystore.Wallet

NewTmpWallet creates a wallet that uses a unique temporary directory to store its keys.

Types

This section is empty.

Jump to

Keyboard shortcuts

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