Skip to content

Helper to add images and meta-data into IPFS in the approved ERC-721 format

Notifications You must be signed in to change notification settings

blockrockettech/erc721-ipfs-uploader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

erc721-ipfs-uploader

Install

npm install

Run

Requires a CSV file of data and related images folder

npm run start

ERC721 Metadata JSON Schema

From EIP-721

{
    "title": "Asset Metadata",
    "type": "object",
    "properties": {
        "name": {
            "type": "string",
            "description": "Identifies the asset to which this NFT represents",
        },
        "description": {
            "type": "string",
            "description": "Describes the asset to which this NFT represents",
        },
        "image": {
            "type": "string",
            "description": "A URI pointing to a resource with mime type image/* representing the asset to which this NFT represents. Consider making any images at a width between 320 and 1080 pixels and aspect ratio between 1.91:1 and 4:5 inclusive.",
        }
    }
}

For example:

{
    "name": "number 1",
    "description": "one specimen",
    "image": "https://ipfs.infura.io/ipfs/QmV1kPDRbVLabA1MNHVdFjTAfwzgebcpNY1od5exPCALEu"
}

About

Helper to add images and meta-data into IPFS in the approved ERC-721 format

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published