How do we store Listing metadata? (images, street address, unit number, BIN, etc...) Using an IPFS tag built into the constructor of the Lease contract.
Create a public storage variable inside the Lease contract that contains this hash (only replaces _streetAddress). Remember we cannot reference IPFS data inside the contract logic.
We also need an event to track creation of these hashes in the Lease Factory contract for indexing. I will write a separate issue for IPFS hash creation and assign it to myself.
How do we store Listing metadata? (images, street address, unit number, BIN, etc...) Using an IPFS tag built into the constructor of the Lease contract.
https://js.ipfs.io/
Create a public storage variable inside the Lease contract that contains this hash (only replaces _streetAddress). Remember we cannot reference IPFS data inside the contract logic.