In Truffle's documentation, it says DeployedAddresses.sol
is how Truffle identifies and stores the addresses of contracts published to the blockchain via truffle migrate
.
How does this file work, and what does it look like? If I publish an Adoption
contract, how does Truffle know that the word Adoption
in truffle console
refers to that contract?