Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 708 Bytes

NOTES.md

File metadata and controls

36 lines (27 loc) · 708 Bytes

Notes

Phantom Wallet Address with Solana CLI

Install Solana CLI.

# generate a file system wallet
$ solana-keygen recover 'prompt:?key=0/0' --outfile ~/.config/solana/id.json
# enter 'Secret Recovery Phrase' from Phantom Wallet
# check wallet balance
$ solana balance
# view wallet address (public key)
$ solana-keygen pubkey
> abc123
# verify public key matches private key
$ solana-keygen verify abc123
> Verification for public key: abc123: Success