Closed menduz closed 6 years ago
Use case: As a user I want to reference my ERC721/821 collectible in my XML parcel definition.
If we hardcode contract addresses, then updating all parcels if the address changes is going to be a mess. This is a plausible scenario because we are deploying proxy contracts for non ERC821 CCs, we may need to redeploy new ones with updates in the future.
We want to keep the client generic enough and avoid having specific strategies for certain collectibles.
I added a new repo for this at https://github.com/decentraland/contracts-locator.
Closing . Merged on https://github.com/decentraland/client/pull/213
As we can address contracts in the world's entities, we will need a friendly way to identify and address known contracts.
The proposed way is to deploy a smart contract that maps a lower case friendly name to a smart contract address.
(@eordano @belohlavek please complete with more detailed requirements and specifications)