This device is not compatible.

Mint Your Own NFT

PROJECT


Mint Your Own NFT

In this project, we'll use Solidity to write a smart contract and Brownie to deploy it. We'll learn how to overcome the problem of associating data with the token. Additionally, we’ll learn to mint our own non-fungible token (NFT).

Mint Your Own NFT

You will learn to:

Write smart contracts in Solidity.

Deploy smart contracts on a test network.

Associate data with a token using URI.

Mint an NFT.

Skills

Blockchain Development

Blockchain Deployment

Minting NFTs

Prerequisites

Fundamental understanding of Solidity

Basic understanding of Python

Technologies

Python

Brownie

Solidity

Ethereum

Project Description

Brownie is a framework commonly used to develop and test smart contracts for the Ethereum Virtual Machine (EVM). It supports Solidity and Vyper as smart contract languages. We’ll use Solidity in this project. Additionally, we’ll use some of the properties of ERC721 contracts, which are a set of trusted smart contracts.

Before we get started with the project, we must have the following:

  • An Ethereum wallet, such as MetaMask.
  • Some Ether on the Sepolia testnet.
  • An IaaS provider, such as an Infura account.
  • An account on a pinning service, such as Pinata.

In the first part of the project, we’ll create a smart contract and deploy it on the Sepolia testnet. We’ll write Python scripts to create metadata for our NFT and mint a token. In the end, we’ll create a token and view it on the OpenSea testnet.

Project Tasks

1

Set Up

Task 0: Get Started

Task 1: Add Credentials

Task 2: The Required Package

2

Smart Contract

Task 3: Create a Smart Contract

Task 4: Compile the Contract

Task 5: Deploy the Smart Contract

3

Token URI

Task 6: Create the POST Request

Task 7: Send Image to IPFS

Task 8: Send Metadata to IPFS

Task 9: Run the Script

4

Non-Fungible Token

Task 10: Create the Token

Task 11: Mint the Token

Congratulations!

has successfully completed the Guided ProjectMint Your Own NFT

Relevant Courses

Use the following content to review prerequisites or explore specific concepts in detail.