drips-network / app

💧 Funding that flows — Drips Frontend
https://drips.network
GNU General Public License v3.0
31 stars 16 forks source link

Add support for gasless transactions to Transact Step #1182

Open efstajas opened 3 weeks ago

efstajas commented 3 weeks ago

We are thinking about sponsoring some transactions on FVM entirely since gas cost is so low. When sponsoring a non-anonymous transaction, we still need to prompt the user to sign a message in their wallet, but not execute a transaction.

For this, we should add a new mode to the new Transact Step that shows transaction's gas as "Paid for by Drips", and prompts the user to "Sign in wallet" instead of sending a transaction.

brandonhaslegs commented 3 weeks ago

Here's a little badge I worked on for this https://www.figma.com/design/vyI7f996JF8zwhnXwAwXdC/%F0%9F%92%A7-Drips?node-id=10962-24964&t=WT2WT5qP7eTjgEcw-4

image

Also thought of the badge saying "PAID BY DRIPS"

image
efstajas commented 6 days ago

@brandonhaslegs make version without real gas estimation, just gas icon, $0.00 and "Gas covered by DRIPS"

brandonhaslegs commented 5 days ago

image