You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
package main import ( "fmt" "github.com/MarinX/btc-vanity" ) func main() { // create configuration cfg := &btcvanity.Config{ // buffered channel, more buffer, faster to find matching pattern Buffer: 5, // if you want to use testnet, set true TestNet: false, } btc := btcvanity.New(cfg) // find a patters eg adddress which starts with "ab" address, err := btc.Find("ab") if err != nil { panic(err) } // print our custom public key fmt.Printf("PUBLIC KEY\n%s\n", address.PublicKey()) // print our private key so it can be imported in most btc wallets fmt.Printf("PRIVATE KEY\n%s\n", address.PrivateKey())
#5
Open
Bond1313 opened this issue
Nov 1, 2023
· 0 comments
No description provided.
The text was updated successfully, but these errors were encountered: