2021-06-11
3958
#blockchain#js libraries
Adebola Adeniran
54453
Jun 11, 2021 ⋅ 14 min read

How to create NFTs with JavaScript

Adebola Adeniran Hi! I'm Adebola! I'm a full-stack React/Node.js and Ruby on Rails engineer from Nigeria. I mentor junior developers via the Google Developer Program, and I'm a regular contributor to some of the most widely read programming blogs. You can follow me on Twitter @debosthefirst.

Recent posts:

Implementing React Islands In Static Web Applications

Implementing React Islands in static web applications

React Islands integrates React into legacy codebases, enabling modernization without requiring a complete rewrite.

Nelson Michael
Jan 28, 2025 ⋅ 4 min read

Onlook: A React visual editor

Onlook bridges design and development, integrating design tools into IDEs for seamless collaboration and faster workflows.

Jude Miracle
Jan 27, 2025 ⋅ 8 min read
A Comprehensive Guide To JavaScript Generators

A comprehensive guide to JavaScript generators

JavaScript generators offer a powerful and often overlooked way to handle asynchronous operations, manage state, and process data streams.

Fimber Elemuwa
Jan 24, 2025 ⋅ 8 min read
​​Solving Micro-Frontend Challenges With Module Federation

​​Solving micro-frontend challenges with Module Federation

webpack’s Module Federation allows you to easily share code and dependencies between applications, helpful in micro-frontend architecture.

Peter Aideloje
Jan 23, 2025 ⋅ 7 min read
View all posts

10 Replies to "How to create NFTs with JavaScript"

  1. Great Tutorial! Thanks! Just what I needed. However, something to note: when using npm – 1. name can no longer contain special characters (“~’!()*”)

    So you have to take out the ‘ in npm i -D @nomiclabs/hardhat-ethers ‘ethers@^5.0.0’ or else you get a full ERR! message that it’s not found. Should update it to make it easier for newer programmers.

  2. Cheers man! Fantastic article, super helpful for new blockchain developers. One quick question:

    If I wanted to upload a folder of NFTs all at once & I had a folder of JSON files, how would my minting function change? i.e. how could I make the mint function go from one JSON to another with the same IPFS hash?

  3. Hi
    Ethers install step returns an error

    npm ERR! code E404
    npm ERR! 404 Not Found – GET https://registry.npmjs.org/%27ethers – Not found
    npm ERR! 404
    npm ERR! 404 ”[email protected]” is not in the npm registry.
    npm ERR! 404 Your package name is not valid, because
    npm ERR! 404 1. name can no longer contain special characters (“~’!()*”)
    npm ERR! 404
    npm ERR! 404 Note that you can also install from a
    npm ERR! 404 tarball, folder, http url, or git url.

  4. Awesome. I’ve been looking for such tutorial for a while. Gonna bookmark this page for future purposes 😀 Thanks Adebola!

    1. Ok here goes , as a musician with tech background , I more comfortable using these tools before I use a service , really got me excited thanks!

Leave a Reply