0xSooki / erc721-rarity-generator

Generates rarity ranking based off a contract address, using Alchemy
MIT License
3 stars 4 forks source link

Run addtional validation on NFTs before DB insertion #16

Closed fekete965 closed 2 years ago

fekete965 commented 2 years ago

Prerequisites

Please answer the following questions for yourself before submitting an issue.

Why are you requesting this feature I think it would be worth running validation on each item before we send data to the DB.

Describe the solution you'd like Validate the created model before populating the insertable data list. If it passes the validation we add it to the list otherwise, we save the error in a separate list. We will prompt the user about the occurred errors and present it to the user on demand.

fekete965 commented 2 years ago

I am also happy to work on this feature. :)

0xSooki commented 2 years ago

Great idea, feel free to work on it :)