package
4.3.2+incompatible
Repository: https://github.com/qbit/client.git
Documentation: pkg.go.dev

# Functions

AccountWithSecret finds an account in bundle and its associated secret and extracts them into a convenience type bundle.WithSecret.
AddAccount adds an account to the bundle.
AdvanceAccounts advances the revisions and hashes on the Bundle as well as on the specified Accounts.
AdvanceBundle only advances the revisions and hashes on the Bundle and not on the accounts.
BoxAndEncode encrypts and encodes a Bundle object.
CreateNewAccount generates a Stellar key pair and adds it to the bundle.
DecodeAndUnbox decodes the encrypted and visible encoded bundles and unboxes the encrypted bundle using PukFinder to find the correct puk.
MakeAllDevices transforms an account in a stellar1.Bundle into an all-devices account.
MakeMobileOnly transforms an account in a stellar1.Bundle into a mobile-only account.
New creates a Bundle from an existing secret key.
NewInitial creates a Bundle with a new random secret key.

# Variables

ErrNoChangeNecessary means that any proposed change to a bundle isn't actually necessary.

# Structs

AcctBoxedEncoded is the result of boxing and encoding the per-account secrets.
BoxedEncoded is the result of boxing and encoding a Bundle object.
BundleEncoded contains all the encoded fields for communicating with the api server to post and get account bundles.
WithSecret is a convenient summary of an individual account that includes the secret keys.

# Interfaces

PukFinder helps this package find puks.

# Type aliases

No description provided by the author