A simple experiment with MetaMask, Web3.js, and Solidity. This dApp allows you to interact with a Tamagotchi-like smart contract on the blockchain.
-
Install dependencies:
npm install
-
Configure environment:
cp .env.example .env # Edit .env with your contract address -
Start development server:
npm run dev
- Install the MetaMask browser extension
- Create or import a wallet
- Connect to the Sepolia test network
- Get some test ETH from Sepolia Faucet
- When prompted by the dApp, connect your MetaMask wallet
- Feed your Tamagotchi
- Play with your Tamagotchi
- Check your Tamagotchi's health status
This project uses:
- Vite for development and building
- TypeScript for type safety
- Web3.js for blockchain interactions
- Solidity for smart contract (deployed on Sepolia)
MIT