github.com/0xPolygon/supernets2-node@v0.0.0-20230711153321-2fe574524eaa/docs/components/account_keystore.md (about)

     1  # Generating an Account Keystore file:
     2  
     3  This file contains your Ethereum L1 private key, but it will be encrypted at rest using a password of your choice. The ZKEVM Node - depending on which operating mode it's set up - will use this file in conjunction with the password to authorize L1 transactions.
     4  
     5  ```bash
     6  docker run --rm hermeznetwork/supernets2-node:latest sh -c "/app/supernets2-node encryptKey --pk=[your private key] --pw=[password to encrypt file] --output=./keystore; cat ./keystore/*" > account.keystore
     7  ```
     8  
     9  **NOTE**:
    10  
    11  - Replace `[your private key]` with your Ethereum L1 account private key
    12  - Replace `[password to encrypt file]` with a password used for file encryption. This password must be passed to the Node later on via env variable (`ZKEVM_NODE_ETHERMAN_PRIVATEKEYPASSWORD`)