stellar

package
v0.0.0-...-02a1da1 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2026 License: BSD-3-Clause Imports: 11 Imported by: 18 modules, 32 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.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllWalletAccounts

func AllWalletAccounts(mctx libkb.MetaContext) ([]stellar1.WalletAccountLocal, error)

AllWalletAccounts lists the accounts in the user's bundle, with one balance read from the server per account.

func DeleteAccount

func DeleteAccount(m libkb.MetaContext, accountID stellar1.AccountID) error

DeleteAccount removes a non-primary account from the user's bundle.

func ExportSecretKey

func ExportSecretKey(mctx libkb.MetaContext, accountID stellar1.AccountID) (res stellar1.SecretKey, err error)

ExportSecretKey returns the secret key of an account in the user's bundle.

func FormatAmount

func FormatAmount(mctx libkb.MetaContext, amount string, precisionTwo bool, rounding stellarnet.FmtRoundingBehavior) (string, error)

func HasAcceptedDisclaimer

func HasAcceptedDisclaimer(ctx context.Context, g *libkb.GlobalContext) (bool, error)

Types

type CreateWalletGatedResult

type CreateWalletGatedResult struct {
	HasWallet          bool // whether the user has a wallet on the server
	AcceptedDisclaimer bool // whether the user has accepted the disclaimer
}

func CreateWalletGated

func CreateWalletGated(mctx libkb.MetaContext) (res CreateWalletGatedResult, err error)

CreateWalletGated asks the server about the user's wallet. The client no longer creates wallets, so this never does.

Directories

Path Synopsis
this file is for the implementation of the frontend-requested service endpoints for wallets.
this file is for the implementation of the frontend-requested service endpoints for wallets.

Jump to

Keyboard shortcuts

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