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

freshmint

Package Overview
Dependencies
Maintainers
3
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

freshmint

The minty fresh way to launch an NFT project.

  • 0.5.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
14
Maintainers
3
Weekly downloads
 
Created
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

Package last updated on 18 Dec 2022

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