Skip to content

garyghayrat/Road2Web3-pfp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project URL

https://road2web3-pfp.surge.sh/

Setup in Local Environment

Clone and cd into directory

git clone https://github.com/garyghayrat/Road2Web3-pfp.git

cd Road2Web3-pfp

npm install

Create a .env file in the root of the project

touch .env

Add the following data to .env

PRIVATE_KEY=<Metamask private key>
POLYGON_URL=<full Alchemy endpoint URL>

Compiling contracts

npx hardhat compile

Deploy contracts locally

npx hardhat run scripts/deploy.js

Deploy to Polygon Mumbai testnet

npx hardhat run scripts/deploy.js --network mumbai

How to run the app and start minting

1. From the root of the project

    cd docs/
    
2. Install the front-end:

    npm install
    
3. Run the frnt-end:

    npm run start

Now you're ready to mint!!

Additional Resources

Faucet: https://faucet.polygon.technology/

Polygon Mumbai testnet RPC setup: https://docs.polygon.technology/docs/develop/metamask/config-polygon-on-metamask/

Open an Alchemy account to acquire an Alchemy Mumbai Polygon: https://www.alchemy.com/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published