How ellouzati-mohammed/blockchain_project works
This is an educational Ethereum dApp: a user selects a Solidity exercise, the React interface loads its ABI and deployment details, checks the target, then performs a read call or submits a transaction and displays results and events. Solidity exercises are deployed to a local EVM through Truffle; generated artifacts are consumed by the client. The README documents wallet/network status, payable calls, deployment validation and event inspection. App.js is the main runtime boundary; sampled source does not expose every internal handler, so some capability links rely on README evidence.
Main entry points: migrations Contract migrations · App.js dApp interface · index.js React entry · Rectangle.sol Rectangle
Components 19
React client
- React entry
client/src/index.js - dApp interface
client/src/App.js - Vitals reporter
client/src/reportWebVitals.js - Contract artifacts
client/src/contracts
Solidity exercises
- Addition
contracts/Exercice1.sol - Convertisseur
contracts/Exercice2.sol - GestionChaines
contracts/Exercice3.sol - Positif
contracts/Exercice4.sol - Parite
contracts/Exercice5.sol - Tableau
contracts/Exercice6.sol - Forme
contracts/Exercice7/Form.sol - Rectangle
contracts/Exercice7/Rectangle.sol - Payment
contracts/Exercice8.sol
Deployment
- Contract migrations
migrations
Ethereum network
- Local EVM
Other components
- User / browser
- Web3.js
- MetaMask
- Ganache RPC
Connections 22
- User / browser → React entry: opens
README.md - React entry → dApp interface: renders
client/src/index.js - React entry → Vitals reporter: invokes
client/src/index.js - dApp interface → Contract artifacts: loads ABIs
client/src/App.js - dApp interface → Web3.js: uses
README.md - dApp interface → MetaMask: connects optionally
README.md - dApp interface → Ganache RPC: falls back to
client/src/App.js - Web3.js → Local EVM: reads / submits
README.md - MetaMask → Local EVM: provides access
README.md - Ganache RPC → Local EVM: serves RPC
README.md - Addition → Contract migrations: deployed by
- Convertisseur → Contract migrations: deployed by
- GestionChaines → Contract migrations: deployed by
- Positif → Contract migrations: deployed by
- Parite → Contract migrations: deployed by
- Tableau → Contract migrations: deployed by
- Rectangle → Contract migrations: deployed by
- Payment → Contract migrations: deployed by
- Forme → Rectangle: inherited by
- Contract migrations → Local EVM: deploys to
README.md - Contract migrations → Contract artifacts: generates
README.md - dApp interface → Local EVM: checks and inspects
README.md