Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StellarService ¶
type StellarService interface { GetTrustlines(ctx context.Context, address string) ([]xdr.Asset, error) FundCredit(ctx context.Context, request *entities.FundCreditRequest) (string, error) FundMinions(ctx context.Context) error GetAccount(ctx context.Context, accountID string) (txnbuild.Account, error) SubmitTx(ctx context.Context, transactionXDR string) (string, error) }
StellarService accounts for any services related to Stellar network
func NewStellarService ¶
func NewStellarService(config *configs.FaucetServer) StellarService
NewStellarService initializes a new StellarService instance
Click to show internal directories.
Click to hide internal directories.