Skip to content

Latest commit

 

History

History
68 lines (49 loc) · 1.86 KB

README.md

File metadata and controls

68 lines (49 loc) · 1.86 KB

ERC20 Smart Contract.

Deploy your own ERC721 Collection easily!

Created using OpenZeppelin's ERC721 and its extensions Smart Contracts.

Features:

  1. Mint
  2. Whitelist Mint - Using Merkle Root
  3. Reveal
  4. Free mint for owner
  5. Pause/Unpause
  6. Set Price
  7. Set URIs
  8. Set maximum mint per transaction
  9. Withdraw funds after sale
  10. Compatible with any NFT Marketplace

Prerequisites:

Rinkeby deployment
python3 -m pip install --user pipx
python3 -m pipx ensurepath
# restart terminal
pipx install eth-brownie
  • A free Infura Project Id key for Rinkeby Network

Instalation

Clone this repo:

git clone https://github.com/andreitoma8/ERC721-Collection
cd ERC721-Collection

Deploy to Rinkeby

  • Add a .env file with the same contents of .env.example, but replaced with your variables.

  • In scripts/deploy.py change the value of NAME, SYMBOL, COST, MAX_SUPPLY and MAX_MINT_AMOUNT_PER_TX to custom ones for your Collection.

  • Run the command:

brownie run scripts/deploy.py --network rinkeby

The script will deploy your Smart Contract and verify it on Etherscan.

To deploy to any other network change rinkeby in the command with the name of the network:

brownie run scripts/deploy.py --network [network name]

and your WEB3_INFURA_PROJECT_ID in the .env file with a Project Id for that network.

More info on how to set-up the Merkle Root whitelisting here.

Any feedback is much apreciated!
If this was helpful please consider donating:

0xA4Ad17ef801Fa4bD44b758E5Ae8B2169f59B666F

Happy hacking!