Code Monkey home page Code Monkey logo

mintdapp's Introduction

https://boredapemint.netlify.app

home

home

#To run the dapp Locally

npm run dev

Try running some of the following tasks:

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;

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

mintdapp's People

Contributors

lumbrazoe873 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

mintdapp's Issues

Polygon adaptation

Good afternoon, tell me how to convert the entire project to a polygon matic network.? what changes need to be made to the project?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.