How to Create and Deploy an NFT Smart Contract in 10 Minutes

Travis Reeder
GoChain
Published in
4 min readMar 9, 2021

--

Non-Fungible Tokens (NFTs) are all the rage right now and as a developer, you might be wondering how you can create your own NFTs. This article will explain how to do it in the simplest way possible so you’ll be up and running in just a few minutes.

We’ll use the standard OpenZeppelin ERC721 contracts that are the gold standard of smart contracts.

There are various tools for deploying smart contracts, but for this article we’re going to use the web3 CLI tool as it’s the quickest and easiest tool to compile and deploy contracts.

Get Your Environment Set Up

The following stuff just has to be done once, then you can deploy and interact as much as you want without doing this stuff again.

Install the CLI tool

This one liner will install the tool so you can start using it right away. Feel free to read the install.sh code if you’re worried what it’s doing.

curl -LSs https://raw.githubusercontent.com/gochain/web3/master/install.sh | sh

Set the network

We’re going to use GoChain here so we don’t have to pay $100 to deploy the contract then then $50 to mint every NFT. With GoChain, we’ll only have to pay a…

--

--

Travis Reeder
GoChain

Founder, CTO at GoChain - Building and breaking things