Skip to content

Nedick/hardhat-nft-marketplace

Repository files navigation

Rinkeby test network contract addresses:

  • NftMarketplace - 0x8e493663B678fd5eea3b36A2D99e8fAEB78FFac9
  • BasicNft - 0x67A1262E721BcbF2faaee0Be3553300176cd19B5

Getting Started

Requirements

Quickstart

git clone https://github.com/Nedick/hardhat-nft-marketplace.git
cd hardhat-nft-marketplace
yarn

Usage

Deploy:

yarn hardhat deploy

Testing

yarn hardhat test

Deployment to a testnet or mainnet

  1. Setup environment variabltes

You'll want to set your RINKEBY_RPC_URL and PRIVATE_KEY as environment variables. You can add them to a .env file.

  • PRIVATE_KEY: The private key of your account (like from metamask). NOTE: FOR DEVELOPMENT, PLEASE USE A KEY THAT DOESN'T HAVE ANY REAL FUNDS ASSOCIATED WITH IT.
  • RINKEBY_RPC_URL: This is url of the rinkeby testnet node you're working with. You can get setup with one for free from Alchemy
  1. Get testnet ETH

Head over to faucets.chain.link and get some tesnet ETH. You should see the ETH show up in your metamask.

  1. Deploy
yarn hardhat deploy --network rinkeby

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors