iprotoni / erc721m

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ERC721M

ERC721M is a EVM minting protocol that enables the multi stage minting, per stage WL management, per stage supply limit, and crossmint support.

Motivation

We'd like to introduce the standard of "minting stages". At each stage, the creators can define the following properties:

  • per-stage price
  • per-stage walletLimit
  • per-stage merkleRoot
  • per-stage maxStageSupply

The composability of the stages is generic enough to enable flexible and complicated EVM minting contracts.

Build status

github ci status

npm

Tech/framework used

Built with

Features

  • Minting Stages
  • Permenent BaseURI Support
  • Non-incresing Max Total Supply Support
  • Per-stage WL Merkle Tree
  • Per-stage Max Supply
  • Global and Per-stage Limit
  • Native TypeScript and Typechain-Types Support

Installation

Provide step by step series of examples and explanations about how to get a development env running.

npm add @magiceden-oss/erc721m

Code Example

import { ERC721M, ERC721M__factory } from '@magiceden-oss/erc721m';

const contract = ERC721M__factory.connect(
  contractAddress,
  signerOrProvider,
);

API Reference

# Compile the contract
npm run build

# Get the auto generated typechain-types
./typechain-types

Tests

npm run test

We are targeting 100% lines coverage.

Security

Used By

License

MIT © MagicEden Open Source

About

License:MIT License


Languages

Language:TypeScript 72.0%Language:Solidity 27.8%Language:JavaScript 0.2%