I need help migrating the governance and interaction contract using Truffle.
Emmm, you can have a look at the Truffle Documentation: Truffle | Overview - Truffle Suite
And what's the error did you meet?
I used the following in my 2_deploy_contract.js:
const HilsdorfEarth = artifacts.require("HilsdorfEarth");
const PureToken = artifacts.require("PureToken");
module.exports = function (deployer) {
deployer.deploy(HilsdorfEarth, PureToken, "0xAaa7cCF1627aFDeddcDc2093f078C3F173C46cA4");
};
my smart contract I used the governance one and created another ERC20 with the vote delimitation.
What parameters should I enter?
invalid address (argument="address", value=undefined, code=INVALID_ARGUMENT, version=address/5.0.5) (argument="_token", value=undefined, code=INVALID_ARGUMENT, version=abi/5.0.7).
In the _token option of the governance contract should I enter the name of my ERC20?