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 hide scrollbars with CSS

How to use CSS to hide scrollbars without impacting scrolling

Learn how to hide the scrollbar in popular web browsers by making use of modern CSS techniques, and dive into some interactive examples.

Fimber Elemuwa
Mar 4, 2025 ⋅ 10 min read

16 React component libraries and kits for improved UI

Discover 16 of the most useful React content libraries and kits, and learn how to use them in your next React app.

Chidume Nnamdi
Mar 4, 2025 ⋅ 16 min read
typescript vs javascript

TypeScript vs. JavaScript: Differences and use cases for each

Choosing between TypeScript and JavaScript depends on your project’s complexity, team structure, and long-term goals.

Kayode Adeniyi
Mar 4, 2025 ⋅ 4 min read
Understanding UUIDs In Node.js

Understanding UUIDs in Node.js

Generate and validate UUIDs in Node.js using libraries like `uuid`, `short-uuid`, and `nanoid`, covering UUID versions and best practices.

Ukeje Goodness
Mar 3, 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