How to deploy a ERC-721 token on Avalanche with OpenZeppelin

1. Setting up Metamask

  • 0xa869 for Fuji Testnet
  • 0xa86a for Mainnet

2. Acquiring faucet tokens

3. Creating NFT token with Remix

import “https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC721/presets/ERC721PresetMinterPauserAutoId.sol";
  • the ability for holders to burn (destroy) their tokens
  • a minter role that allows for token minting (creation)
  • a minter role that allows stopping all token transfers
  • token ID and URI auto-generation

4. Deployment

{
“id”: 0,
“description”: “My NFT”,
“external_url”: “https://forum.openzeppelin.com/t/create-an-nft- and-deploy-to-a-public-testnet-using-truffle/2961”,
“image”: “https://twemoji.maxcdn.com/svg/1f40e.svg",
“name”: “My NFT 0”
}

5. Minting NFT

6. Adding NFT token to Metamask

--

--

--

Professional validator, taking part in major testnets and running mainnets.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

How to design File storage and synchronization service such as Google drive and Dropbox.

Web Application Programming Interface(API)

App or Website? A Guide to Deciding the Platform for Your Next Idea

How consistency makes the difference

Running a GUI Program in Docker Container

Linked List — InsertAt

Must Needed Features in pancakeswap Clone Script

Type Hinting in Python

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ivan Staker

Ivan Staker

Professional validator, taking part in major testnets and running mainnets.

More from Medium

bountyblok on WAX — DECEMBER 2021 UPDATE

How Zero-Interest SETUSD Loans Work in Setheum — Islamic DeFi 101 | Muhammad-Jibril B.A.

Knottscary Farm

The Fellas Roadmap Update #1