github.com/prysmaticlabs/prysm@v1.4.4/tools/deployContract/README.md (about)

     1  ## Utility to Deploy Deposit Contract
     2  
     3  This is a utility to help users deploy deposit contract for running their own beacon chain node in a local containerized set up. To run the utility, it assumes there is a running geth node as a separate process attached to proof-of-work main chain. The utility will deploy the validator registration contract and print out the contract address. Users will pass the contract address to the beacon chain node to monitor when they have been conducted to become an active validator.
     4  
     5  ### Usage
     6  
     7  *Name:*  
     8     **deployContract** - this is a util to deploy deposit contract
     9  
    10  *Usage:*  
    11     deployContract [global options] command [command options] [arguments...]
    12  
    13  *Flags:*  
    14  - --ipcPath value          Filename for IPC socket/pipe within the datadir
    15  - --httpPath value         HTTP-RPC server listening interface (default: "http://localhost:8545/")
    16  - --passwordFile value     Password file for unlock account (default: "./password.txt")
    17  - --privKey value          Private key to unlock account
    18  - --k8sConfig value        Name of kubernetes config map to update with the contract address
    19  - --help, -h               show help
    20  - --version, -v            print the version
    21  
    22  ### Example
    23  
    24  To use private key with default RPC:
    25  
    26  ```
    27  bazel run //contracts/deposit-contract/deployContract -- --httpPath=https://goerli.prylabs.net --privKey=$(echo /path/to/private/key/file)
    28  ```
    29  
    30  
    31  ### Output
    32  
    33  ```
    34  INFO[0001] New contract deployed at 0x5275C2220C574330E230bFB7e4a0b96f60a18f02 
    35  ```