I am new to solidity :)
I try to create a general contract which its attributes are known at run-time.
Suppose we have the following contract:
contract Product{
string name;
uint price;
constrcutor(string memory _name, uint _price){
name = _name;
price = _price;
}
}
And for the sake of simplicity I would like to create different Product contracts in the tests.
I know that I have to migrate the contract before deploy it, but really - no idea.
I try hard, excuse for me being newbie, I really have no idea how to do it or how to google it :(