3.0.0 • Published 3 years ago

console-labs-upload-nft v3.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

upload-nft

npm i -g console-labs-upload-nft

or

yarn global add console-labs-upload-nft

The directory should follows this tree structure

After you're in the images directory, simply run upload-nft command, it will do 3 things:

  1. It will scan the images to collect all .png and .gif files and upload them to the IPFS, what we get back is a CID (Content Identifier - a hash) of that image/gif
  2. When it got the CID back it will modify the matching json metadata file and insert a new property image
  3. After all metadata files is updated, it will pack the metadata directory into a CAR file and upload that to IPFS as well - which will return another CID back to us.

In the end we will have one single CID that is the root of all metada files and in each file there is an updated ipfs url to the image

3.0.0

3 years ago

1.2.0

3 years ago

1.1.0

3 years ago

2.0.0

3 years ago

1.3.0

3 years ago

1.0.0

3 years ago