so i made a contract named "Voting" with Remix IDE and a constructor with arguments for this contract
i called the contract by doing this :
var Contractabi = web3.eth.contract(contract Abi from Remix)
var vote = Contractabi.at(Smart contract @ in REMIX );
so until now everything works fine ! but now i need to call the smart with it constructor with arguments
i found few methods like this one :
var MyContract = web3.eth.contract(abiArray);
// deploy new contract
var contractInstance = MyContract.new([constructorParam1] [, constructorParam2], {data: '0x12345...', from: myAccount, gas: 1000000});
but it did not work for me ! How could i call My smart contract constructor with arguments in REMIX from my web3.eth.contract ! Thanks :D
Thanks :D