Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Comments

@Bond1313
Copy link

Bond1313 commented Nov 1, 2023

No description provided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant