raw

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func NewRESTClient

func NewRESTClient(restAddr string) (*restclient.HTTPAPIConsole, error)

NewRESTClient makes sure that the restAddr is formed correctly and returns a REST query.

func NewRPCClient

func NewRPCClient(addr string, timeout time.Duration) (*rpcclienthttp.HTTP, error)

NewRPCClient returns connected client for RPC queries into blockchain

Types

type Codec

type Codec struct {
	InterfaceRegistry types.InterfaceRegistry
	Marshaller        codec.ProtoCodecMarshaler
	Amino             *codec.LegacyAmino
}

func MakeCodec

func MakeCodec(moduleBasics []module.AppModuleBasic) Codec

MakeCodec registers interfaces needed for serialization

func MakeCodecConfig

func MakeCodecConfig() Codec

func MakeCodecDefault

func MakeCodecDefault() Codec

Jump to

Keyboard shortcuts

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