Skip to main content

Manage Configuration

Configuration should be managed by using config add and config remove commands. Using add command will also validate values that will be added to the configuration.


_10
flow config add <account|contract|network|deployment>
_10
flow config remove <account|contract|network|deployment>

Example Usage​


_10
flow config add account
_10
_10
Name: Admin
_10
Address: f8d6e0586b0a20c7
_10
✔ ECDSA_P256
_10
✔ SHA3_256
_10
Private key: e382a0e494...9285809356
_10
Key index (Default: 0): 0

Configuration​

  • Flag: --config-path
  • Short Flag: -f
  • Valid inputs: valid filename

Specify a filename for the configuration files, you can provide multiple configuration files by using -f flag multiple times.