Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatFilter ¶
FormatFilter returns a human-readable description of the prefix/suffix lists.
Types ¶
type Output ¶
type Output struct {
Prefixes []string `json:"prefixes,omitempty"`
Suffixes []string `json:"suffixes,omitempty"`
CreatedAt time.Time `json:"createdAt"`
Wallets []Wallet `json:"wallets"`
}
Output holds the filter settings and the resulting wallets. Output holds the filter settings and the resulting wallets.
type Wallet ¶
type Wallet struct {
Index int `json:"index"`
PublicKey string `json:"publicKey"`
SecretKey string `json:"secretKey"`
}
Wallet represents a generated keypair matching the vanity filter.
func Search ¶
func Search(ctx context.Context, count int, prefixes, suffixes []string, workers int, ignoreCase, useSimilar bool) []Wallet
Search generates 'count' vanity wallets matching any of the provided prefixes/suffixes using 'workers' goroutines. Accepts a context to cancel early, ensuring partial results are flushed.
Click to show internal directories.
Click to hide internal directories.