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:

master state management hydration Nuxt usestate

Nuxt state management and hydration with useState

useState can effectively replace ref in many scenarios and prevent Nuxt hydration mismatches that can lead to unexpected behavior and errors.

Yan Sun
Jan 20, 2025 ⋅ 8 min read
React Native List Components: FlashList, FlatList, And More

React Native list components: FlashList, FlatList, and more

Explore the evolution of list components in React Native, from `ScrollView`, `FlatList`, `SectionList`, to the recent `FlashList`.

Chimezie Innocent
Jan 16, 2025 ⋅ 4 min read
Building An AI Agent For Your Frontend Project

Building an AI agent for your frontend project

Explore the benefits of building your own AI agent from scratch using Langbase, BaseUI, and Open AI, in a demo Next.js project.

Ivaylo Gerchev
Jan 15, 2025 ⋅ 12 min read
building UI sixty seconds shadcn framer ai

Building a UI in 60 seconds with Shadcn and Framer AI

Demand for faster UI development is skyrocketing. Explore how to use Shadcn and Framer AI to quickly create UI components.

Peter Aideloje
Jan 14, 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