Inspiration
Manual payroll wastes time and risks errors. We wanted to automate salary payments using Ethereum and MNEE stablecoin, keeping it non-custodial so employers never lose control of their funds.
What it does
MITU automates employee payments on Ethereum. Connect MetaMask, add employees, click "Run Payroll" — all salaries are paid instantly in MNEE tokens via batch transfers with AI duplicate prevention.
How we built it
- Frontend: Next.js 14 + RainbowKit + wagmi/viem
- Backend: Node.js + Express + PostgreSQL + Prisma
- Blockchain: Solidity smart contracts (SimpleBatchTransfer.sol)
- Network: Ethereum Sepolia testnet
- Token: MNEE ERC-20 stablecoin
Challenges we ran into
Duplicate payment prevention was complex — we built three-layer validation:
- Pre-approval check
- Pre-transaction validation
- Always-record policy for blockchain sync
Managing batch approvals and gas optimization required careful smart contract design. Database-blockchain consistency needed robust error handling with idempotency keys.
Accomplishments that we're proud of
✅ Non-custodial architecture keeps funds secure
✅ Batch transfers save gas cost
✅ Three-layer duplicate prevention stops errors before on-chain execution
✅ Production-ready with full audit logs and comprehensive error handling
What we learned
- Smart contract security is critical — validation at every layer
- Non-custodial UX requires careful transaction flow design
- Blockchain + database consistency needs multiple validation layers
- MNEE stablecoin enables programmable payments with predictable value
- Gas optimization matters: batch operations dramatically reduce costs
What's next for MITU - MNEE Payroll
🚀 Autonomous scheduling with smart contract budgets
🚀 Multi-signature approvals for enterprise security
🚀 Multi-chain support (Polygon, Arbitrum, Base) for lower fees
Built With
- ethereum
- mnee
- next.js
- postgresql
- rainbowkit
- solidity
- typescript
- wagmi
Log in or sign up for Devpost to join the conversation.