dial

package
v0.0.0-...-5a53b6d Latest Latest
Warning

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

Go to latest
Published: May 3, 2026 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BitAssets

func BitAssets(ctx context.Context, host string, port int) (*bitassets.Client, error)

BitAssets creates a BitAssets sidechain client

func BitNames

func BitNames(ctx context.Context, host string, port int) (*bitnames.Client, error)

BitNames creates a BitNames sidechain client

func Bitcoind

func Bitcoind(ctx context.Context, orchestratorAddr string) (corerpc.BitcoinServiceClient, error)

EnforcerValidator creates a CUSF enforcer (validator & wallet) client. Bitcoind returns a btc-buf BitcoinService client against the orchestrator's hosted core proxy. orchestratorAddr is a full URL (config.OrchestratorAddr defaults to "http://localhost:30400"); a bare host:port also works and gets prefixed with http://. Single canonical bitcoind RPC route — no direct dial.

func CoinShift

func CoinShift(ctx context.Context, host string, port int) (*coinshift.Client, error)

CoinShift creates a CoinShift sidechain client

func EnforcerCrypto

func EnforcerCrypto(ctx context.Context, url string) (
	cryptorpc.CryptoServiceClient, error,
)

EnforcerCrypto creates a CUSF enforcer (crypto) client.

func EnforcerValidator

func EnforcerValidator(ctx context.Context, url string) (
	rpc.ValidatorServiceClient, error,
)

func EnforcerWallet

func EnforcerWallet(ctx context.Context, url string) (
	rpc.WalletServiceClient, error,
)

EnforcerWallet creates a CUSF enforcer (wallet) client.

func Photon

func Photon(ctx context.Context, host string, port int) (*photon.Client, error)

Photon creates a Photon sidechain client

func Thunder

func Thunder(ctx context.Context, host string, port int) (*thunder.Client, error)

Thunder creates a Thunder sidechain client

func Truthcoin

func Truthcoin(ctx context.Context, host string, port int) (*truthcoin.Client, error)

Truthcoin creates a Truthcoin sidechain client

Types

This section is empty.

Jump to

Keyboard shortcuts

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