Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nftgen

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nftgen

## metadata To use medata command we need a file called `nftgen.json` ```bash npx nftgen metadata ``` ### metadata configuration To configure metadata create an object inside `nftgen.json` based on template, the following one are the system accepted and

  • 0.0.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

nftgen

metadata

To use medata command we need a file called nftgen.json

npx nftgen metadata

metadata configuration

To configure metadata create an object inside nftgen.json based on template, the following one are the system accepted and its attributes:

single

template: string represented as "single"
folder: string folder name to generate metadata inside out/{folder},
image: string image on IPFS of NFT repeat for all,
description: string description of NFT item repeat for all,
title: string title of NFT repeat for all but append with index "{title} #{index}",
size: number quantity of NFTs metadata to generate,
external_url: string collection site,
attributes: array with objects with
trait: string attribute of NFT
value: string value of NFT attribute

singleIMX

template: string represented as "singleIMX"
folder: string folder name to generate metadata inside out/{folder},
owner_address: string ether address of NFT receiver
size: number quantity of NFTs metadata to generate,
image: string image on IPFS of NFT repeat for all,
animation_url: string animation of NFT repeat for all,
youtube_url: string youtube video of NFT repeat for all,
name: string name of NFT repeat for all but append with index "{name} #{index}",
description: string description of NFT item repeat for all,
external_url: string collection site,
attributes: array with objects with
trait: string attribute of NFT
value: string value of NFT attribute

FAQs

Package last updated on 03 Apr 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc