Closed hantuzun closed 1 year ago
We're going to need to change the implementation on the frontend after these changes. Please inform when done. :)
The frontend only needs to change the aspect ratio; which will be square. @oytuncoban you can assume that the images are going to be square and will have smaller numbers.
We can take notes from Hypercerts' implementation: https://github.com/Network-Goods/hypercerts-protocol/blob/main/contracts
I suggest having a RegenBingoMetadata library with these external functions:
generateContractURI
function generateContractURI() external view returns (string memory)
generateTokenURI
function generateTokenURI(uint256 tokenId, uint256[9][3] numbers, bool[9][3] covered) external view virtual returns (string memory)