provider

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package provider provides a thin wrapper around the chain-sdk's provider REST client, integrating it with the akt context system's auth configuration.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGatewayClient

func NewGatewayClient(
	ctx context.Context,
	cctx sdkclient.Context,
	addr sdk.AccAddress,
	providerURL string,
	authType string,
	kr sdkkeyring.Keyring,
) (rest.Client, error)

NewGatewayClient creates a provider gateway REST client configured for the given auth method. authType is "jwt" (default) or "mtls".

Types

This section is empty.

Jump to

Keyboard shortcuts

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