Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save 1hbb/4588b474f976b9a4ee877f6dbb972d81 to your computer and use it in GitHub Desktop.

Select an option

Save 1hbb/4588b474f976b9a4ee877f6dbb972d81 to your computer and use it in GitHub Desktop.
If you want to generate solana cli keypair file from phantom seed phrase, run this
solana-keygen recover 'prompt:?key=0/0' --outfile ~/.config/solana/id.json

it will ask you for seed phrase like this: Enter your seed phrase here

[recover] seed phrase: 

Then you will see this output: Just press enter

[recover] If this seed phrase has an associated passphrase, enter it now. Otherwise, press ENTER to continue:
@mixelpixel
Copy link

@Keeermalec
Copy link

Doesn't work. It is impossible to type anything after the [recover] seed phrase prompt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment