This project demonstrates how to create, deploy, and test a smart contract for real estate management using RemixIDE, interact with it via MetaMask, and integrate a web interface using web3.js for seamless blockchain interactions.
-
MetaMask Install the MetaMask browser extension and create an account.
-
Sepolia Test Network
- Switch your MetaMask network to Sepolia (test network).
- Add free test ETH to your wallet using Sepolia Faucet.
- Node.js Install Node.js if not already installed (for the HTTP server).
- Open RemixIDE
- Visit RemixIDE in your browser.
- Create and Compile the Smart Contract
-
Create a new
.solfile in RemixIDE. -
Copy the contract code from
RemixIDE Code Sol File.txtinto the file. -
Compile the contract using the Solidity Compiler tab.
- Deploy the Smart Contract
-
Go to the Deploy & Run Transactions tab in RemixIDE.
-
Select Injected Provider - MetaMask as the environment.
-
Deploy the smart contract and confirm the transaction in MetaMask.
- Retrieve Contract Details
- Note the contract address, your MetaMask account address, and ABI from the RemixIDE deployment logs..
- Install HTTP Server Install a simple HTTP server globally using the command below:
npm install -g http-server- Run the Server Install a simple HTTP server globally using the command below:
http-server- Connect to the Contract Use the retrieved contract address, account address, and ABI in the frontend code to interact with the smart contract.
- What is Sepolia? Sepolia is an Ethereum test network for testing smart contracts without using real ETH.
If you encounter any issues, feel free to contact: Montasser Benouirane





