Timeline for Deploying Multiple Contracts with Truffle
Current License: CC BY-SA 4.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 17, 2022 at 15:04 | comment | added | matank001 | If you inherit from a contract you don’t need to deploy it, the implementation is in your contract. And yes, deployer.deploy gets the contract and it’s constructor arguments. | |
Oct 17, 2022 at 14:34 | comment | added | Blockpain | Thanks for the response. Greatly appreciate the help. If you get around to it maybe you can clarify on thing for me.... In the module.exports section, for each contract it looks like you are doing... deployer.deploy() and inside the parenthesis you are putting both the contract name and anything that goes in the constructor for that particular contract. Is that correct? Also if i import the open zeppelin ERC20 contract (not interface) in one of my contracts do I also need to deploy it since its not an interface? Thanks again. | |
Oct 16, 2022 at 22:35 | history | answered | matank001 | CC BY-SA 4.0 |