Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DefaultNetworkInfo = NetworkInfo{
GrpcEndpoint: "localhost:9090",
LcdEndpoint: "http://localhost:1317",
TmRpcEndpoint: "http://localhost:26657",
WebsocketEndpoint: "ws://localhost:26657/websocket",
ChainID: "nibiru-localnet-0",
}
)
Functions ¶
func GetGRPCConnection ¶
Types ¶
type BroadcastClient ¶
type BroadcastClient struct {
cosmostx.ServiceClient
}
func (*BroadcastClient) BroadcastMsgs ¶
func (txclient *BroadcastClient) BroadcastMsgs()
type NetworkInfo ¶
type NibiruClient ¶
type NibiruClient struct {
ChainId string
Keyring keyring.Keyring
Tx BroadcastClient
Query QueryClient
// contains filtered or unexported fields
}
func NewNibiruClient ¶
func NewNibiruClient(chainId string, grpcConn *grpc.ClientConn) (NibiruClient, error)
type QueryClient ¶
type QueryClient struct {
ClientConn *grpc.ClientConn
Perp xperp.QueryClient
Epoch xepochs.QueryClient
Oracle xoracle.QueryClient
Wasm xwasm.QueryClient
}
func NewQueryClient ¶
func NewQueryClient( grpcConn *grpc.ClientConn, ) (QueryClient, error)
Click to show internal directories.
Click to hide internal directories.