https://github.com/hardworking-toptal-dev/nft-minting-dapp-eth
NFT ERC-721 Minting app
https://github.com/hardworking-toptal-dev/nft-minting-dapp-eth
nft-minting-dapp solidity typescript
Last synced: about 1 year ago
JSON representation
NFT ERC-721 Minting app
- Host: GitHub
- URL: https://github.com/hardworking-toptal-dev/nft-minting-dapp-eth
- Owner: hardworking-toptal-dev
- Created: 2024-05-11T02:00:05.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-11T02:00:33.000Z (about 2 years ago)
- Last Synced: 2025-03-28T15:50:03.573Z (about 1 year ago)
- Topics: nft-minting-dapp, solidity, typescript
- Language: JavaScript
- Homepage: https://boredapemint.netlify.app/
- Size: 2.31 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
https://boredapemint.netlify.app


#To run the dapp Locally
### npm run dev
Try running some of the following tasks:
```shell
npx hardhat compile
npx hardhat accounts
npx hardhat clean
npx hardhat test
npx hardhat node
node scripts/sample-script.js
npx hardhat help
npx hardhat run scripts/deployContract.js --network rinkeby
npx hardhat run scripts/verifyContract.js --network rinkeby
Successfully verified contract BoredApe on Etherscan.
https://rinkeby.etherscan.io/address/0x923130181b7F075cBebFc9743D6e923646FD9148#code
npx hardhat verify --network rinkeby 0xc904d4fA240d2f13D05642D850D8803642DDEB8e
```
## Console.log data
import "hardhat/console.sol";
contract Greeter {
string private greeting;
```js
constructor(string memory _greeting) {
console.log("Deploying a Greeter with greeting:", _greeting);##
greeting = _greeting;
}
```
Deploying on mainnet
When you are done with making changes and your minting dapp is just as you wanted it is time to deploy on ethereum mainnet. To do that;
Make sure you changed all env variables with yours. And also for the network you need to chose ethereum mainnet.
Update hardhat.config.js so that as network option you use mainnet not rinkeby. hardhat
While deploying your contract with hardhat you need to use mainnet as network-name
# This command will deploy your smart contract on ethereum mainnet
npx hardhat run scripts/deployContract.js --network mainnet
# This command will verify your smart contract on mainnet etherscan
npx hardhat run scripts/verifyContract.js --network mainnet
#Tech Stack
Client: React, TailwindCSS, web3.js
Server: Alchemy, NextJS, Hardhat
https://testnets.opensea.io/Sam03
Personal Note: Auto deploy Deactivated. Eslint Disable on deploy