github.com/btcsuite/btcd@v0.24.0/docs/controlling.md (about)

     1  # Controlling and querying btcd via btcctl
     2  
     3  btcctl is a command line utility that can be used to both control and query btcd
     4  via [RPC](http://www.wikipedia.org/wiki/Remote_procedure_call).  btcd does
     5  **not** enable its RPC server by default;  You must configure at minimum both an
     6  RPC username and password or both an RPC limited username and password:
     7  
     8  * btcd.conf configuration file
     9  
    10  ```bash
    11  [Application Options]
    12  rpcuser=myuser
    13  rpcpass=SomeDecentp4ssw0rd
    14  rpclimituser=mylimituser
    15  rpclimitpass=Limitedp4ssw0rd
    16  ```
    17  
    18  * btcctl.conf configuration file
    19  
    20  ```bash
    21  [Application Options]
    22  rpcuser=myuser
    23  rpcpass=SomeDecentp4ssw0rd
    24  ```
    25  
    26  OR
    27  
    28  ```bash
    29  [Application Options]
    30  rpclimituser=mylimituser
    31  rpclimitpass=Limitedp4ssw0rd
    32  ```
    33  
    34  For a list of available options, run: `$ btcctl --help`