Documentation
¶
Index ¶
- func CreateAddr(t *testing.T, name, password string, kb crkeys.Keybase) (sdk.AccAddress, string)
- func CreateAddrs(t *testing.T, kb crkeys.Keybase, numAddrs int) (addrs []sdk.AccAddress, seeds, names, passwords []string)
- func GetConfig() *tmcfg.Config
- func InitClientHome(t *testing.T, dir string) string
- func InitializeTestLCD(t *testing.T, nValidators int, initAddrs []sdk.AccAddress, minting bool) (cleanup func(), valConsPubKeys []crypto.PubKey, valOperAddrs []sdk.ValAddress, ...)
- func Request(t *testing.T, port, method, path string, payload []byte) (*http.Response, string)
- func ServeCommand(cdc *codec.Codec, registerRoutesFn func(*RestServer)) *cobra.Command
- type AddrSeed
- type AddrSeedSlice
- type RestServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAddr ¶ added in v0.19.0
CreateAddr adds an address to the key store and returns an address and seed. It also requires that the key could be created.