Hi,
I am writing the following command at Truffle console to create an instance of the deployed contract but I am getting the message "undefined":
Victim.deployed().then(contract => victim = contract)
undefined
truffle(ganache)> truffle version
Truffle v5.1.27 (core: 5.1.27)
Solidity v0.5.16 (solc-js)
Node v8.10.0
Web3.js v1.2.1
truffle(ganache)>
Somebody please guide me how to create an instance of contract in Truffle Console?
Zulfi.