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:

How to eliminate render-blocking resources — CSS and JavaScript

How to eliminate render-blocking resources — CSS and JavaScript

Use Lighthouse to eliminate render-blocking resources, which block the first paint of your page, in both CSS and JavaScript.

Anna Monus
Apr 4, 2025 ⋅ 8 min read
Mocking Complex APIs With Mirage JS

Mocking complex APIs with Mirage JS

Mock complex APIs with JavaScript’s Mirage JS library including JWT authentication, relational data, role-based access control, and more.

Emmanuel John
Apr 4, 2025 ⋅ 10 min read
8 best Go web frameworks for 2025

The 8 best Go web frameworks for 2025: Updated list

Looking for the best Go frameworks? Compare the top 8 Go web frameworks for 2025, including Gin, Fiber, Echo, and Beego, with pros, cons, and performance insights.

Victor Jonah
Apr 3, 2025 ⋅ 15 min read
Making Your First Game In Excalibur.js

Game development for frontend: Building with Excalibur.js

Build your first 2D browser game using JavaScript and the Excalibur.js library, covering essential game development concepts.

Yashodhan Joshi
Apr 3, 2025 ⋅ 25 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