Documentation
¶
Index ¶
- func NewWallet(t testing.TB, rt *runtime.Runtime, cfg *config.Config, state state.State, ...) wallet.Wallet
- func NewWalletWithOptions(t testing.TB, rt *runtime.Runtime, wCfg WalletConfig, state state.State, ...) wallet.Wallet
- type Backend
- func (b *Backend) GetNetOwner(_ context.Context, netID ids.ID) (fx.Owner, error)
- func (b *Backend) GetOwner(_ context.Context, ownerID ids.ID) (fx.Owner, error)
- func (b *Backend) GetUTXO(_ context.Context, chainID, utxoID ids.ID) (*lux.UTXO, error)
- func (b *Backend) UTXOs(_ context.Context, sourceChainID ids.ID) ([]*lux.UTXO, error)
- type WalletConfig
- type WalletFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Backend ¶
type Backend struct {
// contains filtered or unexported fields
}
func (*Backend) GetNetOwner ¶
type WalletConfig ¶
type WalletFactory ¶
type WalletFactory struct {
// contains filtered or unexported fields
}
func NewWalletFactory ¶
func NewWalletFactoryWithAssets ¶
func NewWalletFactoryWithAssets( rt *runtime.Runtime, cfg *config.Config, state state.State, luxAssetID ids.ID, ) *WalletFactory
NewWalletFactoryWithAssets creates a wallet factory with explicit asset IDs
func (*WalletFactory) NewWallet ¶
func (w *WalletFactory) NewWallet(keys ...*secp256k1.PrivateKey) (builder.Builder, signer.Signer)
Click to show internal directories.
Click to hide internal directories.