Skip to content

cocohearts/box-registry-dapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Box Registry DApp

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.

Minimal setup to use

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.

Localhost network setup

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.

Localhost frontend setup

Reinstall dependencies in frontend-box-registry with npm install, then run dapp locally with npm run dev from frontend-box-registry/.

About

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •