Skip to content

Latest commit

 

History

History
82 lines (55 loc) · 2.17 KB

README.md

File metadata and controls

82 lines (55 loc) · 2.17 KB

Book Store on Chain

An on chain book store that enables users to buy books and attach them with a Non Fungible Token. User can then sell the purchased books on the second hand books marketplace which will inturn transfer the NFT ownership to new User. For all the transactions that take place for a given book, the author recieves a fixed portion of all the sales made on the platform.

Check the deployed web application at:

https://the-rudras-build-web3-hack.vercel.app/

Link to the presentation: https://docs.google.com/presentation/d/19q5od-VCqVNxG_J40sxd9c0mR-tgZymbwttjBw1DtZw/edit?usp=sharing

Checkout the below video for full userflow of the application

Run Locally

Clone the project

  git clone https://github.com/varmaharsh/theRudrasBuildWeb3Hack

To run the next / frontend app Locally

cd app

Install dependencies

npm install

Create a .env.local file and add these variables, you can find the arcana app id on arcana dashboard

NEXT_PUBLIC_ARCANA_APP_ID="Your Arcana App Id"

Start the server

npm run dev

To check solidity smart contracts locally and deploy them

cd hardhat

Install dependencies

npm install

Create a .env file and add these variables

QUICKNODE_HTTP_URL="Your node url"
MUMBAI_PRIVATE_KEY="Your wallet private key"

Run scripts/deploy.js to deploy

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