package
0.45.7-reap.sdk.v0.4.7-rc8
Repository: https://github.com/reapchain/cosmos-sdk.git
Documentation: pkg.go.dev
# Functions
ApplyMockIO replaces stdin/out/err with buffers that can be used during testing.
ApplyMockIODiscardOutputs replaces a cobra.Command output and error streams with a dummy io.Writer.
DefaultContext creates a sdk.Context with a fresh MemDB that can be used in tests.
GenerateCoinKey generates a new key mnemonic along with its addrress.
GenerateSaveCoinKey generates a new key mnemonic with its addrress.
GetRequestWithHeaders defines a wrapper around an HTTP GET request with a provided URL and custom headers An error is returned if the request or reading the body fails.
TempFile returns a writable temporary file for the test to use.
Write the given string to a new temporary file.
# Interfaces
BufferReader is implemented by types that read from a string buffer.
BufferWriter is implemented by types that write to a buffer.