/mad-mints

Improves the speed of (minting) transactions approach on Solana.

Primary LanguageTypeScriptMIT LicenseMIT

Mad Mints Logo

Mad Mints

Improves the speed of minting NFTs transaction. With this approach, you'll be able to handle high demand and experience incredible UX.

Named "Mad Mints".

Experimental purpose only. Codes and documents are unofficial, in my opinion.

Original Source

Quote from Mad Armani 🎒 Twitter

Tweet

He found this approach and named "Mad Mints".
If you need to ask this brand, please contact to him.

Compare the speed of Mint Standard and Mad Mints movies

  • mint 100 NFTs
  • progress 1% = mint 1 NFT

Standard

completed in 47 sec.

standard.mp4

Mad Mints

completed in 3 sec.

mad-mints.mp4

Summary

Prerequisite

  • User scenario: many users(e.g. 10K users) mint an NFT on Mint Site. Provider try to improve transaction speed(UI/UX) when users mint.
  • Provider hasn't known Mint Address and User Address in advance.

Directories

anchor

Speed test for send transaction(send SOL and mint NFTs) using local validator.
Check sample codes first.

queue

Queue system for mint NFT using Quirrel.
If you need to build queue system, check this.

packages

Utility scripts(e.g. create durable nonce). Call this packages(specifically dist directory) from anchor and queue scripts.
Note: this is local npm package(private mode).

docs

Anatomy of Mad Mints. Conclusion(Pros/Cons and use-case) ,transaction process flow and directory structure of example codes.
Anatomy of Mad Mints(Google Slides)

Setup and Run

Look at each directories.

Note

Please set sleep or retry for rate limit in Mainnet. Make sure to check your Custom RPC.

Logo

Mad Mints fun art logo by shiroperu.