Skip to content

ERC-721 implementation with Solidity using Hardhat

License

Notifications You must be signed in to change notification settings

jorsh/solidity-nft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NFT implementation with ERC-721

This is a basic implementation of the token ERC-721 using Hardhat.

Steps to compila and deploy the contract

  1. Create a new .env file in solidity-nft folder and add these:
ALCHEMY_API_KEY_URL=""  // Get this from your Alchemy project (https://dashboard.alchemyapi.io/)
PRIVATE_KEY="" // In Metamask, go to Account Details > Export Private Key
  1. Run these lines in a command line:
npx hardhat compile
npx hardhat run scripts/deploy.js --network rinkeby

If it worked, the contract address should be printed.

Example

A sample contract was deployed to Rinkeby: https://rinkeby.etherscan.io/address/0x9C9807e02B9600fBF1B249F3cacFc4728fd3BfF4

About

ERC-721 implementation with Solidity using Hardhat

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published