I know how to pass an ETH address to the constructor in truffle. What is the best way to do it in Remix?
Say contract A is in Remix to create Tokens and contract B (another solidity file) is the actual Crowdsale contract.
What is the best way to send the contract address that is generated when you compile the token contract to the crowdsale's constructor?
For example here is my Constructor:
function Crowdsale(address _tokenAddress) {
require(_tokenAddress !=0);
token = Token(_tokenAddress);
}
I In truffle you pass it in to the 2_deploy_contracts.js file. How would the same be done in Remix?