Combined Solidity source contract and Next JS frontend allowing interface with the box-registry Sepolia smart contract located here.
Deployed with Vercel here.
The box registry allows Sepolia/localhost users to create new boxes, deposit ETH, and withdraw ETH from those boxes.
Add the Metamask extension, connect to the Sepolia Ethereum network, and get Sepolia ETH from the Alchemy ETH Sepolia faucet. Then you can start interacting with the online hosted frontend.
Reinstall dependencies in contract-box-registry
with npm install
. Then run npx hardhat node && npx hardhat ignition deploy ignition/modules/BoxRegistry.js --network localhost
to start your localhost Ethereum instance and deploy the box registry to it.
Then using one of the private keys output in console to connect to the localhost network, and start interacting with the frontend on that network. Of course Etherscan links will not work from the localhost network.
Reinstall dependencies in frontend-box-registry
with npm install
, then run dapp locally with npm run dev
from frontend-box-registry/
.