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:

Build A Custom React Native Turbo Module For Android

Build a custom React Native Turbo Module for Android

Build a React Native Turbo Module for Android to access device info like model, IP, uptime, and battery status using native mobile APIs.

Emmanuel John
Feb 27, 2025 ⋅ 8 min read
how to measure round-trip time using cURL

How to measure round-trip time (RTT) using cURL

Learn how to measure round-trip time (RTT) using cURL, a helpful tool used to transfer data from or to a server.

David Omotayo
Feb 26, 2025 ⋅ 10 min read

React.memo explained: When to use it (and when not to)

React.memo prevents unnecessary re-renders and improves performance in React applications. Discover when to use it, when to avoid it, and how it compares to useMemo and useCallback.

Emmanuel John
Feb 26, 2025 ⋅ 9 min read
React useCallback: When And How To Use It For Better Performance

React useCallback: When and how to use it for better performance

Learn how React’s useCallback hook boosts performance by memoizing functions and preventing unnecessary re-renders with practical examples and best practices.

Emmanuel John
Feb 26, 2025 ⋅ 6 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