The on-chain Blog
-
Clone the project
git clone https://github.com/harshanas/the-scatter.git
-
Install Dependencies
npm install
-
Run the frontend
npm run dev
-
Run the backend
npx hardhat node
-
Deploy the contract
npx hardhat run scripts/deploy.js --network localhost
-
Add the first address in the hardhat server into your metamask.
-
Navigate to
http://localhost:3000
-
Smart Contract
npx hardhat test