Socket
Socket
Sign inDemoInstall

freshmint

Package Overview
Dependencies
19
Maintainers
16
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
Maintainers
16
Created

Readme

Source

{{ name }}

This project was generated with freshmint.

Setup

This project requires the Flow CLI.

Quick start

This project uses the Flow emulator and FCL Dev Wallet for rapid local development.

Start the development server

fresh dev

Configure your pinning service

Freshmint is compatible with NFT.Storage, Pinata and any other pinning service that implements the IPFS Remote Pinning API.

First configure your pinning service by editing .env:

NFT.Storage

Create a free NFT.Storage account to get an API key.

# .env
PINNING_SERVICE_ENDPOINT="https://nft.storage/api"
PINNING_SERVICE_KEY="Paste your nft.storage JWT token here!"

Mint your NFTs

This command mints the NFTs listed in {{ nftDataPath }}. Edit that file to add your own NFTs!

fresh mint

View the mint results

fresh dump minted.csv

Deploy on testnet

Generate a new key pair for your testnet admin account:

flow keys generate

Save the private key to your .env file:

# .env
FLOW_TESTNET_PRIVATE_KEY=xxxx

Use the Flow Faucet to create a new account with the public key.

Save the resulting address to your .env file:

# .env
FLOW_TESTNET_ADDRESS=xxxx

Deploy your contract

You can now run the project commands with the testnet flag:

flow project deploy --network testnet

Mint your NFTs and manage drops

fresh mint --network testnet

fresh start-drop 10.0 --network testnet
fresh stop-drop --network testnet

Keywords

FAQs

Last updated on 07 Oct 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