Hot answers tagged

1

You can use: token = await Token.new('name', 'symbol', decimals) in order to deploy and interact with a new Token instance token = await Token.at('0xSomeAddress') in order to interact with an already-deployed Token instance Depending on your Truffle version, the await before the at may be redundant. But you can leave it there in order to stay on the safe ...


Only top voted, non community-wiki answers of a minimum length are eligible