Always, when I try to send parameters for the constructor function I use a migration file and where I´m trying to deploy the contract, add the parameters...Something like that:
var OVXET = artifacts.require("./OVXET.sol");
module.exports = function(deployer) {
deployer.deploy(OVXET, 1000000000, "OVXET", "OVX", accounts[1], accounts[2]);
}
But in this case...how I have to send the accounts? I want the same accounts that I am using the test files. Have I to incorporate a var initialized with web3.accounts?
Solution:
var accounts = web3.eth.accounts;
Is there another way to implement this task?