blocktools CLI
Ethereum keystore JSON to address
blocktools example: decrypt the Web3 Secret Storage test keystore with keystore-open in a sealed run and print its Ethereum address.
Input
The Web3 Secret Storage test vector keystore, password testpassword. Put the file in ./in/ and its password in ./secrets/. Never put a real wallet on a networked machine.
Run
./blocktools run 'read-file /secrets/keystore.pw /in/keystore.json | keystore-open'
CI expects in the output
- 0x008AeEda4D805471dF9b2A5B0f38A0C3bCBA786b
Key fields print as [REDACTED]. Full recipe: input-keystore · all examples