init

Creates configuration file. If TypeScript is detected, the config file will use TypeScript and be named wagmi.config.ts. Otherwise, the config file will use JavaScript and be named wagmi.config.js.

Usage

wagmi init

Options

OptionDescription
-c, --config <path>[string] path to config file
-r, --root <path>[string] root path to write config to

Preview