1.0 KiB
1.0 KiB
Wallet And Signing Lab
This lab is for disposable development wallets only.
Do not use:
- real seed phrases
- hardware wallet recovery words
- funded private keys
- exchange account keys
Commands
./jeannie blockchain-wallet instructions
./jeannie blockchain-wallet new
export PRIVATE_KEY=0x...
./jeannie blockchain-wallet address
./jeannie blockchain-wallet sign-message "homelab devnet login"
What To Learn
- A private key controls an address.
- A signature proves control of a private key without revealing it.
- A transaction signature authorizes state change on a specific chain.
- Chain IDs matter because they prevent replay across networks.
- Seed phrases and private keys are secrets, not configuration.
Safe Practice Flow
- Start the devnet with
./jeannie blockchain-devnet up. - Use one of Anvil's printed dev private keys or generate a disposable key.
- Derive the address.
- Sign a harmless message.
- Verify the address and signature with Foundry/Cast experiments.
- Throw away the key when done.