package
0.0.0-20230925091837-55f7a6b23beb
Repository: https://github.com/xdbfoundation/go.git
Documentation: pkg.go.dev

# README

Clients package

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

  • frontierclient - programmatic client access to Frontier (use in conjunction with txnbuild)
  • digitalbitstoml - parse DigitalBits.toml files from the internet
  • federation - resolve federation addresses into digitalbits account IDs, suitable for use within a transaction
  • frontier (DEPRECATED) - the original Frontier client, now superceded by frontierclient

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().

# Packages

Package digitalbitscore is a client library for communicating with an instance of digitalbits-core using through the server's HTTP port.
No description provided by the author
No description provided by the author
Package frontierclient provides client access to a Frontier server, allowing an application to post transactions and look up ledger information.