{"repo":"Xuefeng-Zhu/payroll","free":true,"listed":false,"github":"https://github.com/Xuefeng-Zhu/payroll","clone":"git clone https://github.com/Xuefeng-Zhu/payroll.git","description":"A payroll system developed with React and Solidity for Ethereum","language":"JavaScript","stars":28,"topics":["react","ethereum","solidity","truffle"],"license":"Apache-2.0","category":"blockchain-web3","readme_excerpt":"Payroll DApp A lightweight Ethereum payroll system for small teams and contractors. Features - Add, update, and remove employees - Fund the payroll contract from an employer account - Let employees withdraw salary on payday - Show contract-level and account-level payroll metrics Project structure - contracts/ : Solidity contracts and payroll business rules - migrations/ : Truffle deployment scripts - src/ : React UI and web3 integration - test/ : Solidity and JavaScript tests Local development (recommended) Prerequisites - Node.js 18+ (or the latest active LTS) - npm 9+ - Ganache (GUI or CLI) - MetaMask 1) Install dependencies If your environment cannot access GitHub over SSH and npm install fails with ssh://git@github.com/... , force Git to use HTTPS: Then run npm install again. 2) Run a local chain Start Ganache and keep it running on http://localhost:8545 . 3) Deploy contracts 4) Start the app Best-practice notes - Use a dedicated wallet/account for local development. - Never import production private keys into a local test wallet. - Reset and re-migrate contracts after changing Solidity storage or constructor logic. - Keep UI values in ETH for display, but persist contract values in wei. Testing For smart contract flows, also run Truffle tests:","default_branch":null,"files":null,"tree":[],"storefront":"/r/Xuefeng-Zhu","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Xuefeng-Zhu/payroll/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}