This project demonstrates a basic decentralized application (dApp) using Ethereum, Truffle, and Web3.js. The dApp allows users to store and retrieve a simple piece of data on the Ethereum blockchain.
Before you begin, ensure you have met the following requirements:
- Node.js and npm installed
- Ganache installed for running a local blockchain
- Truffle installed globally
Follow these steps to set up the project locally:
git clone https://github.com/your-username/first-dapp.git
cd first-dappnpm installnpm install -g truffleOpen Ganache and start a new workspace. Ensure it is listening on http://localhost:7545.