This is a tool to derive a Solana private key and Address from a mnemonic phrase using the Omni/Steakwallet derivation path.
You need to have proto tool version manager installed. See: https://moonrepo.dev/proto
curl -fsSL https://moonrepo.dev/install/proto.sh | bashOpen up your terminal and CD into a place where you would like to store the repository folder (Desktop as an example)
cd ~/DesktopClone down the repository
git clone git@github.com:stakekit/solana-pk-export.gitCD into the project
cd solana-pk-export/Install relevant tools (node, npm, and pnpm)
proto useInstall dependencies
pnpm installIn the terminal, while in the ~Desktop/solana-pk-export folder, run
node main.js "ENTER YOUR MNEMONIC HERE"The private key and account id should be logged in the console. Example:
Private key: xxxx
Account id (Address): xxx