Skip to main content

NFT Zero to Hero JavaScript Edition

In this Zero to Hero series, you'll find a set of tutorials that will cover every aspect of a non-fungible token (NFT) smart contract. You'll start by minting an NFT using a pre-deployed contract and by the end you'll end up building a fully-fledged NFT smart contract that supports every extension.

Prerequisites

To complete these tutorials successfully, you'll need:


Overview

These are the steps that will bring you from Zero to Hero in no time! 💪

StepNameDescription
1Pre-deployed contractMint an NFT without the need to code, create, or deploy a smart contract.
2Contract architectureLearn the basic architecture of the NFT smart contract and compile code.
3MintingFlesh out the skeleton so the smart contract can mint a non-fungible token.
4Upgrade a contractDiscover the process to upgrade an existing smart contract.
5EnumerationExplore enumeration methods that can be used to return the smart contract's states.
6CoreExtend the NFT contract using the core standard which allows token transfer
7ApprovalsExpand the contract allowing other accounts to transfer NFTs on your behalf.
8RoyaltyAdd NFT royalties allowing for a set percentage to be paid out to the token creator.
9Eventsin this tutorial you'll explore the events extension, allowing the contract to react on certain events.
10MarketplaceLearn about how common marketplaces operate on NEAR and dive into some of the code that allows buying and selling NFTs

Next steps

Ready to start? Jump to the Pre-deployed Contract tutorial and begin your learning journey!

If you already know about non-fungible tokens and smart contracts, feel free to skip and jump directly to the tutorial of your interest. The tutorials have been designed so you can start at any given point!

Questions?

👉 Join us on Discord and let us know in the #development channels. 👈

We also host daily Office Hours live where the DevRel team will answer any questions you may have. 🤔

Monday – Friday 11AM – 12PM Pacific (6PM – 7PM UTC)

Was this page helpful?