truffle console

Run a console with contract abstractions and commands available

Options

NameDescription
--network <name>Specify the network to use
--verbose-rpcLog communication between Truffle and the Ethereum client
--require, -r <file>Preload console environment from required JavaScript file
--require-noneDo not load any user-defined JavaScript into the console environment. This option takes precedence over --require, -r, and values provided for console.require in your project's truffle-config.js