Inspiration
Payments fail not at execution, but at coordination. Even after work is completed, teams rely on manual approvals, follow-ups, and trust between multiple parties. This problem becomes more severe for freelancers, DAOs, and distributed teams. PayFlow was built to remove this friction by making payments automatic and condition-based.
What it does
PayFlow allows users to create visual, programmable payment workflows using smart contracts. Users can define milestones, approval requirements, revenue splits, and schedules without writing code. Once deployed, payments execute automatically on-chain using MNEE when predefined conditions are met.
How we built it
PayFlow is built using Solidity smart contracts on Ethereum with a Next.js frontend. A factory contract deploys isolated payment flow contracts, each managing deposits, milestones, approvals, and payouts. Multi-party approvals are enforced on-chain, and all payments are executed using MNEE. The frontend provides a simple interface for creating and managing flows through wallet-based interactions.
Challenges we ran into
Designing flexible payment logic while keeping contracts secure and deterministic was challenging. Handling multi-party approvals, preventing double execution, and maintaining a clear transaction history required careful contract architecture. Translating complex on-chain logic into a clear visual experience was also a key challenge.
Accomplishments that we're proud of
- Fully on-chain programmable payment workflows
- No-code visual flow creation
- Multi-party approvals enforced at the contract level
- Isolated smart contracts per payment flow
- Complete on-chain transaction history
- Native MNEE integration for all payments
What we learned
We learned that coordination problems compound quickly in payment systems. Clear, deterministic smart contract design is critical when multiple parties are involved. We also learned that strong UX is essential to make advanced on-chain functionality usable for non-technical users.
What's next for PayFlow
We plan to deploy on mainnet, add more workflow templates, support advanced approval configurations, and build analytics around payment flows to provide better visibility and insights.
Log in or sign up for Devpost to join the conversation.