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

Vanity address generator #411

Conversation

jerryarmstrong
Copy link

This is untested as I have no availability of a mobile device.

:)

@jerryarmstrong jerryarmstrong requested a review from a team as a code owner August 4, 2023 20:23
@jerryarmstrong jerryarmstrong requested review from allenan, matthewcarlreetz and elsie-c and removed request for a team August 4, 2023 20:23
while (!done){
let keypair, address
const { keypair: kp, address: addr } = await Keypair.fromMnemonic(mnemonic, netType)
if (addr.b58.includes(vanity)){
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You probably want to do .startsWith?

Also this is using helium address but you probably care more about the resulting solana address.

@@ -60,6 +60,7 @@ export default {
'To import your existing Helium wallet, enter its <havelockBlue>12</havelockBlue> or <jazzberryJam>24</jazzberryJam> word security key.',
title: 'Import\nWallet',
wordEntry: {
vanity: 'You\'re so vain you probably think this field is about you...',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Put an actual description here so people know what it does lol

@staccDOTsol
Copy link

I'll be back here in a jiffy

@ChewingGlass
Copy link
Contributor

Closing this for lack of activity.

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

Successfully merging this pull request may close these issues.

3 participants