An on-chain guestbook where visitors sign a permanent, wallet-verified message. Every entry is stored directly on the blockchain — connect a wallet to sign, or just browse the ledger with no wallet needed.
- Frontend: Next.js, React, TypeScript, Tailwind CSS
- Blockchain: Solidity, Hardhat, ethers.js v6
- Wallet connection: MetaMask / injected wallet (via
window.ethereum)
- Chain: Ethereum
- Network: Sepolia Testnet
- Contract Address:
0x8A808Df403923426465705a799C81Fa972F5f148 - Block Explorer: View on Sepolia Etherscan
- Node.js v18 or later
- MetaMask (or another injected wallet extension) installed in your browser
- A wallet funded with Sepolia testnet ETH (get some from a Sepolia faucet) if you plan to post entries
git clone https://github.com/ayyxbt/Guestbook-dApp.git
cd Guestbook-dAppnpm installCreate a .env (or .env.local) file in the project root with:
NEXT_PUBLIC_RPC_URL=your-sepolia-rpc-url-here
Get a free RPC URL from Alchemy or Infura by creating a free account and setting up an app for the Sepolia network.
npm run devOpen http://localhost:3000 in your browser.
Make sure MetaMask is set to the Sepolia network, then click "Connect Wallet" to sign the guestbook.
If you want to modify or redeploy the contract:
cd contracts
npm install
npx hardhat compile
npx hardhat testTo deploy to Sepolia, configure your deployer wallet's private key and an RPC URL in contracts/hardhat.config.ts, then run your deployment script/Ignition module targeting the sepolia network.