--- tags: Product --- # Pokemol V2 Metadata store Migrate metadata into a single table for all networks - Model and test for decentralized store in the next step - Enable more efficient management and ops - Enable network switching in app ### Single table - airtable or dynamo? - boost activation data is in airtable - secure post/put with cors? local dev? - handle in the lambda as we do now - what if single address is on multiple networks - create2? ### Single end point to get moloch metadata /metadata/:contractAddress sample: ```json= { "id": "0xbd6fa666fbb6fdeb4fc5eb36cdd5c87b069b24c1", "purpose": "Grants", "name": "Raid Guild", "description": "⚔️A dao for builders to form Raid Parties and team up on epic boss fights (open source web3 projects). Pledge Tribute: 1 weth for 10 shares ", "network": "mainnet", "boosts": { "customTheme": { "primaryColor": "#fff", "bgImg": "" }, "transmutation": { "exchangeRate": "0.5", "paddingNumber": 10000, "burnRate": 0.25, "minCap": 1, "maxCap": 2.5, "contributionRoundPerc": 0.1, "githubRepo": "https://github.com/HausDAO" } } } ``` ### Effort #### api - export and import data to new table - adjust lambdas to point at single table #### daohaus - update endpoints - orphan flow - will we need an orphan table or can we move to local storage? - txprocessor for this? #### pokemol - change endpoint on metadata query, remove boost query - query on address to get network - what does hub default to?