This is a demo app on how to deploy your own NFT to the Ethetereum Blockchain. The full article is available on the LogRocket blog - How to deploy your own NFT with JavaScript.
In this demo, we'll make this picture I took of The Osun River into an NFT:
To get started, follow the instructions below
-
Clone this repo using
git clone https://github.com/onedebos/the-osun-river-nft.git
-
Create a
.env
file. Then, follow the steps in the tutorial to obtain your- METAMASK_PRIVATE_KEY
- API_URL (From Alchemy)
- METAMASK_PUBLIC_KEY
Once done with the Getting started bit, you can run this example using the steps below.
- npm install (install all the required packages)
npx hardhat compile
- to compile the smart contract.npx hardhat run scripts/deploy.js --network ropsten
- to run the deploy scripts and deploy the contract to the Ropsten Testnet.- node scripts/mint-nft.js
- Metamask
- Alchemy
- IPFS
- JavaScript
- Solidity
- Currently, there are no automated tests avaailable for this project. This will be implemented at a later date.
๐ค Adebola Adeniran
Give a โญ๏ธ if you like this project!
This project is MIT licensed.