PayFlow
PayFlow brings simplified crypto payment flows to OP Stack, with secure Safe wallets and gasless transactions
Screenshots






Problem Statement
Looking for a seamless way to manage multiple crypto payment flows?Whether you’re a creator who wants to get supported by your fans, you’re raising funds for public goods, managing different incomes, or simply saving for some personal cause - YOU are ALL covered.Your flow can receive payments on multiple L2 networks, you can attach an existing external wallet, or create a new one with Safe AA, and it’s gasless*.If you need to receive a particular payment, you can create a trackable flow payment request.Flows/requests can be shared simply as a link and QR code.Simplify your payment flows with PayFlow!
Solution
How it’s achieved?🪄Safe Account Abstraction SDKGelato Relayer: sponsored for wallet creation and syncfee for transfer operations (wallet pays for gas)Chainlink for price feedsProblems? 🤯Safe SDK is great, but finding examples for different use cases was not easy, safe-wallet-web SC: https://github.com/safe-global/safe-wallet-web helped a lotSigning safe with another safe is tricky, especially if you want to go gaslessSafe SDK officially supports Optimism/Base, but not Zora and Mode yet. However, since safe-contacts SC available in https://github.com/safe-global/safe-contracts, I was able to deploy them to Mode Testnet, and add it to Safe SDK manually (for Zora Testnet someone already deployed)What’s next for PayFlow? 🚀Use EIP-1271 (remove one on-chain transaction at flow wallet withdrawal step)Use SyncFee for flow wallet creation (pre-generate wallet address, receive payments, deploy wallet on first withdrawal transaction)Integrate Gnosis Chain (L2), so you can receive payments, and pay with Gnosis PayPrepare for AlphaTech Stack:DApp: vite, react, MUI, typescript, wagmi/viem, web3auth, safe-sdk, gelato-sdk, siwe, deployed to vercel.Back-end: spring boot with MySql deployed to GCP via cloud run.Smart-Contracts: mix of deployed contracts for ZkSync, and existing safe contracts within Safe SDK (+ deployed for Mode Tesnet, since wasn't available).The work has started from this commit: https://github.com/sidrisov/payflow/commit/fdae3d28cdc5314bc68f04ea756374641c661c4f
Hackathon
Superhack
2024
Prizes
- 🏆
🟡 Base — 🥈 Best Consumer Product
- 🏆
🏊 Mode — Prize Pool
- 🏆
🥈 Safe — Best Use
Contributors
- sidrisov
1596 contributions
- whatpullrequest
8 contributions