Hello! Tell me how can I access the compiled contracts in folders for later placement on the network using hardhat?
May 20, 2023, 5:13 PM
I am also interested in the question: How does solidity understand that I am accessing exactly the file that I need? There may be hundreds of copies of this contract online.
It can be concluded that the address to the library is indicated in the hosted smart contract, and it will understand where to import the library from
May 20, 2023, 5:25 PM
getContractFactory isn't onchain. ContractFactory is a helper class to deploy a contract
Or are you talking about the import in .sol
That is added at compile time locally. It doesn't go onchain to import anything
May 20, 2023, 5:39 PM
I still don't understand what I needπ
May 20, 2023, 5:44 PM
a good tutorial
ππ
May 20, 2023, 5:46 PM
lol maybe
hardhat-deploy objectively sucks though
without extra plugins hardhat is fine
May 20, 2023, 5:52 PM