Skip to content

Instantly share code, notes, and snippets.

@jamland
Created September 28, 2021 10:40
Show Gist options
  • Save jamland/6109baa4404b9291b2f367fe58660e7e to your computer and use it in GitHub Desktop.
Save jamland/6109baa4404b9291b2f367fe58660e7e to your computer and use it in GitHub Desktop.
Import Solana wallet from Phantom to CLI

so if you want to import one of the keys from phatom, you can run:

solana-keygen recover 'prompt:?key=0/0' --outfile ~/.config/solana/<KEYFILE>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment