Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] NFTPort API Addition - Upload Metadata Directory To IPFS #31

Closed
thepeanutgalleryandco opened this issue Mar 9, 2022 · 1 comment · Fixed by #32
Closed
Assignees
Labels
enhancement New feature or request

Comments

@thepeanutgalleryandco
Copy link
Owner

Summary

Add a new script for collection contracts that will allow users to upload a metadata json directory instead of uploading the files one by one.

Basic example

Take the build/json directory, then add all the file paths into an array and then upload that array of files to IPFS.

Motivation

This will allow users to make use of the code base for image generation as well as uploads in an automated way, while handling the one off APIs via the NFTPort website itself.

@thepeanutgalleryandco thepeanutgalleryandco added the enhancement New feature or request label Mar 9, 2022
@thepeanutgalleryandco thepeanutgalleryandco self-assigned this Mar 9, 2022
@thepeanutgalleryandco
Copy link
Owner Author

Added a new script uploadMetas_directory.js script under the utils/nftport/ directory. This script will allow users to upload their metadata json folders to IPFS in a single API call instead of individual API calls. This is needed when users want to make use of NFTPort's new collection contracts.

@thepeanutgalleryandco thepeanutgalleryandco linked a pull request Mar 15, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

Successfully merging a pull request may close this issue.

1 participant