Skip to content

Sugar Rush CandyShop based on blockchain technology, with smart contracts and IPFS storage in nft.storage. It offers a unique and reliable experience for candy enthusiasts.

License

Notifications You must be signed in to change notification settings

querylab/SugarRush-CandyShop-Blockchain

Repository files navigation

SugarRush-CandyShop-Blockchain 💈🍬🍦🍫

This project is based on an online CandyShop, similar to eBay, using blockchain technology, specifically the Polygon Mumbai testnet. Using tools such as Solidity, Hardhat, ReactJS and Ether.js, complex smart contracts, an interactive user interface and facilitated interaction with the Ethereum blockchain have been created. In addition, IPFS and nft.storage have been employed to securely store candy photos in a decentralized space, ensuring the authenticity and traceability of the products on the platform. This store offers a reliable and unique shopping experience for candy enthusiasts.

Setting Up


1. Clone the repository

2. Install dependencies

$ cd SugarRush-CandyShop-Blockchain
$ npm install --save-dev hardhat

3. Change variables in Files

# hardhat.config.js
$ ALCHEMY_API_KEY
$ privateKey
# src/config.json 
$ Contract address

4. Run tests

$ npx hardhat test

5. Deployment Solidity Contract Addresses

$ npx hardhat clean
$ npx hardhat compile
$ npx hardhat run scripts/deploy.js --network mumbai

#After deploying the Candyshop.sol replace this address in src/config.json file with the variable:

 address:"0x32754C68F509fFbAb3589D4e3F2c6ADbd5483dAE"

6. Localhost Deployment

npm install 

npm start

http://localhost:3000/

About

Sugar Rush CandyShop based on blockchain technology, with smart contracts and IPFS storage in nft.storage. It offers a unique and reliable experience for candy enthusiasts.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published