clients

package
v0.0.0-...-aab2ea4 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2025 License: Apache-2.0, Apache-2.0 Imports: 0 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Clients package

Packages here provide client libraries for accessing the ecosystem of Stellar services.

  • horizonclient - programmatic client access to Horizon (use in conjunction with txnbuild)
  • stellartoml - parse Stellar.toml files from the internet
  • federation - resolve federation addresses into stellar account IDs, suitable for use within a transaction
  • horizon (DEPRECATED) - the original Horizon client, now superceded by horizonclient

See GoDoc for more details.

For developers: Adding new client packages

Ideally, each one of our client packages will have commonalities in their API to ease the cost of learning each. It's recommended that we follow a pattern similar to the net/http package's client shape:

A type, Client, is the central type of any client package, and its methods should provide the bulk of the functionality for the package. A DefaultClient var is provided for consumers that don't need client-level customization of behavior. Each method on the Client type should have a corresponding func at the package level that proxies a call through to the default client. For example, http.Get() is the equivalent of http.DefaultClient.Get().

Documentation

Overview

Package clients contains sub-packages that provide client access to the various stellar services.

Directories

Path Synopsis
Package horizonclient provides client access to a Horizon server, allowing an application to post transactions and look up ledger information.
Package horizonclient provides client access to a Horizon server, allowing an application to post transactions and look up ledger information.
Package stellarcore is a client library for communicating with an instance of stellar-core using through the server's HTTP port.
Package stellarcore is a client library for communicating with an instance of stellar-core using through the server's HTTP port.

Jump to

Keyboard shortcuts

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