Welcome to MobilePhone_Blockchain, a decentralized mobile phone tracking and verification system built using Next.js, Solidity, Web3.js, and Ethereum Smart Contracts. This project demonstrates the use of blockchain technology for securing mobile phone data, tracking ownership, and verifying the authenticity of mobile phones through smart contracts.
With the power of blockchain, users can store mobile phone details like IMEI, brand, model, and ownership history in a decentralized manner. The mobile phones are registered on the blockchain, allowing secure and transparent ownership records and preventing fraud.
-
Decentralized Mobile Phone Registration
- Register mobile phones with details like IMEI, brand, model, and owner information.
- Blockchain-based storage ensures that data is secure and tamper-proof.
-
Ownership Verification
- Verify the current owner of any registered mobile phone by querying the blockchain.
- Prevents fraud and ensures authenticity of mobile phones.
-
Smart Contracts
- Built with Solidity to manage the registration, transfer, and verification of mobile phone ownership.
- Ethereum-based smart contracts to handle transactions and ensure trustless ownership tracking.
-
Web3.js Integration
- Interact with the blockchain through Web3.js to read and write data to the Ethereum network.
- Web-based interface built with Next.js for seamless interaction with the smart contract.
-
Ownership Transfer
- Allows users to transfer mobile phone ownership to another address with secure transactions.
- Next.js: Web framework for building the frontend interface.
- Solidity: Smart contract programming language used to write the mobile phone registration and verification contracts.
- Web3.js: JavaScript library used to interact with the Ethereum blockchain and smart contracts.
- Ethereum Network: Blockchain platform for decentralized applications and smart contracts.
- ABI (Application Binary Interface): Interface for interacting with the compiled smart contract from JavaScript.
Before you begin, ensure you have the following installed:
- Node.js
- npm or yarn for package management
- Metamask extension (for Ethereum wallet integration)
- Solidity compiler (e.g., via Remix IDE)
- Ethereum Node (e.g., via Infura)
Follow these steps to set up the project on your local machine.
git clone https://github.com/zeeshanali90233/MobilePhone_Blockchain.git
cd MobilePhone_Blockchain
NEXT_PUBLIC_CONTRACT_ADDRESS=0x.....
npm install
npm run dev
- Consult Books: Refer to John Duckett's "HTML & CSS" and Svekis's "JavaScript: Beginner to Professional" books for foundational knowledge.
- Documentation & AI Help: Utilize AI tools like ChatGPT, Phind, Gemini, and online documentation resources for assistance. They are just a search away!
- YouTube Channel: Explore additional helping content videos on my Learn With Ali Engineer to reinforce your learning.
For any questions, feel free to reach out me at any social platform plus through email zeeshanali90233@gmail.com.