This project uses:
- Metamask
- Hardhat
- Pinata
- ReactJs
- Tailwind CSS
- Solidity
- EthersJs
- Faucet
To run the project follow these steps:
-
Clone the project with the code below.
git clone https://github.com/breavedev/nft_auction cd dappAution # Navigate to the new folder. yarn install # Installs all the dependencies.
-
Head to Pinata and set up an account.
-
Create
.env
file and enter the following details.WALLET_PRIVATE_KEY=<YOUR_WALLET_PRIVATE_KEY> REACT_APP_PINATA_URL = <PINATA_DOMAIN_ADDRESS> REACT_APP_PINATA_GATEWAY_TOKEN = <PINATA_GATEWAY_KEY> REACT_APP_JWT = <PINATA_JWT_TOKEN> REACT_APP_DEFAULT_NETWORK_ID = 123 REACT_APP_DEFAULT_NETWORK_NAME = 'Fuse Sparknet'
-
Add Fuse Sparknet to your wallet using Chainlist.
-
Get some faucet from ChainDrop.
-
Open a terminal and run
npx hardhat run ./scripts/deploy.js --network fuse_sparknet
to deploy the auction contract. -
Run
npm start
to spin up the app on the browser.