0xsooki / erc721-rarity-generator Goto Github PK
View Code? Open in Web Editor NEWGenerates rarity ranking based off a contract address, using Alchemy
License: MIT License
Generates rarity ranking based off a contract address, using Alchemy
License: MIT License
Please answer the following questions for yourself before submitting an issue.
Why are you requesting this feature
It would be beneficial if the application could process local files:
Describe the solution you'd like
Additional menu where we could select a JSON data from within the application's folder for processing
Have a pull request template so it makes contributing to this project easier
Currently it does not have a pull request template
Create a pull_request_template.md which includes the following text:
## Related Issues
<!--
Please use this format link issue numbers: Fixes #123
https://docs.github.com/en/free-pro-team@latest/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword
-->
## Types of changes
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [ ] I have read the **CONTRIBUTING** document.
- [ ] My code follows the code style of this project.
- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly.
- [ ] I have added tests to cover my changes.
- [ ] All new and existing tests passed.
## Description
### Fixes # (issue)
(Required)Tag the issue number this PR is related to
<!-- Please do not leave this blank -->
## Screenshots/Recordings
<!-- screenshots -->
## Added tests?
- [ ] Yes
- [ ] No, because they aren't needed
## Added to documentation?
- [ ] README
- [ ] Documentation
- [ ] No Documentation Needed
## Checklist:
- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] Any dependent changes have been merged and published in downstream modules
Please answer the following questions for yourself before submitting an issue.
Why are you requesting this feature
It would be nice if we could prompt the user with a few choices after connecting to the DB and setting up the base folder.
I was thinking of the following options:
Break down the src folders content into multiple files/folders to improve readability
The current repo is not too understandable as everything is stored in 2-3 files
Break the codebase down into smaller more understandable chunks & functions. Adding comments to document the functions are welcome as well
We have some typos in the PR template.
Please answer the following questions for yourself before submitting an issue.
Why are you requesting this feature
At the moment when we save the data to the DB we do it one by one, which in my opinion is not very efficient.
Describe the solution you'd like
We should prepare all the records first, then use .insertMany
to insert all the records into the DB in one go.
Be able to select between multiple rarity calculation methods (see methods here)
As of now it only uses one method
The users should be able to select between the different rarity calculation methods & generate the data based on the selected method
Please answer the following questions for yourself before submitting an issue.
develop
branchDescribe the bug
When creating the data file, in the attributes section, the values belonging to trait_types
always gets assigned a null
value
To Reproduce \
npm run build
Expected behavior \
The values of each trait should be present
Screenshots
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.
Have the option to save the data in a database, preferably MongoDB but open to any other options
Currently it only saves the data locally in a JSON file in the build folder
Create the option to be able the save the generated data in a database. The file should be added to the database for later to be queried or used in applications
Please answer the following questions for yourself before submitting an issue.
Is your feature request related to a problem? Please describe.
Without logging, we do not have any indication regarding the application's state.
Why are you requesting this feature
It would be nice to see a loader instead of all the currently processed data in the console.
We can also show the loader only in cases where we don't want logging.
The variable for logging could also come from the .env
for easier handling.
I would also have some idea how we can make the CLI more user friendly.
Describe the solution you'd like
I can add a loading indicator while the application is processing NFT data.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.