Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( TaskName = "generate_child_wallet" TaskDescriptor = &types.TaskDescriptor{ Name: TaskName, Description: "Generates a funded child wallet.", Config: DefaultConfig(), NewTask: NewTask, } )
Functions ¶
func NewTask ¶
func NewTask(ctx *types.TaskContext, options *types.TaskOptions) (types.Task, error)
Types ¶
type Config ¶
type Config struct { PrivateKey string `yaml:"privateKey" json:"privateKey"` WalletSeed string `yaml:"walletSeed" json:"walletSeed"` RandomSeed bool `yaml:"randomSeed" json:"randomSeed"` PrefundFeeCap *big.Int `yaml:"prefundFeeCap" json:"prefundFeeCap"` PrefundTipCap *big.Int `yaml:"prefundTipCap" json:"prefundTipCap"` PrefundAmount *big.Int `yaml:"prefundAmount" json:"prefundAmount"` PrefundMinBalance *big.Int `yaml:"prefundMinBalance" json:"prefundMinBalance"` WalletAddressResultVar string `yaml:"walletAddressResultVar" json:"walletAddressResultVar"` WalletPrivateKeyResultVar string `yaml:"walletPrivateKeyResultVar" json:"walletPrivateKeyResultVar"` }
func DefaultConfig ¶
func DefaultConfig() Config
type Task ¶
type Task struct {
// contains filtered or unexported fields
}
func (*Task) LoadConfig ¶
Click to show internal directories.
Click to hide internal directories.