Last active
December 30, 2021 09:28
-
-
Save zapkub/dad4a5b50d5d2d34a9170fee43b1e8d6 to your computer and use it in GitHub Desktop.
export phantom wallet secret key to solana cli system keypair format
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm install -g bs58 | |
BS58_SECRET=<YOUR_SECRET> NODE_PATH="$(npm config get prefix)/lib/node_modules" node -e "console.log(new Uint8Array(require('bs58').decode(process.env.BS58_SECRET)))" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment