Back to Timeline
NFTMay 2022 - Oct 2022

Project Mandala

NFT Smart Contract & Merkle-Based Allowlist System

Project Mandala is a smart contract infrastructure project built with Solidity and Hardhat. It features an ERC-721A implementation for gas-efficient batch minting, a Merkle tree-based allowlist system using merkletreejs and keccak256 for on-chain verification, and OpenZeppelin's battle-tested contract libraries. The contract supports multi-phase minting with configurable supply and pricing per phase.

Project Mandala screenshot

Tech Stack

SolidityHardhatERC-721AOpenZeppelinTypeScriptMerkle Tree

Category

NFT
PeriodMay 2022 - Oct 2022

Core Contribution

Architected the entire smart contract infrastructure including the ERC-721A implementation for gas-efficient batch minting. Designed and implemented the Merkle tree-based allowlist system using merkletreejs and keccak256, reducing gas costs by ~60% compared to on-chain storage. Built comprehensive Hardhat test suites with Waffle and Chai for contract verification.

Project Overview

A premium NFT collection smart contract featuring a multi-phase launch strategy (OG, Whitelist, Public) with dynamic pricing and supply management. The smart contract was audited and deployed on Ethereum mainnet, utilizing ERC-721A for optimized gas consumption during batch mints.

Technical Highlights

01

ERC-721A implementation for gas-optimized batch minting

02

Merkle tree-based allowlist verification using merkletreejs & keccak256

03

OpenZeppelin contract integration for battle-tested security

04

Multi-phase minting with configurable pricing logic

05

Comprehensive Hardhat test suite with TypeChain type generation

Visual Gallery

Project Mandala screenshot 1