Socket
Socket
Sign inDemoInstall

freshmint

Package Overview
Dependencies
22
Maintainers
3
Versions
35
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    freshmint

The minty fresh way to launch an NFT project.


Version published
Weekly downloads
13
decreased by-18.75%
Maintainers
3
Created
Weekly downloads
 

Readme

Source

Freshmint CLI

npm

freshmint is the main entrypoint for developers using Freshmint.

It is a CLI tool that provides commands to generate new NFT projects, deploy contracts, mint NFTs and manage live drops.

Development

To develop this package, start by installing all dependencies from the root of this repository:

npm install

Next, build all packages in watch mode:

This ensures that @freshmint/core is also up to date, which freshmint depends on.

# Keep this process running in your terminal!
npm run dev

Use npm link to create a global symlink to the fresh command:

# Run this from the packages/freshmint directory
cd packages/freshmint

npm link

You can now execute the fresh command on your system:

# Start a new test project to use during development
fresh start test-project

Package Structure

  • index.ts - the main entrypoint for the fresh command.
  • commands - one file for each available CLI command. All new commands should go here.
  • mint - code for minting NFTs, parsing metadata and pinning assets to IPFS.
  • flow - a wrapper around the Flow CLI for executing Cadence transactions and scripts.
  • generate - code and templates for generating a Freshmint project.
  • devServer - a lightweight dev server that runs the Flow Emulator and FCL Dev Wallet.

Key Dependencies

  • @freshmint/core supplies:
    • All Cadence templates for contracts, transactions and scripts.
    • Logic for constructing metadata schemas, parsing and hashing metadata values.
  • commander is the framework for creating commands and parsing CLI arguments.

Keywords

FAQs

Last updated on 18 Dec 2022

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc